5 #ifndef BALL_VIEW_DIALOGS_MODELSETTINGSDIALOG_H
6 #define BALL_VIEW_DIALOGS_MODELSETTINGSDIALOG_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_VIEW_MODELS_MODELPROCESSOR_H
16 #ifndef BALL_VIEW_KERNEL_COMMON_H
20 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
24 #include <BALL/VIEW/UIC/ui_modelSettingsDialog.h>
26 #include <QtGui/QCheckBox>
27 #include <QtGui/QLabel>
44 public Ui_ModelSettingsDialogData,
73 {
return getFloatValue_(stick_radius_slider);}
77 {
return getFloatValue_(ball_stick_cylinder_radius_slider);}
81 {
return ball_stick_dashed_bonds->isChecked();}
85 {
return getFloatValue_(ball_stick_sphere_radius_slider);}
89 {
return getFloatValue_(vdw_radius_factor_slider);}
93 {
return getFloatValue_(surface_probe_radius_slider);}
97 {
return getFloatValue_(tube_radius_slider);}
101 {
return getFloatValue_(cartoon_tube_radius_slider);}
105 {
return getFloatValue_(cartoon_helix_radius_slider);}
109 {
return getFloatValue_(strand_arrow_width_slider);}
113 {
return getFloatValue_(strand_height_slider);}
117 {
return getFloatValue_(strand_width_slider);}
121 {
return getFloatValue_(hbonds_radius_slider);}
125 {
return getFloatValue_(force_max_length_slider);}
129 {
return getFloatValue_(force_scaling_slider);}
133 {
return getFloatValue_(force_base_slider);}
137 {
return getFloatValue_(force_offset_slider);}
141 {
return getFloatValue_(cartoon_dna_ladder_radius_slider);}
145 {
return getFloatValue_(cartoon_dna_base_radius_slider);}
149 {
return getFloatValue_(cartoon_dna_helix_radius_slider);}
153 { setValue_(stick_radius_slider,value);}
157 { setValue_(ball_stick_cylinder_radius_slider,value);}
161 { ball_stick_dashed_bonds->setChecked(state);}
165 { setValue_(ball_stick_sphere_radius_slider,value);}
169 { setValue_(vdw_radius_factor_slider,value);}
173 { setValue_(surface_probe_radius_slider,value);}
177 { setValue_(tube_radius_slider,value);}
181 { setValue_(cartoon_tube_radius_slider,value);}
185 { setValue_(cartoon_helix_radius_slider,value);}
189 { setValue_(strand_arrow_width_slider ,value);}
193 { setValue_(strand_height_slider,value);}
197 { setValue_(strand_width_slider,value);}
201 { setValue_(hbonds_radius_slider,value);}
205 { setValue_(force_max_length_slider,value);}
209 { setValue_(force_scaling_slider,value);}
213 { setValue_(force_offset_slider ,value);}
217 { setValue_(force_base_slider, value);}
221 { setValue_(cartoon_dna_ladder_radius_slider, value / 10.);}
225 { setValue_(cartoon_dna_helix_radius_slider, value / 10.);}
229 { setValue_(cartoon_dna_base_radius_slider, value / 10.);}
237 void VDWfactorChanged() {setLabelText_(vdw_radius_factor_label, vdw_radius_factor_slider);}
257 void changedNAMode_(
bool state);
261 float getFloatValue_(
const QSlider*
const& le)
const;
263 void setValue_(QSlider* le,
float value);
265 void setLabelText_(QLabel* label,
const QSlider*
const from);
267 void setDefaultValues_();
void cartoonDNAHelixRadiusChanged()
void setCartoonDNALadderRadius(float value)
float getCartoonStrandWidth() const
void cartoonStrandArrowWidthChanged()
void forceMaxLengthChanged()
float getForceBase() const
void setTubeRadius(float value)
void setForceBase(float value)
float getTubeRadius() const
void setVDWRadiusFactor(float value)
float getDNABaseRadius() const
void setCartoonStrandHeight(float value)
void hbondsRadiusChanged()
void setForceOffset(float value)
float getCartoonHelixRadius() const
float getCartoonStrandHeight() const
void setForceMaxLenght(float value)
float getForceScaling() const
void setCartoonStrandWidth(float value)
void forceScalingChanged()
void setCartoonDNABaseRadius(float value)
Exception to be thrown if an invalid option is given.
void setForceScaling(float value)
void probeRadiusChanged()
void setCartoonHelixRadius(float value)
void cartoonTubeRadiusChanged()
void cartoonDNALadderRadiusChanged()
float getBallRadius() const
float getDNAHelixRadius() const
void setCartoonTubeRadius(float value)
float getForceMaxLength() const
float getForceOffset() const
float getVDWRadiusFactor() const
void cartoonStrandWidthChanged()
void cartoonHelixRadiusChanged()
float getHBondsRadius() const
bool ballAndStickDashedBondsEnabled() const
void setSurfaceProbeRadius(float value)
void setCartoonArrowWidth(float value)
virtual ~ModelSettingsDialog()
Destructor.
void setBallAndStickStickDashedBondsEnabled(bool state)
void cartoonDNABaseRadiusChanged()
void setBallRadius(float value)
void setBallAndStickStickRadius(float value)
float getDNALadderRadius() const
void cartoonStrandHeightChanged()
void setHBondRadius(float value)
float getBallAndStickStickRadius() const
float getCartoonArrowWidth() const
void stickRadiusChanged()
void ballStickCylinderRadiusChanged()
void forceOffsetChanged()
void setStickStickRadius(float value)
float getStickStickRadius() const
float getCartoonTubeRadius() const
void ballStickSphereRadiusChanged()
float getSurfaceProbeRadius() const
void setCartoonDNAHelixRadius(float value)