AlbumShaper
1.0a3
|
Loading/Saving Settings. More...
#include <loadingSavingWidget.h>
Public Member Functions | |
LoadingSavingWidget (Configuration *config, QWidget *parent=0, const char *name=0) | |
void | loadSettings () |
void | saveSettings () |
Static Public Member Functions | |
static void | setDefaults (Configuration *config) |
Private Slots | |
void | browse () |
Private Attributes | |
Configuration * | config |
Backend config object pointer. More... | |
Q3GridLayout * | mainGrid |
QLabel * | categoryLabel |
Q3Frame * | horizontalLine |
Q3Frame * | defaultToThisThemeFrame |
Q3GridLayout * | defaultToThisThemeGrid |
QLabel * | defaultToThisThemeOnNew |
QComboBox * | defaultToThisTheme |
Q3Frame * | tempImageDirectoryFrame |
Temporary Image directory. More... | |
Q3GridLayout * | tempImageDirectoryGrid |
QLabel * | tempImageDirectory |
QLineEdit * | tempImageDirectoryVal |
QPushButton * | browseButton |
QCheckBox * | checkPhotoMods |
Check for photo modifications on load. More... | |
Loading/Saving Settings.
Definition at line 38 of file loadingSavingWidget.h.
LoadingSavingWidget::LoadingSavingWidget | ( | Configuration * | config, |
QWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Definition at line 42 of file loadingSavingWidget.cpp.
References browse(), browseButton, categoryLabel, checkPhotoMods, config, defaultToThisTheme, defaultToThisThemeFrame, defaultToThisThemeGrid, defaultToThisThemeOnNew, horizontalLine, IMAGE_PATH, mainGrid, tempImageDirectory, tempImageDirectoryFrame, tempImageDirectoryGrid, tempImageDirectoryVal, THEMES_PATH, and WIDGET_SPACING.
|
privateslot |
Definition at line 115 of file loadingSavingWidget.cpp.
References tempImageDirectoryVal.
Referenced by LoadingSavingWidget().
void LoadingSavingWidget::loadSettings | ( | ) |
Definition at line 162 of file loadingSavingWidget.cpp.
References checkPhotoMods, config, defaultToThisTheme, Configuration::getBool(), Configuration::getString(), and tempImageDirectoryVal.
Referenced by ConfigurationWidget::ConfigurationWidget().
void LoadingSavingWidget::saveSettings | ( | ) |
Definition at line 185 of file loadingSavingWidget.cpp.
References checkPhotoMods, config, defaultToThisTheme, Configuration::setBool(), Configuration::setString(), and tempImageDirectoryVal.
Referenced by ConfigurationWidget::saveSettings().
|
static |
Definition at line 123 of file loadingSavingWidget.cpp.
References Configuration::getString(), Configuration::setBool(), Configuration::setInt(), Configuration::setString(), and TEMP_DIR.
Referenced by Window::Window().
|
private |
Definition at line 72 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 58 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Check for photo modifications on load.
Definition at line 75 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget(), loadSettings(), and saveSettings().
|
private |
Backend config object pointer.
Definition at line 53 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget(), loadSettings(), and saveSettings().
|
private |
Definition at line 65 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget(), loadSettings(), and saveSettings().
|
private |
Definition at line 62 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 63 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 64 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 59 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 55 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 70 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Temporary Image directory.
Definition at line 68 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 69 of file loadingSavingWidget.h.
Referenced by LoadingSavingWidget().
|
private |
Definition at line 71 of file loadingSavingWidget.h.
Referenced by browse(), LoadingSavingWidget(), loadSettings(), and saveSettings().