BALL 1.5.0
Loading...
Searching...
No Matches
assignBondOrderResultsDialog.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_VIEW_DIALOGS_ASSIGNBONDORDERRESULTSDIALOG_H
6#define BALL_VIEW_DIALOGS_ASSIGNBONDORDERRESULTSDIALOG_H
7
8#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
10#endif
11
12#ifndef BALL_VIEW_WIDGETS_SDWIDGET_H
14#endif
15
16#ifndef BALL_STRUCTURE_ASSIGNBONDORDERPROCESSOR_H
18#endif
19
20#include <BALL/VIEW/UIC/ui_assignBondOrderResultsDialog.h>
21
22#include <QtWidgets/QDialog>
23#include <map>
24
25namespace BALL
26{
27 namespace VIEW
28 {
32 public QDialog,
33 public Ui_AssignBondOrderResultsDialogData,
34 public ModularWidget
35 {
36 Q_OBJECT
37
38 public:
39
41
42
44
47
49 virtual void initializeWidget(MainControl& main_control);
50
52 void setProcessor(AssignBondOrderProcessor* abop);
53
54 public Q_SLOTS:
55
57 void show();
58
60 void addSolutionToStructures();
61
63 void computeNextSolution();
64
66 void switchView(QTreeWidgetItem* item, int column);
67
69 void createEntries();
70
72 void clearEntries();
73
75 void finished();
76
77 protected:
78
79 SDWidget sdwidget_;
80
81 // systems, which have already been mapped to 2D
82 std::map<QTreeWidgetItem*, System*> sd_systems_;
83
84 // system copies with applied solutions
85 std::map<QTreeWidgetItem*, System*> solution_systems_;
86
87 // the solution number
88 std::map<QTreeWidgetItem*, Position> solution_number_;
89
90 // the solution description
91 std::map<QTreeWidgetItem*, String> descriptions_;
92
93 AssignBondOrderProcessor* bond_order_processor_;
94
96
97 QTreeWidgetItem * activated_item_;
98 };
99 }
100}
101#endif
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
STL namespace.
Assignment of bond orders from topology information.
#define BALL_VIEW_EXPORT