00001 #ifndef __CONFIGDIALOG__H 00002 #define __CONFIGDIALOG__H 00003 00004 #include "configfile.h" 00005 00006 #include <qdialog.h> 00007 #include <qgroupbox.h> 00008 #include <qlayout.h> 00009 #include <qpushbutton.h> 00010 #include <qlabel.h> 00011 #include <qlineedit.h> 00012 00013 class ConfigDialog : public QDialog 00014 { 00015 Q_OBJECT 00016 public: 00017 ConfigDialog(); 00018 ~ConfigDialog(); 00019 00020 virtual void show(void); 00021 00022 private slots: 00023 void slotOk(void); 00024 00025 private: 00026 QVBoxLayout layout; 00027 00028 QGroupBox serverBox; 00029 QVBoxLayout serverBoxLayout; 00030 QLabel serverAddressLabel; 00031 QLineEdit serverAddressLineEdit; 00032 QHBoxLayout serverAddressLayout; 00033 QLabel serverPortLabel; 00034 QLineEdit serverPortLineEdit; 00035 QHBoxLayout serverPortLayout; 00036 00037 QGroupBox skinBox; 00038 QVBoxLayout skinBoxLayout; 00039 QLabel skinDirLabel; 00040 QLineEdit skinDirLineEdit; 00041 QHBoxLayout skinDirLayout; 00042 00043 QHBoxLayout buttonLayout; 00044 QPushButton okButton; 00045 QPushButton cancelButton; 00046 }; 00047 00048 00049 #endif