libs/libksane/libksane
#include <ksane_opt_checkbox.h>
Signals | |
void | buttonPressed (const QString &optionName, const QString &optionLabel, bool pressed) |
Signals inherited from KSaneIface::KSaneOption | |
void | optsNeedReload () |
void | valsNeedReload () |
Public Member Functions | |
KSaneOptCheckBox (const SANE_Handle handle, const int index) | |
void | createWidget (QWidget *parent) |
bool | getValue (float &val) |
bool | getValue (QString &val) |
bool | hasGui () |
void | readValue () |
bool | setValue (float val) |
bool | setValue (const QString &val) |
Public Member Functions inherited from KSaneIface::KSaneOption | |
KSaneOption (const SANE_Handle handle, const int index) | |
~KSaneOption () | |
virtual bool | getMaxValue (float &max) |
virtual bool | getMinValue (float &max) |
virtual int | getUnit () |
QString | name () |
bool | needsPolling () |
virtual void | readOption () |
bool | restoreSavedData () |
KSaneOptWState | state () |
bool | storeCurrentData () |
KSaneOptionWidget * | widget () |
Additional Inherited Members | |
Public Types inherited from KSaneIface::KSaneOption | |
enum | KSaneOptType { TYPE_DETECT_FAIL, TYPE_CHECKBOX, TYPE_SLIDER, TYPE_F_SLIDER, TYPE_COMBO, TYPE_ENTRY, TYPE_GAMMA, TYPE_BUTTON } |
enum | KSaneOptWState { STATE_HIDDEN, STATE_DISABLED, STATE_SHOWN } |
Static Public Member Functions inherited from KSaneIface::KSaneOption | |
static KSaneOptType | optionType (const SANE_Option_Descriptor *optDesc) |
Protected Member Functions inherited from KSaneIface::KSaneOption | |
void | fromSANE_Word (unsigned char *data, SANE_Word from) |
SANE_Word | toSANE_Word (unsigned char *data) |
QString | unitDoubleString () |
KLocalizedString | unitString () |
void | updateVisibility () |
bool | writeData (void *data) |
Protected Attributes inherited from KSaneIface::KSaneOption | |
unsigned char * | m_data |
SANE_Handle | m_handle |
int | m_index |
const SANE_Option_Descriptor * | m_optDesc |
KSaneOptionWidget * | m_widget |
Detailed Description
Definition at line 38 of file ksane_opt_checkbox.h.
Constructor & Destructor Documentation
KSaneIface::KSaneOptCheckBox::KSaneOptCheckBox | ( | const SANE_Handle | handle, |
const int | index | ||
) |
Definition at line 43 of file ksane_opt_checkbox.cpp.
Member Function Documentation
|
signal |
|
virtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 48 of file ksane_opt_checkbox.cpp.
|
virtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 100 of file ksane_opt_checkbox.cpp.
|
virtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 115 of file ksane_opt_checkbox.cpp.
|
inlinevirtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 53 of file ksane_opt_checkbox.h.
|
virtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 78 of file ksane_opt_checkbox.cpp.
|
virtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 107 of file ksane_opt_checkbox.cpp.
|
virtual |
Reimplemented from KSaneIface::KSaneOption.
Definition at line 122 of file ksane_opt_checkbox.cpp.
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:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.