BALL
1.4.1
|
00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_VIEW_DIALOGS_PTEDIALOG_H 00006 #define BALL_VIEW_DIALOGS_PTEDIALOG_H 00007 00008 #ifndef BALL_COMMON_GLOBAL_H 00009 # include <BALL/COMMON/global.h> 00010 #endif 00011 00012 #include <BALL/VIEW/UIC/ui_PTEDialog.h> 00013 00014 #include <QtGui/QDialog> 00015 00016 namespace BALL 00017 { 00018 namespace VIEW 00019 { 00020 00024 class BALL_VIEW_EXPORT PTEDialog 00025 : public QDialog, 00026 public Ui_PTEDialogData 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 00033 PTEDialog(QWidget* parent = 0); 00034 00036 ~PTEDialog(); 00037 00038 public slots: 00039 00041 void newElementType(int elementNumber); 00042 00043 protected slots: 00044 00045 void elementClicked_(); 00046 void elementChoosen_(); 00047 00048 protected: 00049 00050 QString atomProperties_(int number); 00051 void connectChilds_(QObject* o); 00052 }; 00053 00054 00055 } // namespaces 00056 } 00057 00058 #endif