libs/libksane/libksane
#include <labeled_fslider.h>
Public Slots | |
void | setRange (float, float) |
void | setStep (float) |
void | setSuffix (const QString &text) |
void | setValue (float) |
Signals | |
void | valueChanged (float) |
Public Member Functions | |
LabeledFSlider (QWidget *parent, const QString &text, float min, float max, float st) | |
~LabeledFSlider () | |
float | step () const |
float | value () const |
Public Member Functions inherited from KSaneIface::KSaneOptionWidget | |
KSaneOptionWidget (QWidget *parent, const QString &labelText) | |
~KSaneOptionWidget () | |
int | labelWidthHint () |
void | setLabelText (const QString &text) |
void | setLabelWidth (int labelWidth) |
Additional Inherited Members | |
Protected Attributes inherited from KSaneIface::KSaneOptionWidget | |
QLabel * | m_label |
QGridLayout * | m_layout |
Detailed Description
A combination of a label a slider and a spinbox.
The slider is connected to the spinbox so that they have the same value.
Definition at line 48 of file labeled_fslider.h.
Constructor & Destructor Documentation
KSaneIface::LabeledFSlider::LabeledFSlider | ( | QWidget * | parent, |
const QString & | text, | ||
float | min, | ||
float | max, | ||
float | st | ||
) |
Create the slider.
- Parameters
-
parent parent widget text is the text describing the slider value. If the text contains a '&', a buddy for the slider will be created. min minimum slider value max maximum slider value quant is the step between values.
Definition at line 39 of file labeled_fslider.cpp.
KSaneIface::LabeledFSlider::~LabeledFSlider | ( | ) |
Definition at line 92 of file labeled_fslider.cpp.
Member Function Documentation
|
slot |
Definition at line 101 of file labeled_fslider.cpp.
|
slot |
Definition at line 113 of file labeled_fslider.cpp.
|
slot |
Set the unit.
Definition at line 96 of file labeled_fslider.cpp.
|
slot |
Set the slider/spinbox value.
Definition at line 134 of file labeled_fslider.cpp.
|
inline |
Definition at line 72 of file labeled_fslider.h.
|
inline |
- Returns
- the slider value.
Definition at line 71 of file labeled_fslider.h.
|
signal |
Emit the slider value changes.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.