00001
00002
00003
00004 #ifndef BALL_VIEW_DIALOGS_BONDPROPERTIES_H
00005 #define BALL_VIEW_DIALOGS_BONDPROPERTIES_H
00006
00007 #ifndef BALL_COMMON_GLOBAL_H
00008 # include <BALL/COMMON/global.h>
00009 #endif
00010
00011 #ifdef BALL_COMPILER_MSVC
00012 # include <BALL/VIEW/UIC/ui_bondProperties.h>
00013 #else
00014 # include <BALL/VIEW/UIC/bondPropertiesData.h>
00015 #endif
00016
00017
00018 #ifndef BALL_KERNEL_ATOM_H
00019 # include <BALL/KERNEL/atom.h>
00020 #endif
00021
00022 namespace BALL
00023 {
00024 namespace VIEW
00025 {
00026
00030 class BALL_VIEW_EXPORT BondProperties
00031 : public QDialog,
00032 public Ui_BondPropertiesData
00033 {
00034 Q_OBJECT
00035
00036 public:
00037 BondProperties(Atom* atom, QWidget* parent = 0, const char* name = "BondProperties",
00038 bool modal = FALSE, Qt::WFlags fl = 0 );
00039 ~BondProperties();
00040
00041 public slots:
00042 void bondSelected();
00043 void focusAtom();
00044 void focusPartner();
00045
00046 private:
00047 Atom* atom_;
00048 QWidget* parent_;
00049 };
00050
00051 }
00052
00053 }
00054
00055 #endif // BALL_VIEW_DIALOGS_BONDPROPERTIES_H