00001
00002
00003
00004
00005
00006
00007 #ifndef BALL_VIEW_DIALOGS_PTEDIALOG_H
00008 #define BALL_VIEW_DIALOGS_PTEDIALOG_H
00009
00010 #ifndef BALL_COMMON_GLOBAL_H
00011 # include <BALL/COMMON/global.h>
00012 #endif
00013
00014 #ifdef BALL_COMPILER_MSVC
00015 # include <BALL/VIEW/UIC/ui_PTEDialog.h>
00016 #else
00017 # include <BALL/VIEW/UIC/PTEDialogData.h>
00018 #endif
00019
00020
00021 #include <QtGui/QDialog>
00022
00023 namespace BALL
00024 {
00025 namespace VIEW
00026 {
00027
00031 class BALL_VIEW_EXPORT PTEDialog
00032 : public QDialog,
00033 public Ui_PTEDialogData
00034 {
00035 Q_OBJECT
00036
00037 public:
00038
00040 PTEDialog(QWidget* parent = 0);
00041
00043 ~PTEDialog();
00044
00045 public slots:
00046
00048 void newElementType(int elementNumber);
00049
00050 protected slots:
00051
00052 void elementClicked_();
00053 void elementChoosen_();
00054
00055 protected:
00056
00057 QString atomProperties_(int number);
00058 void connectChilds_(QObject* o);
00059 };
00060
00061
00062 }
00063 }
00064
00065 #endif