ItemDouble Class Reference
from PyKDE4.kdecore import *
Inherits: KConfigSkeletonItem
Namespace: KCoreConfigSkeleton
Detailed Description
Class for handling a floating point preference item.
Methods |
| __init__ (self, QString _group, QString _key, float reference, float defaultValue=0) |
bool | isEqual (self, QVariant p) |
QVariant | maxValue (self) |
QVariant | minValue (self) |
QVariant | property (self) |
| readConfig (self, KConfig config) |
| readDefault (self, KConfig config) |
| setDefault (self) |
| setDefaultValue (self, float v) |
| setMaxValue (self, float a0) |
| setMinValue (self, float a0) |
| setProperty (self, QVariant p) |
| setValue (self, float v) |
| swapDefault (self) |
float | value (self) |
| writeConfig (self, KConfig config) |
Method Documentation
__init__ |
( |
self, |
|
|
|
QString |
_group, |
|
|
QString |
_key, |
|
|
float |
reference, |
|
|
float |
defaultValue=0 |
|
) |
|
|
|
KConfigSkeletonGenericItem.KConfigSkeletonGenericItem
KConfigSkeletonItem.isEqual(const QVariant &) const
KConfigSkeletonItem.property()
readConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
KConfigSkeletonItem.readConfig(KConfig*)
readDefault |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|
setDefaultValue |
( |
self, |
|
|
|
float |
v |
|
) |
|
|
|
setMaxValue |
( |
self, |
|
|
|
float |
a0 |
|
) |
|
|
|
setMinValue |
( |
self, |
|
|
|
float |
a0 |
|
) |
|
|
|
KConfigSkeletonItem.setProperty(const QVariant&)
setValue |
( |
self, |
|
|
|
float |
v |
|
) |
|
|
|
writeConfig |
( |
self, |
|
|
|
KConfig |
config |
|
) |
|
|
|