Visual Component base class. More...
Public Member Functions | |
FBVisualComponent () | |
Constructor. More... | |
bool | AddChild (FBVisualComponent pChild, int pId=0) |
Add a child component. More... | |
FBVisualComponent | GetChild (int pId=0) |
Get a child component. More... | |
QWidget | GetQWidgetAddress () |
Get internal QWidget. More... | |
bool | IsView () |
Is component a view? More... | |
Refresh (bool pNow=False) | |
Refresh component. More... | |
ViewExpose () | |
Exposed view callback function. More... | |
ViewInput (int pMouseX, int pMouseY, FBInputType pAction, int pButtonKey, int pModifier) | |
Input callback function. More... | |
Public Attributes | |
str | RegionName |
Read Write Property: Region name. More... | |
int | RegionOffsetX |
Read Write Property: Region X offset. More... | |
int | RegionOffsetY |
Read Write Property: Region Y offset. More... | |
int | RegionOffsetWidth |
Read Write Property: Region width offset. More... | |
int | RegionOffsetHeight |
Read Write Property: Region height offset. More... | |
float | RegionRatioX |
Read Write Property: Ratio for X attachment. More... | |
float | RegionRatioY |
Read Write Property: Ratio for Y attachment. More... | |
float | RegionRatioWidth |
Read Write Property: Ratio for Width attachment. More... | |
float | RegionRatioHeight |
Read Write Property: Ratio for Height attachment. More... | |
FBAttachType | RegionAttachTypeX |
Read Write Property: X Attachment type. More... | |
FBAttachType | RegionAttachTypeY |
Read Write Property: Y Attachment type. More... | |
FBAttachType | RegionAttachTypeWidth |
Read Write Property: Width Attachment type. More... | |
FBAttachType | RegionAttachTypeHeight |
Read Write Property: Height Attachment type. More... | |
FBVisualComponent | RegionAttachToX |
Read Write Property X Attachment source. More... | |
FBVisualComponent | RegionAttachToY |
Read Write Property: Y Attachment source. More... | |
FBVisualComponent | RegionAttachToWidth |
Read Write Property: Width Attachment source. More... | |
FBVisualComponent | RegionAttachToHeight |
Read Write Property: Height Attachment source. More... | |
int | RegionPosMaxX |
Read Write Property: Region X position Max More... | |
int | RegionPosMinX |
Read Write Property: Region X position Min More... | |
int | RegionPosMaxY |
Read Write Property: Region Y position Max More... | |
int | RegionPosMinY |
Read Write Property: Region Y position Min More... | |
str | BorderCaption |
Read Write Property: Caption to display in border. More... | |
bool | BorderShowCaption |
Read Write Property: Show caption? More... | |
FBBorderStyle | BorderStyle |
Read Write Property: Style of border. More... | |
bool | BorderInSet |
Read Write Property: Is border inset? More... | |
int | BorderWidth |
Read Write Property: Width of border. More... | |
int | BorderSpacing |
Read Write Property: Spacing of border. More... | |
float | BorderMaxAngle |
Read Write Property: Max angle for rounding. More... | |
int | BorderCornerRadius |
Read Write Property: Corner radius (rounded). More... | |
str | Caption |
Property: Widget caption. More... | |
bool | Enabled |
Read Write Property: Is visual enabled? More... | |
int | Height |
Read Write Property: Height. More... | |
str | Hint |
Read Write Property: Hint to show. More... | |
int | Left |
Read Write Property: Left coordinate. More... | |
bool | ReadOnly |
Read Write Property: Is visual component read only? More... | |
int | Top |
Read Write Property: Top coordinate. More... | |
bool | Visible |
Read Write Property: Is visual component visible? More... | |
int | Width |
Read Write Property: Width. More... | |
Visual Component base class.
All of the user interface elements available in the SDK derive from this class.
Constructor.
bool AddChild | ( | FBVisualComponent | pChild, |
int | pId = 0 |
||
) |
Add a child component.
pChild | Visual component to add as a child. |
pId | User reference number to associate with pChild(default=0). |
FBVisualComponent GetChild | ( | int | pId = 0 | ) |
Get a child component.
pId | User reference number to look for child with(default=0). |
QWidget GetQWidgetAddress | ( | ) |
Get internal QWidget.
bool IsView | ( | ) |
Is component a view?
Refresh | ( | bool | pNow = False | ) |
Refresh component.
pNow | Refresh immediately if true (default = false). |
ViewExpose | ( | ) |
Exposed view callback function.
ViewInput | ( | int | pMouseX, |
int | pMouseY, | ||
FBInputType | pAction, | ||
int | pButtonKey, | ||
int | pModifier | ||
) |
Input callback function.
pMouseX | Mouse X position. |
pMouseY | Mouse Y position. |
pAction | Mouse action. |
pButtonKey | Keyboard input. |
pModifier | Keyboard input modifier. |
str BorderCaption |
Read Write Property: Caption to display in border.
int BorderCornerRadius |
Read Write Property: Corner radius (rounded).
bool BorderInSet |
Read Write Property: Is border inset?
float BorderMaxAngle |
Read Write Property: Max angle for rounding.
bool BorderShowCaption |
Read Write Property: Show caption?
int BorderSpacing |
Read Write Property: Spacing of border.
FBBorderStyle BorderStyle |
Read Write Property: Style of border.
int BorderWidth |
Read Write Property: Width of border.
str Caption |
Property: Widget caption.
bool Enabled |
Read Write Property: Is visual enabled?
int Height |
Read Write Property: Height.
str Hint |
Read Write Property: Hint to show.
int Left |
Read Write Property: Left coordinate.
bool ReadOnly |
Read Write Property: Is visual component read only?
FBVisualComponent RegionAttachToHeight |
Read Write Property: Height Attachment source.
FBVisualComponent RegionAttachToWidth |
Read Write Property: Width Attachment source.
FBVisualComponent RegionAttachToX |
Read Write Property X Attachment source.
FBVisualComponent RegionAttachToY |
Read Write Property: Y Attachment source.
FBAttachType RegionAttachTypeHeight |
Read Write Property: Height Attachment type.
FBAttachType RegionAttachTypeWidth |
Read Write Property: Width Attachment type.
FBAttachType RegionAttachTypeX |
Read Write Property: X Attachment type.
FBAttachType RegionAttachTypeY |
Read Write Property: Y Attachment type.
str RegionName |
Read Write Property: Region name.
int RegionOffsetHeight |
Read Write Property: Region height offset.
int RegionOffsetWidth |
Read Write Property: Region width offset.
int RegionOffsetX |
Read Write Property: Region X offset.
int RegionOffsetY |
Read Write Property: Region Y offset.
int RegionPosMaxX |
Read Write Property: Region X position Max
int RegionPosMaxY |
Read Write Property: Region Y position Max
int RegionPosMinX |
Read Write Property: Region X position Min
int RegionPosMinY |
Read Write Property: Region Y position Min
float RegionRatioHeight |
Read Write Property: Ratio for Height attachment.
float RegionRatioWidth |
Read Write Property: Ratio for Width attachment.
float RegionRatioX |
Read Write Property: Ratio for X attachment.
float RegionRatioY |
Read Write Property: Ratio for Y attachment.
int Top |
Read Write Property: Top coordinate.
bool Visible |
Read Write Property: Is visual component visible?
int Width |
Read Write Property: Width.