CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxUIBalloon Class Reference

#include <FxUIBalloon.h>

Inheritance diagram for CFxUIBalloon:
CFxUIObject

Public Member Functions

 CFxUIBalloon ()
 
 ~CFxUIBalloon ()
 
void addView (CFxUIBaseView *view)
 
CFxUIBaseViewGetLayout ()
 
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)
 
CFxUIObjectparent ()
 
const CFxUIObjectparent () 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
CFxUIObjectsender ()
 
- Protected Attributes inherited from CFxUIObject
CFxUIObjectImpl * m_pImpl
 
CFxUIObjectData * m_pData
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CFxUIBalloon()

CFxUIBalloon::CFxUIBalloon ( )

Constructor

◆ ~CFxUIBalloon()

CFxUIBalloon::~CFxUIBalloon ( )

Destructor

Member Function Documentation

◆ addView()

void CFxUIBalloon::addView ( CFxUIBaseView * view)

Adds a base view to the balloon. Views are vertically arranged when adding more than one base view.

Parameters
viewThe base view to be added.

◆ GetLayout()

CFxUIBaseView * CFxUIBalloon::GetLayout ( )

Returns layout of the balloon.

Returns
The balloon's layout.

◆ hide()

void CFxUIBalloon::hide ( )

Hides the balloon. Calling this method has the same effect as setVisible(false).

◆ hideEvent()

virtual void CFxUIBalloon::hideEvent ( CFxUIHideEvent * event)
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.

◆ isVisible()

bool CFxUIBalloon::isVisible ( )

Returns the visibility of the balloon.

Returns
Boolean value describing if the balloon is currently visible.

◆ resize()

void CFxUIBalloon::resize ( int w,
int h )

Resize the balloon.

Parameters
wThe new width of the balloon, use -1 to keep the old width.
hThe new height of the balloon, use -1 to keep the old height definition.

◆ setVisible()

void CFxUIBalloon::setVisible ( bool bVisible)

Sets the visibility of the balloon.

Parameters
bVisibleThe balloon is made visible if the value of the parameter is true, otherwise it will be invisible.

◆ show()

void CFxUIBalloon::show ( )

Shows the balloon. Calling this method has the same effect as setVisible(true).

◆ showEvent()

virtual void CFxUIBalloon::showEvent ( CFxUIShowEvent * event)
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.


The documentation for this class was generated from the following file: