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

mediumwidget.h

Go to the documentation of this file.
00001 
00002 #ifndef MediumMountWidget_H
00003 #define MediumMountWidget_H
00004 
00005 //#include <qpixmap.h>
00006 #include <qwidget.h>
00007 
00008 
00009 class QLabel;
00010 class QPixmap;
00011 class Config;
00012 class QGridLayout;
00013 class QCheckBox;
00014 class QPushButton;
00015 class QVBoxLayout;
00016 class QHBoxLayout;
00017 class QGroupBox;
00018 class QVBox;
00019 class QHBox;
00020 class QLineEdit;
00021 class QComboBox;
00022 
00023 namespace MediumMountSetting {
00024 
00025   class MediumMountWidget : public QWidget {
00026     Q_OBJECT
00027   public:
00028     MediumMountWidget(const QString&, const QPixmap &, QWidget *parent, const char *name = 0 );
00029     ~MediumMountWidget();
00030     
00031 
00032     void writeConfig();
00033     
00034   private slots:
00035     void slotAdd();
00036     void slotRemove();
00037     void slotStateChanged();
00038     void slotScanAllChanged(int);
00039 
00040   private:
00041     void readConfig();
00042     void initGUI();
00043   
00044     bool m_dirty : 1;
00045 
00046     class MediumMountWidgetPrivate;
00047     MediumMountWidgetPrivate *d;
00048 
00049     QString m_path;
00050 
00051     Config *m_config;
00052 
00053     QHBox *m_infoBox;
00054     QLabel *m_label;
00055     QLabel *m_desc;
00056 
00057     QPushButton *m_add;
00058     QComboBox *m_subList;
00059     QPushButton *m_del;
00060 
00061     QVBoxLayout *m_box;
00062     QGridLayout *m_checks;
00063 
00064     QGroupBox *m_group;
00065     QCheckBox *m_all;
00066     QCheckBox *m_audio;
00067     QCheckBox *m_image;
00068     QCheckBox *m_text;
00069     QCheckBox *m_video;
00070 
00071     QCheckBox *m_scan_all_check;
00072     QCheckBox *m_always;
00073     //QCheckBox *m_yesNo;
00074 
00075     QHBox *m_hboxAdd;
00076 
00077     QLabel *m_lblPath;
00079 
00080    
00081 
00082   };
00083 };
00084 #endif

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