AlbumShaper 1.0a3
loadingSavingWidget.h
Go to the documentation of this file.
1//==============================================
2// copyright : (C) 2003-2005 by Will Stokes
3//==============================================
4// This program is free software; you can redistribute it
5// and/or modify it under the terms of the GNU General
6// Public License as published by the Free Software
7// Foundation; either version 2 of the License, or
8// (at your option) any later version.
9//==============================================
10
11#ifndef CONFIGURATION_LOADINGSAVINGWIDGET_H
12#define CONFIGURATION_LOADINGSAVINGWIDGET_H
13
14#include <qdialog.h>
15//Added by qt3to4:
16#include <Q3Frame>
17#include <Q3GridLayout>
18#include <QLabel>
19
20//forward declarations
21class Q3GridLayout;
22class QLabel;
23class QCheckBox;
24class Q3VGroupBox;
25class QLineEdit;
26class QPushButton;
27class Q3Frame;
28class QComboBox;
29class QSlider;
30class Configuration;
31
32//=====================================
35//=====================================
36
37//======================
39{
40Q_OBJECT
41//----------------------
42public:
43 LoadingSavingWidget( Configuration* config, QWidget *parent=0, const char* name=0);
44 static void setDefaults(Configuration* config);
45 void loadSettings();
46 void saveSettings();
47//----------------------
48private slots:
49 void browse();
50//----------------------
51private:
54
55 Q3GridLayout* mainGrid;
56 //-------
57 //Main Category and separation line
60 //-------
61 //Default new album theme
66 //----------------------
72 QPushButton* browseButton;
73 //----------------------
75 QCheckBox* checkPhotoMods;
76 //----------------------
77
78};
79//======================
80
81#endif //CONFIGURATION_LOADINGSAVINGWIDGET_H
Configuration object manages all user-specific application settings.
Loading/Saving Settings.
QCheckBox * checkPhotoMods
Check for photo modifications on load.
Q3Frame * tempImageDirectoryFrame
Temporary Image directory.
Q3GridLayout * tempImageDirectoryGrid
Q3GridLayout * defaultToThisThemeGrid
QLineEdit * tempImageDirectoryVal
LoadingSavingWidget(Configuration *config, QWidget *parent=0, const char *name=0)
static void setDefaults(Configuration *config)
Configuration * config
Backend config object pointer.