BALL
1.5.0
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::WindowFlags fl = 0 );
52
54
virtual
~ColoringSettingsDialog
() {}
55
57
virtual
void
applySettingsTo(
ColorProcessor
& cp)
const
;
58
60
virtual
ColorProcessor
* createColorProcessor(
ColoringMethod
method)
const
;
61
63
virtual
void
getSettings(
const
ColorProcessor
& cp);
64
66
virtual
QWidget
* getEntryFor(
ColoringMethod
method);
67
69
virtual
vector<ColorRGBA> getColors(
ColoringMethod
method)
const
;
70
72
virtual
void
writePreferenceEntries(
INIFile
& inifile);
73
75
virtual
void
readPreferenceEntries(
INIFile
& inifile);
76
77
protected
Q_SLOTS:
78
79
virtual
void
maxDistanceChanged();
80
virtual
void
maxTFChanged();
81
virtual
void
forceMaxValueChanged();
82
virtual
void
forceMinValueChanged();
83
84
protected
:
85
86
virtual
void
setDefaultValues_();
87
};
88
89
} }
90
91
#endif
colorRGBA.h
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::PreferencesEntry
Definition:
preferencesEntry.h:68
BALL::VIEW::ColoringMethod
ColoringMethod
Definition:
VIEW/KERNEL/common.h:242
QWidget
BALL::VIEW::ColoringSettingsDialog
Definition:
coloringSettingsDialog.h:41
BALL::PTE
BALL_EXPORT PTE_ PTE
BALL::VIEW::ColorProcessor
Definition:
colorProcessor.h:50
common.h
preferencesEntry.h
BALL::INIFile
Definition:
INIFile.h:28
BALL
Definition:
constants.h:12
BALL::VIEW::ColoringSettingsDialog::~ColoringSettingsDialog
virtual ~ColoringSettingsDialog()
Destructor.
Definition:
coloringSettingsDialog.h:54
Generated by
1.8.13