34class SoFloatCallbackList;
58 SoQtSlider( QWidget* parent = NULL,
59 const char *name = NULL,
112 QWidget* buildWidget(QWidget* parent, SoQtBasicSlider::Type t = SoQtBasicSlider::PLAIN_SLIDER);
119 QPointer<QWidget> mgrWidget;
120 QPointer<QLineEdit> numberWidget;
121 QPointer<QLabel> labelWidget;
128 void constructorCommon(
SbBool buildNow);
133 void sliderChanged(
float val);
134 static void sliderChangedCB(
void *p,
float val) { ((SoQtSlider*)p)->sliderChanged (val); };
136 static void sliderStartCB(
void *p,
float val);
138 static void sliderStopCB(
void *p,
float val);
139 static void textFieldCB(QWidget*, SoQtSlider *,
XtPointer);
143 void textChangedSlot();
158SoQtSlider::sliderStartCB(
void *p,
float )
160 ((SoQtSlider*)p)->sliderStart ();
164SoQtSlider::sliderStopCB(
void *p,
float )
166 ((SoQtSlider*)p)->sliderStop ();
#define TRUE
Possible value of SbBool.
SoQtBasicSlider(QWidget *parent, Type t)
void setNumericFieldVisible(SbBool b=TRUE)
void addFinishCallback(SoQtSliderCB *f, void *userData=NULL)
SbBool isNumericFieldVisible() const
void valueChanged(float value)
const QString & getLabel() const
void addStartCallback(SoQtSliderCB *f, void *userData=NULL)
void setLabel(const QString &)
void setSliderSize(const SbVec2s &size)
void addValueChangedCallback(SoQtSliderCB *f, void *userData=NULL)
void interactivity(SbBool flag)
void removeValueChangedCallback(SoQtSliderCB *f, void *userData=NULL)
void removeFinishCallback(SoQtSliderCB *f, void *userData=NULL)
void removeStartCallback(SoQtSliderCB *f, void *userData=NULL)
void SoQtSliderCB(void *userData, float val)