/[svn]/qsampler/trunk/src/qsamplerOptionsForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerOptionsForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1466 by capela, Thu Nov 1 19:25:10 2007 UTC revision 1473 by capela, Mon Nov 5 19:07:26 2007 UTC
# Line 30  Line 30 
30    
31  namespace QSampler {  namespace QSampler {
32    
33  OptionsForm::OptionsForm(QWidget* parent) : QDialog(parent) {  OptionsForm::OptionsForm(QWidget* parent) : QDialog(parent)
34      ui.setupUi(this);  {
35            ui.setupUi(this);
36    
37            // No settings descriptor initially (the caller will set it).
38            m_pOptions = NULL;
39    
40            // Initialize dirty control state.
41            m_iDirtySetup = 0;
42            m_iDirtyCount = 0;
43    
44      // No settings descriptor initially (the caller will set it).          // Set dialog validators...
45      m_pOptions = NULL;          ui.ServerPortComboBox->setValidator(new QIntValidator(ui.ServerPortComboBox));
46    
47      // Initialize dirty control state.          // Try to restore old window positioning.
48      m_iDirtySetup = 0;          adjustSize();
     m_iDirtyCount = 0;  
   
     // Set dialog validators...  
     ui.ServerPortComboBox->setValidator(new QIntValidator(ui.ServerPortComboBox));  
   
     // Try to restore old window positioning.  
     adjustSize();  
49    
50          QObject::connect(ui.ServerHostComboBox,          QObject::connect(ui.ServerHostComboBox,
51                  SIGNAL(textChanged(const QString&)),                  SIGNAL(textChanged(const QString&)),
# Line 114  OptionsForm::OptionsForm(QWidget* parent Line 115  OptionsForm::OptionsForm(QWidget* parent
115                  SLOT(reject()));                  SLOT(reject()));
116  }  }
117    
118  OptionsForm::~OptionsForm() {  OptionsForm::~OptionsForm()
119    {
120  }  }
121    
122  // Populate (setup) dialog controls from settings descriptors.  // Populate (setup) dialog controls from settings descriptors.

Legend:
Removed from v.1466  
changed lines
  Added in v.1473

  ViewVC Help
Powered by ViewVC