bondProperties.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
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 #ifndef BALL_KERNEL_ATOM_H
00012 # include <BALL/KERNEL/atom.h>
00013 #endif
00014 
00015 #include <BALL/VIEW/UIC/ui_bondProperties.h>
00016 
00017 namespace BALL
00018 {
00019   namespace VIEW
00020   {
00021 
00025     class BALL_VIEW_EXPORT BondProperties 
00026       : public QDialog,
00027         public Ui_BondPropertiesData
00028     { 
00029       Q_OBJECT
00030 
00031     public:
00032       BondProperties(Atom* atom,  QWidget* parent = 0, const char* name = "BondProperties", 
00033                      bool modal = FALSE, Qt::WFlags fl = 0 );
00034       ~BondProperties();
00035 
00036     public slots:
00037       void bondSelected();
00038       void focusAtom();
00039       void focusPartner();
00040 
00041     private:
00042       Atom* atom_;
00043       QWidget* parent_;
00044     };
00045 
00046   } // namespace VIEW
00047 
00048 } // namespace BALL
00049 
00050 #endif // BALL_VIEW_DIALOGS_BONDPROPERTIES_H