Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

loadingSavingWidget.h

Go to the documentation of this file.
00001 //==============================================
00002 //  copyright            : (C) 2003-2005 by Will Stokes
00003 //==============================================
00004 //  This program is free software; you can redistribute it
00005 //  and/or modify it under the terms of the GNU General
00006 //  Public License as published by the Free Software
00007 //  Foundation; either version 2 of the License, or
00008 //  (at your option) any later version.
00009 //==============================================
00010 
00011 #ifndef CONFIGURATION_LOADINGSAVINGWIDGET_H
00012 #define CONFIGURATION_LOADINGSAVINGWIDGET_H
00013 
00014 #include <qdialog.h>
00015 
00016 //forward declarations
00017 class QGridLayout;
00018 class QLabel;
00019 class QCheckBox;
00020 class QVGroupBox;
00021 class QLineEdit;
00022 class QPushButton;
00023 class QFrame;
00024 class QComboBox;
00025 class QSlider;
00026 class Configuration;
00027 
00028 //=====================================
00031 //=====================================
00032 
00033 //======================
00034 class LoadingSavingWidget : public QWidget
00035 {
00036 Q_OBJECT
00037 //----------------------
00038 public:
00039   LoadingSavingWidget( Configuration* config, QWidget *parent=0, const char* name=0);
00040   static void setDefaults(Configuration* config);
00041   void loadSettings();
00042   void saveSettings();
00043 //----------------------
00044 private slots:
00045   void browse();
00046 //----------------------
00047 private:
00049   Configuration* config;
00050 
00051   QGridLayout* mainGrid;
00052   //-------
00053   //Main Category and separation line
00054   QLabel* categoryLabel;
00055   QFrame* horizontalLine;
00056   //-------
00057   //Default new album theme
00058   QFrame* defaultToThisThemeFrame;
00059   QGridLayout* defaultToThisThemeGrid;
00060   QLabel* defaultToThisThemeOnNew;
00061   QComboBox* defaultToThisTheme;
00062   //----------------------
00064   QFrame* tempImageDirectoryFrame;
00065   QGridLayout* tempImageDirectoryGrid;
00066   QLabel* tempImageDirectory;
00067   QLineEdit* tempImageDirectoryVal;
00068   QPushButton* browseButton;
00069   //----------------------
00071   QCheckBox* checkPhotoMods;
00072   //----------------------
00073 
00074 };
00075 //======================
00076 
00077 #endif //CONFIGURATION_LOADINGSAVINGWIDGET_H

Generated on Wed May 4 11:10:13 2005 for AlbumShaper by  doxygen 1.3.9.1