MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrGui
sliderBar.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#ifndef sliderBar_H_
10
#define sliderBar_H_
11
12
#include <
lgrGui/lgrGui.h
>
13
14
#include <QString>
15
#include <QColor>
16
17
class
QPixmap;
18
class
QRectF;
19
20
namespace
MAKLogger
21
{
22
class
DtSliderBox;
23
25
class
DT_DLL_LGRGUI
DtSliderBar
26
{
27
public
:
28
30
DtSliderBar
();
31
33
DtSliderBar
(
float
start,
float
end);
34
36
virtual
~
DtSliderBar
();
37
39
float
start()
const
;
40
42
float
end()
const
;
43
45
float
width()
const
;
46
48
const
QString& name()
const
;
49
51
void
setName(
const
QString& aName);
52
54
const
QPixmap* image()
const
;
55
57
void
setImage(QPixmap*);
58
60
QColor color()
const
;
61
63
void
setColor(QColor c);
64
65
bool
selected()
const
;
66
void
setSelected(
bool
value);
67
68
bool
pressed()
const
;
69
void
setPressed(
bool
value);
70
71
void
setFixedSize(
bool
);
72
bool
fixedSize()
const
;
73
74
void
setStartEnd(
float
start,
float
end);
75
77
78
DtSliderBox
* startBox();
79
const
DtSliderBox
* startBox()
const
;
81
83
84
DtSliderBox
* endBox();
85
const
DtSliderBox
* endBox()
const
;
87
89
QRectF bounds(QRectF viewport)
const
;
90
92
QRectF boundsWithBoxes(QRectF viewport)
const
;
93
94
protected
:
95
96
QColor
myColor
;
97
98
float
myStartPosition
;
99
float
myEndPosition
;
100
101
DtSliderBox
*
myStartBox
;
102
DtSliderBox
*
myEndBox
;
103
104
QString
myName
;
105
QPixmap*
myImage
;
106
107
bool
mySelected
;
108
bool
myPressed
;
109
bool
myFixedSize
;
110
};
111
}
112
113
#endif
Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)