#include <Libs/Widgets/ctkSettingsDialog.h>
|
virtual bool | event (QEvent *) |
|
|
QScopedPointer< ctkSettingsDialogPrivate > | d_ptr |
|
Definition at line 37 of file ctkSettingsDialog.h.
ctkSettingsDialog::ctkSettingsDialog |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
virtual ctkSettingsDialog::~ctkSettingsDialog |
( |
| ) |
|
|
virtual |
virtual void ctkSettingsDialog::accept |
( |
| ) |
|
|
virtualslot |
Add settings panel to the dialog.
This adds the specified settings panel to the dialog. The panel's QWidget::windowTitle property is used as the panel name as shown in the panels list.
This convenience overload allows the caller to specify the panel name that will be used in the panels list.
This convenience overload allows the caller to specify the panel name that will be used in the panels list, as well as an icon for the panel.
void ctkSettingsDialog::adjustTreeWidgetToContents |
( |
| ) |
|
|
slot |
Resize the left panel based on the panels titles.
void ctkSettingsDialog::applySettings |
( |
| ) |
|
|
slot |
virtual bool ctkSettingsDialog::event |
( |
QEvent * |
| ) |
|
|
protectedvirtual |
bool ctkSettingsDialog::isRestartRequired |
( |
| ) |
const |
void ctkSettingsDialog::onCurrentItemChanged |
( |
QTreeWidgetItem * |
currentItem, |
|
|
QTreeWidgetItem * |
previous |
|
) |
| |
|
protectedslot |
void ctkSettingsDialog::onDialogButtonClicked |
( |
QAbstractButton * |
button | ) |
|
|
protectedslot |
void ctkSettingsDialog::onSettingChanged |
( |
const QString & |
key, |
|
|
const QVariant & |
newVal |
|
) |
| |
|
protectedslot |
virtual void ctkSettingsDialog::reject |
( |
| ) |
|
|
virtualslot |
void ctkSettingsDialog::reloadSettings |
( |
| ) |
|
|
slot |
Reload settings for all registered panels.
This reloads the settings for all panels, effectively throwing out any values in the UI or the panels' caches and reverting to the values in the associated QSettings. You should call this if you have made changes to the QSettings that were not made through ctkSettingsPanel.
bool ctkSettingsDialog::resetButton |
( |
| ) |
const |
void ctkSettingsDialog::resetSettings |
( |
| ) |
|
|
slot |
void ctkSettingsDialog::restartRequested |
( |
| ) |
|
|
signal |
Signal fired when the user accepts to restart the application because some OptionRestartRequired settings have changed.
- See also
- isrestartRequired
void ctkSettingsDialog::restoreDefaultSettings |
( |
| ) |
|
|
slot |
void ctkSettingsDialog::setCurrentPanel |
( |
const QString & |
label | ) |
|
|
slot |
void ctkSettingsDialog::setResetButton |
( |
bool |
show | ) |
|
void ctkSettingsDialog::setSettings |
( |
QSettings * |
settings | ) |
|
void ctkSettingsDialog::settingChanged |
( |
const QString & |
key, |
|
|
const QVariant & |
value |
|
) |
| |
|
signal |
QSettings* ctkSettingsDialog::settings |
( |
| ) |
const |
QScopedPointer<ctkSettingsDialogPrivate> ctkSettingsDialog::d_ptr |
|
protected |
bool ctkSettingsDialog::resetButton |
|
readwrite |
This property controls whether the reset button is visible in the button box or not. The Cancel button is a reset button and closes the dialog at the same time.
Definition at line 43 of file ctkSettingsDialog.h.
bool ctkSettingsDialog::restartRequired |
|
read |
Specifies if a restart required to fully apply changes.
This property is true
if at least one OptionRestartRequired setting is changed. It doesn't imply that the user accepted to restart the application.
Definition at line 47 of file ctkSettingsDialog.h.
QSettings ctkSettingsDialog::settings |
|
readwrite |
The documentation for this class was generated from the following file: