BALL
1.4.79
include
BALL
VIEW
DIALOGS
coloringSettingsDialog.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_COLORINGSETTINGSDIALOG_H
6
#define BALL_VIEW_DIALOGS_COLORINGSETTINGSDIALOG_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_VIEW_KERNEL_COMMON_H
17
# include <
BALL/VIEW/KERNEL/common.h
>
18
#endif
19
20
#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
21
# include <
BALL/VIEW/DATATYPE/colorRGBA.h
>
22
#endif
23
24
#include <BALL/VIEW/UIC/ui_coloringSettingsDialog.h>
25
26
#include <vector>
27
28
namespace
BALL
29
{
30
class
PTE
;
31
32
namespace
VIEW
33
{
34
class
ColorProcessor;
35
36
41
class
BALL_VIEW_EXPORT
ColoringSettingsDialog
42
:
public
QWidget
,
43
public
Ui_ColoringSettingsDialogData,
44
public
PreferencesEntry
45
{
46
Q_OBJECT
47
48
public
:
49
51
ColoringSettingsDialog
(
QWidget
* parent = 0,
const
char
* name =
"ColoringSettings"
, Qt::WFlags fl = 0 );
52
54
virtual
~ColoringSettingsDialog
() {}
55
57
virtual
void
applySettingsTo(
ColorProcessor
& cp)
const
;
58
60
virtual
ColorProcessor
* createColorProcessor(
ColoringMethod
method)
const
61
throw
(
Exception::InvalidOption
);
62
64
virtual
void
getSettings(
const
ColorProcessor
& cp);
65
67
virtual
QWidget
* getEntryFor(
ColoringMethod
method);
68
70
virtual
vector<ColorRGBA> getColors(
ColoringMethod
method)
const
;
71
73
virtual
void
writePreferenceEntries(
INIFile
& inifile);
74
76
virtual
void
readPreferenceEntries(
INIFile
& inifile);
77
78
protected
slots:
79
80
virtual
void
maxDistanceChanged();
81
virtual
void
maxTFChanged();
82
virtual
void
forceMaxValueChanged();
83
virtual
void
forceMinValueChanged();
84
85
protected
:
86
87
virtual
void
setDefaultValues_();
88
};
89
90
} }
91
92
#endif
BALL::PTE
BALL_EXPORT PTE_ PTE
QWidget
BALL::VIEW::ColoringSettingsDialog::~ColoringSettingsDialog
virtual ~ColoringSettingsDialog()
Destructor.
Definition:
coloringSettingsDialog.h:54
BALL::Exception::InvalidOption
Exception to be thrown if an invalid option is given.
Definition:
COMMON/exception.h:418
common.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::ColoringSettingsDialog
Definition:
coloringSettingsDialog.h:41
colorRGBA.h
preferencesEntry.h
BALL::VIEW::ColoringMethod
ColoringMethod
Definition:
VIEW/KERNEL/common.h:242
BALL::VIEW::PreferencesEntry
Definition:
preferencesEntry.h:68
BALL
-*- Mode: C++; tab-width: 2; -*-
Definition:
constants.h:12
global.h
BALL::VIEW::ColorProcessor
Definition:
colorProcessor.h:50
BALL::INIFile
Definition:
INIFile.h:28
Generated by
1.8.13