Property editor widget.
This is a more modern version of the widget FBEditProperty which is used in the property editor tool of the application.
See class FBEditProperty for more details.
Public Member Functions |
|
__init__ () | |
Constructor. |
|
SetBackgroundColorIndex (FBColorIndex pIndex) | |
Set the background color index. |
|
Public Attributes |
|
FBPropertyBase | Property |
Read Write Property: Property to
edit. |
|
FBPropertyBase | SliderMin |
Read Write Property: Should the
property be editable using a slider, set the minimum value
atainable with the slider. |
|
FBPropertyBase | SliderMax |
Read Write Property: Should the
property be editable using a slider, set the maximum value
atainable with the slider. |
|
FBPropertyBase | SmallInc |
Read Write Property: Indicate the
small increment applied when click-draging on the property value
(usually right-click-dragging). |
|
FBPropertyBase | LargeInc |
Read Write Property: Indicate the
large increment applied when click-draging on the property value
(usually left-click-dragging). |
|
FBPropertyBase | Precision |
Read Write Property: Used to specify
the width and precision of the value shown. |
__init__ | ( | ) |
SetBackgroundColorIndex | ( | FBColorIndex | pIndex | ) |
Set the background color index.
Use the system-defined color palette to set the backgound color. By default the color used is kFBColorIndexStdListBg1
FBPropertyBase Property |
FBPropertyBase SliderMin |
Read Write Property: Should the property be editable using a slider, set the minimum value atainable with the slider.
FBPropertyBase SliderMax |
Read Write Property: Should the property be editable using a slider, set the maximum value atainable with the slider.
FBPropertyBase SmallInc |
Read Write Property: Indicate the small increment applied when click-draging on the property value (usually right-click-dragging).
FBPropertyBase LargeInc |
Read Write Property: Indicate the large increment applied when click-draging on the property value (usually left-click-dragging).
FBPropertyBase Precision |
Read Write Property: Used to specify the width and precision of the value shown.
A value of 7.2 indicates to show at minimum 7 numbers, with 2 decimals.