#include <geometricFitDialog.h>

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. |
|
| BALL::VIEW::GeometricFitDialog::GeometricFitDialog | ( | QWidget * | parent =
0, |
|
| const char * | name =
"GeometricFitDialog" |
|||
| ) |
Default Constructor.
Calls PreferencesEntry::registerObject_
| parent | the parent widget of the GeometricFitDialog | |
| name | the name of the GeometricFitDialog | |
| modal | the modal flag | |
| fl | the widget flags |
PreferncesEntry
| 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 .
| 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.
| file | the INIFile that is read | |
| entry | key of entry that is read | |
| default_value | default value |
| void BALL::VIEW::GeometricFitDialog::getOptions | ( | Options & | options | ) |
Fills options with values of the dialog.
| 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 .
1.5.8