/[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 2074 by capela, Mon Mar 29 17:00:30 2010 UTC revision 2107 by capela, Sat Jul 10 09:47:33 2010 UTC
# Line 133  OptionsForm::OptionsForm ( QWidget* pPar Line 133  OptionsForm::OptionsForm ( QWidget* pPar
133          QObject::connect(m_ui.MaxStreamsSpinBox,          QObject::connect(m_ui.MaxStreamsSpinBox,
134                  SIGNAL(valueChanged(int)),                  SIGNAL(valueChanged(int)),
135                  SLOT(maxStreamsChanged(int)));                  SLOT(maxStreamsChanged(int)));
136          QObject::connect(m_ui.OkPushButton,          QObject::connect(m_ui.DialogButtonBox,
137                  SIGNAL(clicked()),                  SIGNAL(accepted()),
138                  SLOT(accept()));                  SLOT(accept()));
139          QObject::connect(m_ui.CancelPushButton,          QObject::connect(m_ui.DialogButtonBox,
140                  SIGNAL(clicked()),                  SIGNAL(rejected()),
141                  SLOT(reject()));                  SLOT(reject()));
142  }  }
143    
# Line 397  void OptionsForm::stabilizeForm (void) Line 397  void OptionsForm::stabilizeForm (void)
397          m_ui.MessagesLimitLinesSpinBox->setEnabled(          m_ui.MessagesLimitLinesSpinBox->setEnabled(
398                  m_ui.MessagesLimitCheckBox->isChecked());                  m_ui.MessagesLimitCheckBox->isChecked());
399    
400          m_ui.OkPushButton->setEnabled(bValid);          m_ui.DialogButtonBox->button(QDialogButtonBox::Ok)->setEnabled(bValid);
401  }  }
402    
403    

Legend:
Removed from v.2074  
changed lines
  Added in v.2107

  ViewVC Help
Powered by ViewVC