/[svn]/qsampler/trunk/src/qsamplerOptionsForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerOptionsForm.ui.h

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

revision 453 by capela, Tue Jan 18 11:29:01 2005 UTC revision 454 by capela, Mon Mar 14 10:59:57 2005 UTC
# Line 107  void qsamplerOptionsForm::setup ( qsampl Line 107  void qsamplerOptionsForm::setup ( qsampl
107    
108      // Other options finally.      // Other options finally.
109      ConfirmRemoveCheckBox->setChecked(m_pOptions->bConfirmRemove);      ConfirmRemoveCheckBox->setChecked(m_pOptions->bConfirmRemove);
110        KeepOnTopCheckBox->setChecked(m_pOptions->bKeepOnTop);
111      StdoutCaptureCheckBox->setChecked(m_pOptions->bStdoutCapture);      StdoutCaptureCheckBox->setChecked(m_pOptions->bStdoutCapture);
112      CompletePathCheckBox->setChecked(m_pOptions->bCompletePath);      CompletePathCheckBox->setChecked(m_pOptions->bCompletePath);
113      InstrumentNamesCheckBox->setChecked(m_pOptions->bInstrumentNames);      InstrumentNamesCheckBox->setChecked(m_pOptions->bInstrumentNames);
# Line 128  void qsamplerOptionsForm::accept (void) Line 129  void qsamplerOptionsForm::accept (void)
129      // Save options...      // Save options...
130      if (m_iDirtyCount > 0) {      if (m_iDirtyCount > 0) {
131          // Server settings....          // Server settings....
132          m_pOptions->sServerHost          = ServerHostComboBox->currentText().stripWhiteSpace();          m_pOptions->sServerHost         = ServerHostComboBox->currentText().stripWhiteSpace();
133          m_pOptions->iServerPort          = ServerPortComboBox->currentText().toInt();          m_pOptions->iServerPort         = ServerPortComboBox->currentText().toInt();
134          m_pOptions->iServerTimeout       = ServerTimeoutSpinBox->value();          m_pOptions->iServerTimeout      = ServerTimeoutSpinBox->value();
135          m_pOptions->bServerStart         = ServerStartCheckBox->isChecked();          m_pOptions->bServerStart        = ServerStartCheckBox->isChecked();
136          m_pOptions->sServerCmdLine       = ServerCmdLineComboBox->currentText().simplifyWhiteSpace();          m_pOptions->sServerCmdLine      = ServerCmdLineComboBox->currentText().simplifyWhiteSpace();
137          m_pOptions->iStartDelay          = StartDelaySpinBox->value();          m_pOptions->iStartDelay         = StartDelaySpinBox->value();
138          // Channels options...          // Channels options...
139          m_pOptions->sDisplayFont         = DisplayFontTextLabel->font().toString();          m_pOptions->sDisplayFont        = DisplayFontTextLabel->font().toString();
140          m_pOptions->bDisplayEffect       = DisplayEffectCheckBox->isChecked();          m_pOptions->bDisplayEffect      = DisplayEffectCheckBox->isChecked();
141          m_pOptions->bAutoRefresh         = AutoRefreshCheckBox->isChecked();          m_pOptions->bAutoRefresh        = AutoRefreshCheckBox->isChecked();
142          m_pOptions->iAutoRefreshTime     = AutoRefreshTimeSpinBox->value();          m_pOptions->iAutoRefreshTime    = AutoRefreshTimeSpinBox->value();
143          m_pOptions->iMaxVolume           = MaxVolumeSpinBox->value();          m_pOptions->iMaxVolume          = MaxVolumeSpinBox->value();
144          // Messages options...          // Messages options...
145          m_pOptions->sMessagesFont        = MessagesFontTextLabel->font().toString();          m_pOptions->sMessagesFont       = MessagesFontTextLabel->font().toString();
146          m_pOptions->bMessagesLimit       = MessagesLimitCheckBox->isChecked();          m_pOptions->bMessagesLimit      = MessagesLimitCheckBox->isChecked();
147          m_pOptions->iMessagesLimitLines  = MessagesLimitLinesSpinBox->value();          m_pOptions->iMessagesLimitLines = MessagesLimitLinesSpinBox->value();
148          // Other options...          // Other options...
149          m_pOptions->bConfirmRemove       = ConfirmRemoveCheckBox->isChecked();          m_pOptions->bConfirmRemove      = ConfirmRemoveCheckBox->isChecked();
150          m_pOptions->bStdoutCapture       = StdoutCaptureCheckBox->isChecked();          m_pOptions->bKeepOnTop          = KeepOnTopCheckBox->isChecked();
151          m_pOptions->bCompletePath        = CompletePathCheckBox->isChecked();          m_pOptions->bStdoutCapture      = StdoutCaptureCheckBox->isChecked();
152          m_pOptions->bInstrumentNames     = InstrumentNamesCheckBox->isChecked();          m_pOptions->bCompletePath       = CompletePathCheckBox->isChecked();
153          m_pOptions->iMaxRecentFiles      = MaxRecentFilesSpinBox->value();          m_pOptions->bInstrumentNames    = InstrumentNamesCheckBox->isChecked();
154            m_pOptions->iMaxRecentFiles     = MaxRecentFilesSpinBox->value();
155          // Reset dirty flag.          // Reset dirty flag.
156          m_iDirtyCount = 0;          m_iDirtyCount = 0;
157      }      }

Legend:
Removed from v.453  
changed lines
  Added in v.454

  ViewVC Help
Powered by ViewVC