BALL
1.4.79
|
#include <BALL/VIEW/DIALOGS/modelSettingsDialog.h>
Public Member Functions | |
ModelSettingsDialog (QWidget *parent=0, const char *name="ModelSettingsDialog", Qt::WFlags fl=0) | |
Constructor. More... | |
virtual | ~ModelSettingsDialog () |
Destructor. More... | |
virtual void | applySettingsTo (ModelProcessor &cp) const |
virtual ModelProcessor * | createModelProcessor (ModelType type) const throw (Exception::InvalidOption) |
virtual void | getSettings (const ModelProcessor &mp) |
virtual QWidget * | getEntryFor (ModelType type) |
float | getStickStickRadius () const |
float | getBallAndStickStickRadius () const |
bool | ballAndStickDashedBondsEnabled () const |
float | getBallRadius () const |
float | getVDWRadiusFactor () const |
float | getSurfaceProbeRadius () const |
float | getTubeRadius () const |
float | getCartoonTubeRadius () const |
float | getCartoonHelixRadius () const |
float | getCartoonArrowWidth () const |
float | getCartoonStrandHeight () const |
float | getCartoonStrandWidth () const |
float | getHBondsRadius () const |
float | getForceMaxLength () const |
float | getForceScaling () const |
float | getForceBase () const |
float | getForceOffset () const |
float | getDNALadderRadius () const |
float | getDNABaseRadius () const |
float | getDNAHelixRadius () const |
void | setStickStickRadius (float value) |
void | setBallAndStickStickRadius (float value) |
void | setBallAndStickStickDashedBondsEnabled (bool state) |
void | setBallRadius (float value) |
void | setVDWRadiusFactor (float value) |
void | setSurfaceProbeRadius (float value) |
void | setTubeRadius (float value) |
void | setCartoonTubeRadius (float value) |
void | setCartoonHelixRadius (float value) |
void | setCartoonArrowWidth (float value) |
void | setCartoonStrandHeight (float value) |
void | setCartoonStrandWidth (float value) |
void | setHBondRadius (float value) |
void | setForceMaxLenght (float value) |
void | setForceScaling (float value) |
void | setForceOffset (float value) |
void | setForceBase (float value) |
void | setCartoonDNALadderRadius (float value) |
void | setCartoonDNAHelixRadius (float value) |
void | setCartoonDNABaseRadius (float value) |
Public Member Functions inherited from BALL::VIEW::PreferencesEntry | |
PreferencesEntry () | |
virtual | ~PreferencesEntry () |
virtual void | writePreferenceEntries (INIFile &inifile) |
Store the settings of all registered objects. More... | |
virtual void | readPreferenceEntries (const INIFile &inifile) |
Restore the settings of all registered objects. More... | |
void | setINIFileSectionName (const String &name) |
Set the name for the section in the INIFile. More... | |
const String & | getINIFileSectionName () const |
Get the name for the section in the INIFile. More... | |
void | setWidgetStackName (const String &name) |
StackPages & | getStackPages () |
Return all pages, that are to be shown in a parent QStackedWidget. More... | |
void | setWidgetStack (QStackedWidget *stack) |
virtual void | showStackPage (Position nr) |
Show the specified page in the QStackedWidget. More... | |
virtual void | showStackPage (QWidget *widget) |
Show the specified page in the QStackedWidget. More... | |
virtual Position | currentStackPage () const |
Get the currently shown page in the QStackedWidget. More... | |
virtual void | restoreDefaultValues (bool all=false) |
Set all registered objects to their default values. More... | |
virtual void | storeValues () |
virtual void | restoreValues (bool all=false) |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
virtual bool | setValueAllowed (QObject *) |
Allows to prevent restoring of widgets. More... | |
Protected Slots | |
void | stickRadiusChanged () |
void | VDWfactorChanged () |
void | ballStickSphereRadiusChanged () |
void | ballStickCylinderRadiusChanged () |
void | probeRadiusChanged () |
void | tubeRadiusChanged () |
void | cartoonTubeRadiusChanged () |
void | cartoonHelixRadiusChanged () |
void | cartoonStrandArrowWidthChanged () |
void | cartoonStrandHeightChanged () |
void | cartoonStrandWidthChanged () |
void | cartoonDNAHelixRadiusChanged () |
void | cartoonDNABaseRadiusChanged () |
void | cartoonDNALadderRadiusChanged () |
void | hbondsRadiusChanged () |
void | forceScalingChanged () |
void | forceMaxLengthChanged () |
void | forceBaseChanged () |
void | forceOffsetChanged () |
void | changedNAMode_ (bool state) |
Protected Member Functions | |
float | getFloatValue_ (const QSlider *const &le) const |
void | setValue_ (QSlider *le, float value) |
void | setLabelText_ (QLabel *label, const QSlider *const from) |
void | setDefaultValues_ () |
Protected Member Functions inherited from BALL::VIEW::PreferencesEntry | |
void | registerWidgets_ () |
void | registerObject_ (QObject *widget) |
void | unregisterObject_ (QObject *widget) |
void | registerWidgetForHelpSystem_ (const QWidget *widget, const String &url) |
void | restoreValues_ (bool all, const ValueMap &map) |
void | insertStackEntry_ (QWidget *, const String &name) |
bool | isSupported_ (QObject &widget) |
bool | getValue_ (const QObject *widget, String &value) |
bool | setValue_ (QObject *widget, const String &value) |
Additional Inherited Members | |
Public Types inherited from BALL::VIEW::PreferencesEntry | |
typedef std::list< std::pair < QWidget *, String > > | StackPages |
Protected Types inherited from BALL::VIEW::PreferencesEntry | |
typedef HashMap< const QObject *, String > | ValueMap |
Protected Attributes inherited from BALL::VIEW::PreferencesEntry | |
String | inifile_section_name_ |
HashSet< QObject * > | registered_objects_ |
ValueMap | default_values_ |
ValueMap | last_values_ |
QStackedWidget * | widget_stack_ |
StackPages | stack_pages_ |
Dialog for the molecular model settings, it is inserted into the Preferences.
Definition at line 42 of file modelSettingsDialog.h.
BALL::VIEW::ModelSettingsDialog::ModelSettingsDialog | ( | QWidget * | parent = 0 , |
const char * | name = "ModelSettingsDialog" , |
||
Qt::WFlags | fl = 0 |
||
) |
Constructor.
|
inlinevirtual |
Destructor.
Definition at line 56 of file modelSettingsDialog.h.
|
virtual |
|
inline |
Definition at line 80 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 239 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 238 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 250 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 249 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 251 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 243 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 245 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 246 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 247 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 242 of file modelSettingsDialog.h.
|
protectedslot |
|
virtual |
|
inlineprotectedslot |
Definition at line 255 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 254 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 256 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 253 of file modelSettingsDialog.h.
|
inline |
Definition at line 76 of file modelSettingsDialog.h.
|
inline |
Definition at line 84 of file modelSettingsDialog.h.
|
inline |
Definition at line 108 of file modelSettingsDialog.h.
|
inline |
Definition at line 104 of file modelSettingsDialog.h.
|
inline |
Definition at line 112 of file modelSettingsDialog.h.
|
inline |
Definition at line 116 of file modelSettingsDialog.h.
|
inline |
Definition at line 100 of file modelSettingsDialog.h.
|
inline |
Definition at line 144 of file modelSettingsDialog.h.
|
inline |
Definition at line 148 of file modelSettingsDialog.h.
|
inline |
Definition at line 140 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 132 of file modelSettingsDialog.h.
|
inline |
Definition at line 124 of file modelSettingsDialog.h.
|
inline |
Definition at line 136 of file modelSettingsDialog.h.
|
inline |
Definition at line 128 of file modelSettingsDialog.h.
|
inline |
Definition at line 120 of file modelSettingsDialog.h.
|
virtual |
|
inline |
Definition at line 72 of file modelSettingsDialog.h.
|
inline |
Definition at line 92 of file modelSettingsDialog.h.
|
inline |
Definition at line 96 of file modelSettingsDialog.h.
|
inline |
Definition at line 88 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 252 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 240 of file modelSettingsDialog.h.
|
inline |
Definition at line 160 of file modelSettingsDialog.h.
|
inline |
Definition at line 156 of file modelSettingsDialog.h.
|
inline |
Definition at line 164 of file modelSettingsDialog.h.
|
inline |
Definition at line 188 of file modelSettingsDialog.h.
|
inline |
Definition at line 228 of file modelSettingsDialog.h.
|
inline |
Definition at line 224 of file modelSettingsDialog.h.
|
inline |
Definition at line 220 of file modelSettingsDialog.h.
|
inline |
Definition at line 184 of file modelSettingsDialog.h.
|
inline |
Definition at line 192 of file modelSettingsDialog.h.
|
inline |
Definition at line 196 of file modelSettingsDialog.h.
|
inline |
Definition at line 180 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 216 of file modelSettingsDialog.h.
|
inline |
Definition at line 204 of file modelSettingsDialog.h.
|
inline |
Definition at line 212 of file modelSettingsDialog.h.
|
inline |
Definition at line 208 of file modelSettingsDialog.h.
|
inline |
Definition at line 200 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 152 of file modelSettingsDialog.h.
|
inline |
Definition at line 172 of file modelSettingsDialog.h.
|
inline |
Definition at line 176 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 168 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 236 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 241 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 237 of file modelSettingsDialog.h.