#include <gui.h>
Public Member Functions | |
SettingsDialog (ImageViewer *parent, IRoot *settingsHolder) | |
Initializes all the widgets in the dialog. | |
IRoot * | getSettings () |
Returns the edited settings. | |
Private Slots | |
void | currentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
Changes the contents of the settings group-box when selecting in the settings tree. | |
void | settingChanges (int which) |
Adjusts the settings when changed in the settings group-box. | |
void | loadSaveClick (QAbstractButton *button) |
Handles loading and saving of the settings. | |
Private Member Functions | |
ImageViewer & | parentViewer () |
Returns a reference to the parent instance of ImageViewer. | |
void | initialize () |
Initializes the settings tree and group-box contents from settings. | |
Private Attributes | |
QGroupBox * | setBox |
the settings group-box | |
QTreeWidget * | treeWidget |
the settings tree | |
QDialogButtonBox * | loadSaveButtons |
the button-box for loading and saving | |
IRoot * | settings |
the settings we edit |
Definition at line 119 of file gui.h.