|
CFx SDK Documentation 2026 SP0
|
#include <FxUIBalloon.h>
Public Member Functions | |
| CFxUIBalloon () | |
| ~CFxUIBalloon () | |
| void | addView (CFxUIBaseView *view) |
| CFxUIBaseView * | GetLayout () |
| void | show () |
| void | hide () |
| void | setVisible (bool bVisible) |
| bool | isVisible () |
| virtual void | showEvent (CFxUIShowEvent *event) |
| virtual void | hideEvent (CFxUIHideEvent *event) |
| void | resize (int w, int h) |
Public Member Functions inherited from CFxUIObject | |
| CFxUIObject () | |
| virtual | ~CFxUIObject () |
| FxNativeHandle | getHandle () const |
| void | setHandle (FxNativeHandle handle) |
| void | setParent (CFxUIObject *parent) |
| CFxUIObject * | parent () |
| const CFxUIObject * | parent () const |
| void | setObjectName (const CFxUIString &objectName) |
| CFxUIString | objectName () const |
| bool | setProperty (const char *name, const CFxUIVariant &value) |
| CFxUIVariant | property (const char *name) |
| CFxUIList< CFxUIObject * > | children () const |
| template<typename T> | |
| CFxUIList< T > | findChildren (const CFxUIString &name=CFxUIString()) |
| void | blockSignals (bool block) |
| bool | signalsBlocked () const |
Additional Inherited Members | |
Protected Member Functions inherited from CFxUIObject | |
| CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
| CFxUIObjectImpl * | m_pImpl |
| CFxUIObjectData * | m_pData |
Class CFxUIBalloon provides non-modal message containers which appear as balloons, usually in one corner of the screen. You can use layouts like CFxUIVerticalLayout for filling several UI elements into one balloon.
Definition at line 32 of file FxUIBalloon.h.
| CFxUIBalloon::CFxUIBalloon | ( | ) |
Constructor
| CFxUIBalloon::~CFxUIBalloon | ( | ) |
Destructor
| void CFxUIBalloon::addView | ( | CFxUIBaseView * | view | ) |
Adds a base view to the balloon. Views are vertically arranged when adding more than one base view.
| view | The base view to be added. |
| CFxUIBaseView * CFxUIBalloon::GetLayout | ( | ) |
Returns layout of the balloon.
| void CFxUIBalloon::hide | ( | ) |
Hides the balloon. Calling this method has the same effect as setVisible(false).
|
virtual |
This event handler can be reimplemented in a subclass to receive balloon hide events which are passed in the event parameter.
Hide events are sent to balloons immediately before they are hidden.
| bool CFxUIBalloon::isVisible | ( | ) |
Returns the visibility of the balloon.
| void CFxUIBalloon::resize | ( | int | w, |
| int | h ) |
Resize the balloon.
| w | The new width of the balloon, use -1 to keep the old width. |
| h | The new height of the balloon, use -1 to keep the old height definition. |
| void CFxUIBalloon::setVisible | ( | bool | bVisible | ) |
Sets the visibility of the balloon.
| bVisible | The balloon is made visible if the value of the parameter is true, otherwise it will be invisible. |
| void CFxUIBalloon::show | ( | ) |
Shows the balloon. Calling this method has the same effect as setVisible(true).
|
virtual |
This event handler can be reimplemented in a subclass to receive balloon show events which are passed in the event parameter.
Show events are sent to balloons immediately before they are shown.