15 #include <vlutil/vlSmartPointers.h>
47 QRectF bounds(QRectF viewport)
const;
51 bool rightBox()
const;
55 float width()
const {
return myWidth; }
56 float height()
const {
return myHeight; }
58 inline bool selected()
const {
return mySelected; }
59 inline bool pressed()
const {
return myPressed;}
65 void setRelativePosition(
float relPosition);
66 void restorePosition();
75 void setPosition(
float position);
76 void setWidth(
float width);
77 void setHeight(
float height);
78 void setSelected(
bool selected);
79 void setPressed(
bool selected);
80 void setOrientation( BoxOrientation);
81 void setPositionNoEmit(
float position);
84 void positionChanged(
float);
85 void widthChanged(
float);
86 void heightChanged(
float);
87 void selectedChanged(
bool);
88 void pressedChanged(
bool);
89 void orientationChanged(BoxOrientation);
bool myPressed
Definition: sliderBox.h:98
float width() const
Definition: sliderBox.h:55
DtBoost::weak_ptr< DtSliderBar > DtSliderBarWP
Definition: sliderBox.h:24
float myHeight
Definition: sliderBox.h:95
DtBoost::shared_ptr< DtSliderBar > DtSliderBarSP
Definition: sliderBox.h:22
Used to manage a bar between a start and an end of a slider bar.
Definition: sliderBar.h:25
const DtSliderBar * bar() const
Definition: sliderBox.h:61
float myWidth
Definition: sliderBox.h:94
BoxOrientation
Definition: sliderBox.h:33
Represents a box within a slider.
Definition: sliderBox.h:27
bool selected() const
Definition: sliderBox.h:58
Definition: sliderBox.h:35
Definition: sliderBox.h:36
bool pressed() const
Definition: sliderBox.h:59
bool mySelected
Definition: sliderBox.h:97
float height() const
Definition: sliderBox.h:56
DtSliderBar * bar()
Definition: sliderBox.h:60
BoxOrientation myOrientation
Definition: sliderBox.h:100
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
float position() const
Definition: sliderBox.h:53
Defines INPORT/EXPORT macros for lgrGui library.
float myPosition
Definition: sliderBox.h:92
BoxOrientation orientation() const
Definition: sliderBox.h:62
float savedPosition() const
Definition: sliderBox.h:54
DtSliderBar * myBar
Definition: sliderBox.h:99
float mySavedPosition
Definition: sliderBox.h:93