2 |
// |
// |
3 |
// ui.h extension file, included from the uic-generated form implementation. |
// ui.h extension file, included from the uic-generated form implementation. |
4 |
/**************************************************************************** |
/**************************************************************************** |
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
109 |
ConfirmRemoveCheckBox->setChecked(m_pOptions->bConfirmRemove); |
ConfirmRemoveCheckBox->setChecked(m_pOptions->bConfirmRemove); |
110 |
StdoutCaptureCheckBox->setChecked(m_pOptions->bStdoutCapture); |
StdoutCaptureCheckBox->setChecked(m_pOptions->bStdoutCapture); |
111 |
CompletePathCheckBox->setChecked(m_pOptions->bCompletePath); |
CompletePathCheckBox->setChecked(m_pOptions->bCompletePath); |
112 |
|
InstrumentNamesCheckBox->setChecked(m_pOptions->bInstrumentNames); |
113 |
MaxRecentFilesSpinBox->setValue(m_pOptions->iMaxRecentFiles); |
MaxRecentFilesSpinBox->setValue(m_pOptions->iMaxRecentFiles); |
114 |
|
|
115 |
|
#ifndef CONFIG_LIBGIG |
116 |
|
InstrumentNamesCheckBox->setEnabled(false); |
117 |
|
#endif |
118 |
|
|
119 |
// Done. |
// Done. |
120 |
m_iDirtySetup--; |
m_iDirtySetup--; |
121 |
stabilizeForm(); |
stabilizeForm(); |
148 |
m_pOptions->bConfirmRemove = ConfirmRemoveCheckBox->isChecked(); |
m_pOptions->bConfirmRemove = ConfirmRemoveCheckBox->isChecked(); |
149 |
m_pOptions->bStdoutCapture = StdoutCaptureCheckBox->isChecked(); |
m_pOptions->bStdoutCapture = StdoutCaptureCheckBox->isChecked(); |
150 |
m_pOptions->bCompletePath = CompletePathCheckBox->isChecked(); |
m_pOptions->bCompletePath = CompletePathCheckBox->isChecked(); |
151 |
|
m_pOptions->bInstrumentNames = InstrumentNamesCheckBox->isChecked(); |
152 |
m_pOptions->iMaxRecentFiles = MaxRecentFilesSpinBox->value(); |
m_pOptions->iMaxRecentFiles = MaxRecentFilesSpinBox->value(); |
153 |
// Reset dirty flag. |
// Reset dirty flag. |
154 |
m_iDirtyCount = 0; |
m_iDirtyCount = 0; |