CFx SDK Documentation
2020SP3
|
#include <FxUIDockWidget.h>
Additional Inherited Members | |
Public Types inherited from CFxUIBaseView | |
enum | TextAlignment { AlignLeft = 0x0001, AlignRight = 0x0002, AlignHCenter = 0x0004, AlignJustify = 0x0008, AlignTop = 0x0020, AlignBottom = 0x0040, AlignVCenter = 0x0080, AlignBaseline = 0x0100, AlignCenter = AlignVCenter | AlignHCenter } |
enum | FocusPolicyType { eNoFocus = 0, eTabFocus = 0x1, eClickFocus = 0x2, eStrongFocus = eTabFocus | eClickFocus | 0x8, eWheelFocus = eStrongFocus | 0x4, eKeyboardOnSetfocus = 0x10 } |
enum | UIWidthSizePolicy { eXS = 0, eS, eM, eL, eXL } |
Static Public Member Functions inherited from CFxUIBaseView | |
static void | setTabOrder (CFxUIObject *first, CFxUIObject *second) |
Protected Member Functions inherited from CFxUIObject | |
CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
CFxUIObjectImpl * | m_pImpl |
CFxUIObjectData * | m_pData |
Class CFxUIDockWidget provides the concept of dock widgets, also know as tool palettes or utility windows.
Dock windows are secondary windows placed in the dock widget area around the central widget in main window.
Definition at line 27 of file FxUIDockWidget.h.
|
explicit |
Constructor.
iArea | The parameter passed defines the area where the widget have to be placed i.e leftDcokWidgetArea, rightDockWidgetArea, bottomDockWidgetArea, topDockWidgetArea. |
|
virtual |
Destructor
|
virtual |
This event handler can be reimplemented in a subclass to receive view hide events. The event is passed in the event parameter.
e | Pointer the hide events. |
Reimplemented from CFxUIBaseView.
void CFxUIDockWidget::raise | ( | ) |
void CFxUIDockWidget::setTitle | ( | const CFxUIString & | title | ) |
Sets the title of dock widget.
text | Input |
void CFxUIDockWidget::setWidget | ( | CFxUIBaseView * | widget | ) |
Sets the widget for the dock widget to widget.
If the dock widget is visible when widget is added, you must show() it explicitly.
Add the layout of the widget before you call this function; if not, the widget will not be visible.
widget | Pointer to the widget. |
|
virtual |
This event handler can be reimplemented in a subclass to receive view show events which are passed in the event parameter.
e | Pointer to the show events. |
Reimplemented from CFxUIBaseView.
CFxUIBaseView* CFxUIDockWidget::widget | ( | ) |
Returns the widget for the dock widget.
const CFxUIBaseView* CFxUIDockWidget::widget | ( | ) | const |