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);