FBEditPropertyModern Class Reference


Detailed Description

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.

Examples
UI/PropertyDrop.py
Inheritance diagram for FBEditPropertyModern:
Inheritance graph
[legend]

List of all members.

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.

Member Function Documentation

__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


Member Data Documentation

FBPropertyBase Property

Read Write Property: Property to edit.

Set to NULL to disable.

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.


FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern
FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern FBEditPropertyModern