BALL 1.5.0
assignBondOrderConfigurationDialog.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4//
5
6#ifndef BALL_VIEW_DIALOGS_ASSIGNBONDORDERCONFIGURATIONDIALOG_H
7#define BALL_VIEW_DIALOGS_ASSIGNBONDORDERCONFIGURATIONDIALOG_H
8
9#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
11#endif
12
13#ifndef BALL_STRUCTURE_ASSIGNBONDORDERPROCESSOR_H
15#endif
16
17#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
19#endif
20
21#include <BALL/VIEW/UIC/ui_assignBondOrderConfigurationDialog.h>
22
23namespace BALL
24{
25 class MMFF94;
26
27 namespace VIEW
28 {
29 class MolecularStructure;
30 class MainControl;
31
36 : public QDialog,
37 public Ui_AssignBondOrderConfigurationDialogData,
38 public ModularWidget,
39 public PreferencesEntry
40 {
41 friend class MolecularStructure;
42
43 Q_OBJECT
44
45 public:
46
48
49
51
54
56 virtual void initializeWidget(MainControl& main_control);
57
58 public Q_SLOTS:
59
61 virtual void resetOptions();
62
64 void accept();
65
67 void reject();
68
69 protected Q_SLOTS:
70
71 virtual void browseParameterFiles_();
72 virtual void balanceParameterChanged_();
73
74 virtual void validateBOBoxes_();
75 virtual void validateStrategies_();
76
77 virtual void dialogButtonClicked_(QAbstractButton* button);
78
79 protected:
80
81 private:
82
83 String getValue_(const QCheckBox* box) const;
84
86 float getValue_(const QLineEdit* edit) const;
87 };
88 }
89}
90#endif
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition: embeddable.h:31
Definition: constants.h:13
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52