7 #ifndef BALL_VIEW_DIALOGS_DISPLAYPROPERTIES_H
8 #define BALL_VIEW_DIALOGS_DISPLAYPROPERTIES_H
10 #ifndef BALL_COMMON_GLOBAL_H
14 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
18 #ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
22 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
26 #include <BALL/VIEW/UIC/ui_displayProperties.h>
36 class ColoringSettingsDialog;
37 class ModelSettingsDialog;
39 class ModelInformation;
56 public Ui_DisplayPropertiesData,
98 virtual void onNotify(
Message *message);
111 virtual void initializeWidget(
MainControl& main_control);
114 virtual void initializePreferencesTab(
Preferences &preferences);
117 virtual void finalizePreferencesTab(
Preferences &preferences);
120 void applyPreferences();
130 void createRepresentationMode();
136 bool getSettingsFromString(
const String& data);
139 void createRepresentation(
String data_string,
const vector<const Composite*>& new_systems);
142 void enableCreationForNewMolecules(
bool state)
143 { create_representations_for_new_molecules_ = state;}
155 virtual Representation* createRepresentation(
const std::list<Composite*>& composites,
bool hidden =
false);
182 void selectModel(
int index);
189 void selectMode(
int index);
196 void selectColoringMethod(
int index);
199 void setSurfaceDrawingPrecision(
float value);
202 void setDrawingPrecision(
int value);
205 void setTransparency(
int value);
208 void setCustomColor(
const ColorRGBA& color);
216 virtual void apply();
221 void editSelectionColor(QColor color);
224 void coloringOptionsPressed();
227 void modelOptionsPressed();
230 void precisionBoxChanged(
int index);
233 void transparencySliderChanged();
236 void precisionSliderChanged();
239 void coloringUpdatesChanged();
242 void modelUpdatesChanged();
250 void checkDrawingPrecision_();
253 virtual void getAdvancedModelOptions_();
256 virtual void getAdvancedColoringOptions_();
291 #endif // BALL_VIEW_DIALOGS_DISPLAYPROPERTIES_H