BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Attributes | List of all members
BALL::VIEW::AssignBondOrderResultsDialog Class Reference

#include <BALL/VIEW/DIALOGS/assignBondOrderResultsDialog.h>

Inheritance diagram for BALL::VIEW::AssignBondOrderResultsDialog:
QDialog BALL::VIEW::ModularWidget BALL::Embeddable BALL::VIEW::ConnectionObject

Public Slots

void show ()
 Show and raise dialog. More...
 
void addSolutionToStructures ()
 
void computeNextSolution ()
 
void switchView (QTreeWidgetItem *item, int column)
 show the chosen solution More...
 
void createEntries ()
 
void clearEntries ()
 
void finished ()
 

Public Member Functions

 AssignBondOrderResultsDialog (QWidget *parent=NULL, const char *name="AssignBondOrderResultsDialog")
 Default Constructor. More...
 
virtual ~AssignBondOrderResultsDialog ()
 Destructor. More...
 
virtual void initializeWidget (MainControl &main_control)
 
void setProcessor (AssignBondOrderProcessor *abop)
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
void setWorkingDirFromFilename_ (String filename)
 
virtual void showHelp (const String &url)
 
 ModularWidget (const char *name="<ModularWidget>")
 
 ModularWidget (const ModularWidget &widget)
 
virtual ~ModularWidget ()
 
virtual void destroy ()
 
virtual void clear ()
 
virtual void checkMenu (MainControl &main_control)
 
QAction * insertMenuEntry (Position parent_id, const QString &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence(), const QString &menu_hint=QString(""), UIOperationMode::OperationMode minimal_mode=UIOperationMode::MODE_ALL)
 
void setMenuHelp (QAction *action, const String &url)
 
virtual void registerForHelpSystem (const QObject *object, const String &url)
 
virtual void addToolBarEntries (QToolBar *main_tb)
 
void setIcon (QAction *action, const String &filename, bool add_to_main_toolbar=true)
 
virtual void initializePreferencesTab (Preferences &preferences)
 
virtual void finalizePreferencesTab (Preferences &preferences)
 
virtual void applyPreferences ()
 
virtual void fetchPreferences (INIFile &inifile)
 
virtual void writePreferences (INIFile &inifile)
 
bool lockComposites ()
 
bool unlockComposites ()
 Unlock the Composites. More...
 
MainControlgetMainControl () const
 
virtual void setStatusbarText (const String &text, bool important=false)
 
virtual void setStatusbarText (const QString &text, bool important=false)
 
String getWorkingDir ()
 Implemented for convenience. More...
 
void setWorkingDir (const String &dir)
 Implemented for convenience. More...
 
FragmentDBgetFragmentDB () const
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual void finalizeWidget (MainControl &main_control)
 
virtual bool canHandle (const String &) const
 
virtual bool openFile (const String &)
 
- Public Member Functions inherited from BALL::Embeddable
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 
- Public Member Functions inherited from BALL::VIEW::ConnectionObject
 ConnectionObject ()
 
virtual ~ConnectionObject ()
 
void registerConnectionObject (ConnectionObject &object)
 
void unregisterConnectionObject (ConnectionObject &object)
 
bool isConnectionObjectRegistered (const ConnectionObject &object)
 
ConnectionObjectgetParent () const
 
ConnectionObjectgetRoot ()
 
virtual void onNotify (Message *message)
 
virtual bool isValid () const
 

Protected Attributes

SDWidget sdwidget_
 
std::map< QTreeWidgetItem
*, System * > 
sd_systems_
 
std::map< QTreeWidgetItem
*, System * > 
solution_systems_
 
std::map< QTreeWidgetItem
*, Position
solution_number_
 
std::map< QTreeWidgetItem
*, String
descriptions_
 
AssignBondOrderProcessorbond_order_processor_
 
QTreeWidgetItemroot_
 
QTreeWidgetItemactivated_item_
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QList< QAction * > main_toolbar_actions_
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- Static Public Member Functions inherited from BALL::VIEW::ModularWidget
static void registerWidget (ModularWidget *mwidget) throw (Exception::NullPointer)
 
- Protected Member Functions inherited from BALL::VIEW::ConnectionObject
void onNotify_ (Message *message)
 
void notify_ (Message *message)
 
void notify_ (Message &message)
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 

Detailed Description

Dialog for presenting the bond order assingment sets and generating structures for each found solution

Definition at line 31 of file assignBondOrderResultsDialog.h.

Constructor & Destructor Documentation

BALL::VIEW::AssignBondOrderResultsDialog::AssignBondOrderResultsDialog ( QWidget parent = NULL,
const char *  name = "AssignBondOrderResultsDialog" 
)

Default Constructor.

virtual BALL::VIEW::AssignBondOrderResultsDialog::~AssignBondOrderResultsDialog ( )
virtual

Destructor.

Member Function Documentation

void BALL::VIEW::AssignBondOrderResultsDialog::addSolutionToStructures ( )
slot
void BALL::VIEW::AssignBondOrderResultsDialog::clearEntries ( )
slot
void BALL::VIEW::AssignBondOrderResultsDialog::computeNextSolution ( )
slot
void BALL::VIEW::AssignBondOrderResultsDialog::createEntries ( )
slot
void BALL::VIEW::AssignBondOrderResultsDialog::finished ( )
slot
virtual void BALL::VIEW::AssignBondOrderResultsDialog::initializeWidget ( MainControl main_control)
virtual

Initialize the widget. This method is called automatically immediately before the main application is started. It should add the widget's menu entries and connections (if required). This method will be called by MainControl::show.

Parameters
main_controlthe MainControl object to be initialized with this ModularWidget
See also
finalizeWidget()

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::AssignBondOrderResultsDialog::setProcessor ( AssignBondOrderProcessor abop)
void BALL::VIEW::AssignBondOrderResultsDialog::show ( )
slot

Show and raise dialog.

void BALL::VIEW::AssignBondOrderResultsDialog::switchView ( QTreeWidgetItem item,
int  column 
)
slot

show the chosen solution

Member Data Documentation

QTreeWidgetItem* BALL::VIEW::AssignBondOrderResultsDialog::activated_item_
protected

Definition at line 97 of file assignBondOrderResultsDialog.h.

AssignBondOrderProcessor* BALL::VIEW::AssignBondOrderResultsDialog::bond_order_processor_
protected

Definition at line 93 of file assignBondOrderResultsDialog.h.

std::map<QTreeWidgetItem*, String> BALL::VIEW::AssignBondOrderResultsDialog::descriptions_
protected

Definition at line 91 of file assignBondOrderResultsDialog.h.

QTreeWidgetItem* BALL::VIEW::AssignBondOrderResultsDialog::root_
protected

Definition at line 95 of file assignBondOrderResultsDialog.h.

std::map<QTreeWidgetItem*, System*> BALL::VIEW::AssignBondOrderResultsDialog::sd_systems_
protected

Definition at line 82 of file assignBondOrderResultsDialog.h.

SDWidget BALL::VIEW::AssignBondOrderResultsDialog::sdwidget_
protected

Definition at line 79 of file assignBondOrderResultsDialog.h.

std::map<QTreeWidgetItem*, Position> BALL::VIEW::AssignBondOrderResultsDialog::solution_number_
protected

Definition at line 88 of file assignBondOrderResultsDialog.h.

std::map<QTreeWidgetItem*, System*> BALL::VIEW::AssignBondOrderResultsDialog::solution_systems_
protected

Definition at line 85 of file assignBondOrderResultsDialog.h.