6 #ifndef BALL_VIEW_DIALOGS_DOCKDIALOG_H
7 #define BALL_VIEW_DIALOGS_DOCKDIALOG_H
9 #ifndef BALL_COMMON_GLOBAL_H
13 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY_H
17 #ifndef BALL_MOLMEC_COMMON_RADIUSRULEPROCESSOR_H
21 #ifndef BALL_MOLMEC_COMMON_CHARGERULEPROCESSOR_H
25 #ifndef BALL_STRUCTURE_DEFAULTPROCESSORS_H
29 #ifndef BALL_DATATYPE_OPTIONS_H
33 #include <BALL/VIEW/UIC/ui_dockDialog.h>
43 class DockingController;
54 public Ui_DockDialogData,
111 Options& getAlgorithmOptions();
119 void isRedock(
bool is_redock);
127 void addAlgorithm(
const QString& name,
const int algorithm,
QDialog* dialog);
135 void addScoringFunction(
const QString& name,
const int score_func,
QDialog* dialog=0);
143 virtual void initializeWidget();
151 virtual void fetchPreferences(
INIFile& file);
158 virtual void writePreferences(
INIFile& file);
189 void cancelPressed();
194 void algAdvancedPressed();
199 void scoringAdvancedPressed();
204 void partner1Chosen();
209 void partner2Chosen();
214 void scoringFuncChosen();
219 void algorithmChosen();
224 void browseChargesData();
229 void browseChargesRules();
234 void browseRadiiData();
239 void browseRadiiRules();
251 bool applyProcessors_();
260 void fillSystemComboboxes_();
269 void fetchPreferences_(
INIFile& file,
const String& entry,
const QString& default_value);
313 vector<System*> loaded_systems_;
317 System* docking_partner1_;
321 System* docking_partner2_;
325 Options algorithm_opt_, scoring_opt_;
332 vector<QString> backup_;