BALL
1.4.1
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
coloringSettingsDialog.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: coloringSettingsDialog.h,v 1.22.16.1 2007/03/25 21:25:45 oliver Exp $
5
//
6
7
#ifndef BALL_VIEW_DIALOGS_COLORINGSETTINGSDIALOG_H
8
#define BALL_VIEW_DIALOGS_COLORINGSETTINGSDIALOG_H
9
10
#ifndef BALL_COMMON_GLOBAL_H
11
# include <
BALL/COMMON/global.h
>
12
#endif
13
14
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
15
# include <
BALL/VIEW/KERNEL/preferencesEntry.h
>
16
#endif
17
18
#ifndef BALL_VIEW_KERNEL_COMMON_H
19
# include <
BALL/VIEW/KERNEL/common.h
>
20
#endif
21
22
#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
23
# include <
BALL/VIEW/DATATYPE/colorRGBA.h
>
24
#endif
25
26
#include <BALL/VIEW/UIC/ui_coloringSettingsDialog.h>
27
28
#include <vector>
29
30
namespace
BALL
31
{
32
class
PTE
;
33
34
namespace
VIEW
35
{
36
class
ColorProcessor;
37
38
43
class
BALL_VIEW_EXPORT
ColoringSettingsDialog
44
:
public
QWidget
,
45
public
Ui_ColoringSettingsDialogData,
46
public
PreferencesEntry
47
{
48
Q_OBJECT
49
50
public
:
51
53
ColoringSettingsDialog
(
QWidget
* parent = 0,
const
char
* name =
"ColoringSettings"
, Qt::WFlags fl = 0 );
54
56
virtual
~ColoringSettingsDialog
() {}
57
59
virtual
void
applySettingsTo(
ColorProcessor
& cp)
const
;
60
62
virtual
ColorProcessor
* createColorProcessor(
ColoringMethod
method)
const
63
throw
(
Exception::InvalidOption
);
64
66
virtual
void
getSettings(
const
ColorProcessor
& cp);
67
69
virtual
QWidget
* getEntryFor(
ColoringMethod
method);
70
72
virtual
vector<ColorRGBA> getColors(
ColoringMethod
method)
const
;
73
74
protected
slots:
75
76
virtual
void
maxDistanceChanged();
77
virtual
void
maxTFChanged();
78
virtual
void
forceMaxValueChanged();
79
virtual
void
forceMinValueChanged();
80
81
protected
:
82
83
virtual
void
setDefaultValues_();
84
};
85
86
} }
87
88
#endif
Generated by
1.8.1.2