BALL
1.5.0
|
#include <BALL/VIEW/DIALOGS/modelSettingsDialog.h>
Public Member Functions | |
ModelSettingsDialog (QWidget *parent=0, const char *name="ModelSettingsDialog", Qt::WindowFlags fl=0) | |
Constructor. More... | |
virtual | ~ModelSettingsDialog () |
Destructor. More... | |
virtual void | applySettingsTo (ModelProcessor &cp) const |
virtual ModelProcessor * | createModelProcessor (ModelType type) const |
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) |
![]() | |
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_ () |
![]() | |
void | registerWidgets_ () |
void | registerObject_ (QObject *widget) |
void | unregisterObject_ (QObject *widget) |
BALL_DEPRECATED void | registerWidgetForHelpSystem_ (const QWidget *, const String &) |
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 | |
![]() | |
typedef std::list< std::pair< QWidget *, String > > | StackPages |
![]() | |
typedef HashMap< const QObject *, String > | ValueMap |
![]() | |
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::WindowFlags | fl = 0 |
||
) |
Constructor.
|
inlinevirtual |
Destructor.
Definition at line 56 of file modelSettingsDialog.h.
|
virtual |
|
inline |
Definition at line 79 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 238 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 237 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 249 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 248 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 250 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 242 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 244 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 241 of file modelSettingsDialog.h.
|
protectedslot |
|
virtual |
BALL::Exception::InvalidOption |
|
inlineprotectedslot |
Definition at line 254 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 253 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 255 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 252 of file modelSettingsDialog.h.
|
inline |
Definition at line 75 of file modelSettingsDialog.h.
|
inline |
Definition at line 83 of file modelSettingsDialog.h.
|
inline |
Definition at line 107 of file modelSettingsDialog.h.
|
inline |
Definition at line 103 of file modelSettingsDialog.h.
|
inline |
Definition at line 111 of file modelSettingsDialog.h.
|
inline |
Definition at line 115 of file modelSettingsDialog.h.
|
inline |
Definition at line 99 of file modelSettingsDialog.h.
|
inline |
Definition at line 143 of file modelSettingsDialog.h.
|
inline |
Definition at line 147 of file modelSettingsDialog.h.
|
inline |
Definition at line 139 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 131 of file modelSettingsDialog.h.
|
inline |
Definition at line 123 of file modelSettingsDialog.h.
|
inline |
Definition at line 135 of file modelSettingsDialog.h.
|
inline |
Definition at line 127 of file modelSettingsDialog.h.
|
inline |
Definition at line 119 of file modelSettingsDialog.h.
|
virtual |
|
inline |
Definition at line 71 of file modelSettingsDialog.h.
|
inline |
Definition at line 91 of file modelSettingsDialog.h.
|
inline |
Definition at line 95 of file modelSettingsDialog.h.
|
inline |
Definition at line 87 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 251 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 239 of file modelSettingsDialog.h.
|
inline |
Definition at line 159 of file modelSettingsDialog.h.
|
inline |
Definition at line 155 of file modelSettingsDialog.h.
|
inline |
Definition at line 163 of file modelSettingsDialog.h.
|
inline |
Definition at line 187 of file modelSettingsDialog.h.
|
inline |
Definition at line 227 of file modelSettingsDialog.h.
|
inline |
Definition at line 223 of file modelSettingsDialog.h.
|
inline |
Definition at line 219 of file modelSettingsDialog.h.
|
inline |
Definition at line 183 of file modelSettingsDialog.h.
|
inline |
Definition at line 191 of file modelSettingsDialog.h.
|
inline |
Definition at line 195 of file modelSettingsDialog.h.
|
inline |
Definition at line 179 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 215 of file modelSettingsDialog.h.
|
inline |
Definition at line 203 of file modelSettingsDialog.h.
|
inline |
Definition at line 211 of file modelSettingsDialog.h.
|
inline |
Definition at line 207 of file modelSettingsDialog.h.
|
inline |
Definition at line 199 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 151 of file modelSettingsDialog.h.
|
inline |
Definition at line 171 of file modelSettingsDialog.h.
|
inline |
Definition at line 175 of file modelSettingsDialog.h.
|
protected |
|
inline |
Definition at line 167 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 235 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 240 of file modelSettingsDialog.h.
|
inlineprotectedslot |
Definition at line 236 of file modelSettingsDialog.h.