Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mediumglobal.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef MediumGlobalWidget_H
00004 #define MediumGlobalWidget_H
00005 
00006 #include <qwidget.h>
00007 
00008 class Config;
00009 class QCheckBox;
00010 class QGroupBox;
00011 class QFrame;
00012 class QLineEdit;
00013 class QVBoxLayout;
00014 class QGridLayout;
00015 class QLabel;
00016 
00017 namespace MediumMountSetting {
00018   enum States { GLOBAL_ENABLED = 0, GLOBAL_DISABLED };
00019   enum Checks { ENABLE_CHECKS  = 0, DISABLE_CHECKS  };
00020 
00021   class MediumGlobalWidget : public QWidget {
00022     Q_OBJECT 
00023   public:
00024     MediumGlobalWidget(QWidget *parent = 0, const char *name =0 );
00025     ~MediumGlobalWidget();
00026 
00027     void writeConfig();
00028   signals:
00029     // the global status changed
00030     void globalStateChanged( int );
00031     void enableStateChanged( int );
00032   private slots:
00033     void slotGlobalChanged();
00034     void slotEnableChecking();
00035     void slotAllChanged();
00036 
00037   private:
00038     void initGUI();
00039     void readConfig();
00040     Config *m_config;
00041     QCheckBox *m_check;
00042     QCheckBox *m_useglobal;
00043 
00044     QGroupBox *m_global;
00045 
00046     QCheckBox *m_all;
00047     QCheckBox *m_audio;
00048     QCheckBox *m_video;
00049     QCheckBox *m_text;
00050     QCheckBox *m_image;
00051 
00052     QFrame *m_frame;
00053     QGridLayout *m_frameLay;
00054     QVBoxLayout *m_layout;
00055     QVBoxLayout *m_box;
00056     QLabel *m_label;
00057   };
00058 };
00059 
00060 #endif

Generated on Sat Nov 5 16:17:48 2005 for OPIE by  doxygen 1.4.2