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
21 class Q3GridLayout;
22 class QLabel;
23 class QCheckBox;
24 class Q3VGroupBox;
25 class QLineEdit;
26 class QPushButton;
27 class Q3Frame;
28 class QComboBox;
29 class QSlider;
30 class Configuration;
31 
32 //=====================================
35 //=====================================
36 
37 //======================
39 {
40 Q_OBJECT
41 //----------------------
42 public:
43  LoadingSavingWidget( Configuration* config, QWidget *parent=0, const char* name=0);
44  static void setDefaults(Configuration* config);
45  void loadSettings();
46  void saveSettings();
47 //----------------------
48 private slots:
49  void browse();
50 //----------------------
51 private:
54 
55  Q3GridLayout* mainGrid;
56  //-------
57  //Main Category and separation line
60  //-------
61  //Default new album theme
63  Q3GridLayout* defaultToThisThemeGrid;
65  QComboBox* defaultToThisTheme;
66  //----------------------
69  Q3GridLayout* tempImageDirectoryGrid;
72  QPushButton* browseButton;
73  //----------------------
75  QCheckBox* checkPhotoMods;
76  //----------------------
77 
78 };
79 //======================
80 
81 #endif //CONFIGURATION_LOADINGSAVINGWIDGET_H
Q3Frame * tempImageDirectoryFrame
Temporary Image directory.
Q3GridLayout * defaultToThisThemeGrid
QPushButton * browseButton
Configuration * config
Backend config object pointer.
Q3GridLayout * tempImageDirectoryGrid
static void setDefaults(Configuration *config)
QCheckBox * checkPhotoMods
Check for photo modifications on load.
QLineEdit * tempImageDirectoryVal
Configuration object manages all user-specific application settings.
Definition: configuration.h:24
Loading/Saving Settings.
LoadingSavingWidget(Configuration *config, QWidget *parent=0, const char *name=0)
QComboBox * defaultToThisTheme