KSaneCore
option.cpp
OptionState state() const
This function returns the state of the option indicating if the function is disabled or should be hid...
Definition option.cpp:24
OptionType type() const
This function the type of the option as determined by KSANECore.
Definition option.cpp:60
OptionUnit valueUnit() const
This function returns an enum specifying whether the values of the option have a unit,...
Definition option.cpp:123
QVariantList internalValueList() const
This function returns the list of possible values if the option is of type OptionType::TypeValueList.
Definition option.cpp:105
QVariant minimumValue() const
This function returns the minimum value for the option.
Definition option.cpp:69
bool setValue(const QVariant &value)
This slot allows to change the current value of the option.
Definition option.cpp:141
QVariant stepValue() const
This function returns the step value for the option.
Definition option.cpp:87
bool storeCurrentData()
This function temporarily stores the current value in a member variable.
Definition option.cpp:150
int valueSize() const
This function returns the size of the values of the option of type CoreOptionType::TypeValueList.
Definition option.cpp:132
OptionState
This enumeration describes the current statue of the value of the option, indicating if this option s...
Definition option.h:46
QVariantList valueList() const
This function returns the list of possible values if the option is of type OptionType::TypeValueList.
Definition option.cpp:96
QString title() const
This function returns the translated title of the option.
Definition option.cpp:42
QVariant value() const
This function returns the currently active value for the option.
Definition option.cpp:114
QString description() const
This function returns a more verbose, translated description of the option.
Definition option.cpp:51
QVariant maximumValue() const
This function returns the maximum value for the option.
Definition option.cpp:78
bool restoreSavedData()
This function restores the previously saved value and makes it the current value.
Definition option.cpp:159
OptionUnit
This enumeration describes the unit of the value of the option, if any.
Definition option.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.