#include <geometricFitDialog.h>
Inheritance diagram for VIEW::GeometricFitDialog:
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") throw () | |
Default Constructor. | |
virtual | ~GeometricFitDialog () throw () |
Destructor. | |
Assignment | |
const GeometricFitDialog & | operator= (const GeometricFitDialog &geo_fit_dialog) throw () |
Assignment operator. | |
Accessors: inspectors and mutators | |
void | getOptions (Options &options) throw () |
Fills options with values of the dialog. | |
void | isRedock (bool is_redock) throw () |
Sets the flags is_redock_ and has_changed_ . | |
void | fetchPreferences (INIFile &file) throw () |
Fetchs the preferences from the INIFile. | |
void | writePreferences (INIFile &file) throw () |
Writes the preferences to the INIFile. | |
Protected Member Functions | |
void | fetchPreferences_ (INIFile &file, const String &entry, const QString &default_value) throw () |
Function to read the redocking options from INIFile into vector backup_. | |
void | swapValues_ () throw () |
Swaps the option values between vector backup_ and dialog. |
|
Default Constructor. Calls PreferencesEntry::registerObject_
|
|
Destructor.
|
|
Fetchs the preferences from the INIFile. Calls PreferencesEntry::readPreferenceEntries . Calls fetchPreferences_ to read the redocking options. This method is called in DockDialog::fetchPreferences .
|
|
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.
|
|
Fills options with values of the dialog.
|
|
Sets the flags is_redock_ and has_changed_ .
|
|
Is called when cancel button is pressed. Hides dialog. |
|
Is called when reset button is pressed. Calls reset . |
|
Shows dialog to user.
|
|
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. |
|
Writes the preferences to the INIFile. Calls PreferencesEntry::writePreferenceEntries . This method is called in DockDialog::writePreferences .
|