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

themedialog.h

Go to the documentation of this file.
00001 #ifndef THEMEDIALOG_H
00002 #define THEMEDIALOG_H
00003 
00004 #include <qcombobox.h>
00005 #include <qdialog.h>
00006 #include <qlineedit.h>
00007 
00008 struct ImageNames
00009 {
00010     QString theme;
00011     QString board;
00012     QString pieces1;
00013     QString pieces2;
00014     QString dice1;
00015     QString dice2;
00016     QString odds;
00017     QString table;
00018 };
00019 
00020 class ThemeDialog : public QDialog
00021 {
00022     Q_OBJECT
00023 private:
00024     QLineEdit* lineName;
00025     QComboBox* boxboard;
00026     QComboBox* boxpiecesA;
00027     QComboBox* boxpiecesB;
00028     QComboBox* boxdiceA;
00029     QComboBox* boxdiceB;
00030     QComboBox* boxodds;
00031     QComboBox* boxtable;
00032 public:
00033     ThemeDialog(QWidget* parent=0,const char* name=0,bool modal=TRUE,WFlags f=0);
00034     ~ThemeDialog();
00035 public:
00036     ImageNames getNames();
00037     void setCurrent(const ImageNames& current);
00038 private:
00039     void fillBox(QString dirname,QComboBox* thebox);
00040 };
00041 
00042 #endif //THEMEDIALOG_H

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