Thumbnail me  3.0
D:/Thumbnail/Thumbnailme/GeneralSettingsTab.h
Go to the documentation of this file.
00001 /***************************************************************************/
00022 #ifndef HEADER_GENERALSETTINGSTAB
00023 #define HEADER_GENERALSETTINGSTAB
00024 
00025 #include <QtGui>
00026 #include "IniManager.h"
00027 #include "qtcolorpicker.h"
00028 
00029 class GeneralSettingsTab : public QWidget
00030 {
00031     Q_OBJECT
00032 
00033     public:
00034     explicit GeneralSettingsTab();
00035     virtual ~GeneralSettingsTab();
00036     void     initializeWidget();
00037 
00038     private:
00039     QSettings     *settings;
00040 
00041     QGroupBox     *generalGroupBox;
00042     QCheckBox     *activeOpenGlGraphicViewCheckBox;
00043     QCheckBox     *animatedPixmapCheckBox;
00044     QLabel        *backgroundColorPreviewGraphicViewLabel;
00045     QtColorPicker *backgroundColorPicker;
00046     QCheckBox     *neverAskSaveConfigOnExit;
00047     QCheckBox     *neverLoadLastConfiguration;
00048     QCheckBox     *outputSuffixCheckBox;
00049     QLineEdit     *outputSuffixLineEdit;
00050 
00051     private:
00052     void retranslate();
00053 
00054     protected:
00055     void changeEvent(QEvent* event);
00056     
00057     public:
00058     QColor  getColorBackgroundPreviewGraphicView();
00059     QString getOutputSuffixLineEdit();
00060 
00061     bool    isActiveOpenGlGraphicViewCheckBoxChecked();
00062     bool    isAnimatedPixmapChecked();
00063     bool    isNeverAskSaveConfigOnExitChecked();
00064     bool    isNeverLoadLastConfigurationChecked();
00065     bool    isOutputSuffixCheckBoxChecked();
00066 
00067     void    setActiveOpenGlGraphicViewCheckBoxChecked(bool value);
00068 
00069     private slots:
00070     virtual void reject();
00071 };
00072 
00073 #endif // HEADER_GENERALSETTINGSTAB
 All Classes Files Functions Enumerations