BALL::VIEW::GeometricFitDialog Class Reference
[QT Dialogs]

Dialog for options of the docking algorithm GeometricFit. More...

#include <geometricFitDialog.h>

Inheritance diagram for BALL::VIEW::GeometricFitDialog:
Inheritance graph
[legend]

List of all members.


Public Slots

void show ()
Shows dialog to user.
void reset ()
Is called when reset button is pressed.
virtual void reject ()
Is called when cancel button is pressed.
virtual void accept ()

Public Member Functions

Constructors and Destructors
GeometricFitDialog (QWidget *parent=0, const char *name="GeometricFitDialog")
Default Constructor.
virtual ~GeometricFitDialog ()
Destructor.
Assignment
const GeometricFitDialog & operator= (const GeometricFitDialog &geo_fit_dialog)
Assignment operator.
Accessors: inspectors and mutators
void getOptions (Options &options)
Fills options with values of the dialog.
void isRedock (bool is_redock)
Sets the flags is_redock_ and has_changed_ .
void fetchPreferences (INIFile &file)
Fetchs the preferences from the INIFile.
void writePreferences (INIFile &file)
Writes the preferences to the INIFile.

Protected Member Functions

void fetchPreferences_ (INIFile &file, const String &entry, const QString &default_value)
Function to read the redocking options from INIFile into vector backup_.
void swapValues_ ()
Swaps the option values between vector backup_ and dialog.

Detailed Description

Dialog for options of the docking algorithm GeometricFit.
See also:
GeometricFit

Constructor & Destructor Documentation

BALL::VIEW::GeometricFitDialog::GeometricFitDialog ( QWidget * parent = 0,
const char * name = "GeometricFitDialog"
)

Default Constructor.

Calls PreferencesEntry::registerObject_

Parameters:
parent the parent widget of the GeometricFitDialog
name the name of the GeometricFitDialog
modal the modal flag
fl the widget flags
See also:
QDialog

PreferncesEntry


Member Function Documentation

void BALL::VIEW::GeometricFitDialog::fetchPreferences ( INIFile & file )

Fetchs the preferences from the INIFile.

Calls PreferencesEntry::readPreferenceEntries . Calls fetchPreferences_ to read the redocking options. This method is called in DockDialog::fetchPreferences .

See also:
writePreferences

void BALL::VIEW::GeometricFitDialog::fetchPreferences_ ( INIFile & file,
const String & entry,
const QString & default_value
) [protected]

Function to read the redocking options from INIFile into vector backup_.

If INIFile has not yet section GEOMETRIC_FIT_OPTIONS_REDOCK , fill vector backup_ with default values.

Parameters:
file the INIFile that is read
entry key of entry that is read
default_value default value
See also:
fetchPreferences

void BALL::VIEW::GeometricFitDialog::getOptions ( Options & options )

Fills options with values of the dialog.

Parameters:
options the options that are filled

virtual void BALL::VIEW::GeometricFitDialog::reject ( ) [virtual, slot]

Is called when cancel button is pressed.

Hides dialog.

void BALL::VIEW::GeometricFitDialog::reset ( ) [slot]

Is called when reset button is pressed.

Calls reset .

void BALL::VIEW::GeometricFitDialog::swapValues_ ( ) [protected]

Swaps the option values between vector backup_ and dialog.

Is called in show if has_changed_ is true and in writePreferences if is redock_ is true.

void BALL::VIEW::GeometricFitDialog::writePreferences ( INIFile & file )

Writes the preferences to the INIFile.

Calls PreferencesEntry::writePreferenceEntries . This method is called in DockDialog::writePreferences .

See also:
fetchPreferences

Generated on Thu Aug 6 18:30:53 2009 for BALL by doxygen 1.5.8