BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
DIALOGS
geometricFitDialog.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_VIEW_DIALOGS_GEOMETRICFITDIALOG_H
6
#define BALL_VIEW_DIALOGS_GEOMETRICFITDIALOG_H
7
8
#ifndef BALL_COMMON_GLOBAL_H
9
# include <
BALL/COMMON/global.h
>
10
#endif
11
12
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
13
# include <
BALL/VIEW/KERNEL/preferencesEntry.h
>
14
#endif
15
16
#ifndef BALL_DATATYPE_OPTIONS_H
17
#include <
BALL/DATATYPE/options.h
>
18
#endif
19
20
#include <BALL/VIEW/UIC/ui_geometricFitDialog.h>
21
22
namespace
BALL
23
{
24
namespace
VIEW
25
{
31
class
BALL_VIEW_EXPORT
GeometricFitDialog
:
32
public
QDialog
,
33
public
Ui_GeometricFitDialogData,
34
public
PreferencesEntry
35
{
36
Q_OBJECT
37
38
public
:
39
40
44
54
GeometricFitDialog
(
QWidget
* parent = 0,
const
char
* name =
"GeometricFitDialog"
);
55
58
virtual
~
GeometricFitDialog
();
60
66
const
GeometricFitDialog
& operator =(
const
GeometricFitDialog
& geo_fit_dialog);
68
72
76
void
getOptions(
Options
& options);
77
81
void
isRedock(
bool
is_redock);
82
89
void
fetchPreferences(
INIFile
& file);
90
96
void
writePreferences(
INIFile
& file);
97
99
100
public
slots:
101
104
void
show();
105
109
void
reset();
110
114
virtual
void
reject();
115
116
//
117
virtual
void
accept();
118
119
120
protected
:
121
129
void
fetchPreferences_(
INIFile
& file,
const
String
& entry,
const
QString& default_value);
130
136
void
swapValues_();
137
138
139
private
:
140
145
GeometricFitDialog
(
const
GeometricFitDialog
& geo_fit_dialog);
146
151
bool
has_changed_;
152
155
bool
is_redock_;
156
162
vector<QString> backup_;
163
};
164
165
} }
// Namespaces
166
#endif
BALL::String
Definition:
string.h:61
QDialog
QWidget
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::Options
Definition:
options.h:46
preferencesEntry.h
BALL::VIEW::PreferencesEntry
Definition:
preferencesEntry.h:68
global.h
options.h
BALL::VIEW::GeometricFitDialog
Definition:
geometricFitDialog.h:31
BALL::INIFile
Definition:
INIFile.h:28
Generated by
1.8.7