CFx SDK Documentation
2023 SP0
|
#include <FxUIDialogButtonBox.h>
Public Types | |
enum | StandardButton { NoButton = 0x00000000 , Ok = 0x00000400 , Save = 0x00000800 , SaveAll = 0x00001000 , Open = 0x00002000 , Yes = 0x00004000 , YesToAll = 0x00008000 , No = 0x00010000 , NoToAll = 0x00020000 , Abort = 0x00040000 , Retry = 0x00080000 , Ignore = 0x00100000 , Close = 0x00200000 , Cancel = 0x00400000 , Discard = 0x00800000 , Help = 0x01000000 , Apply = 0x02000000 , Reset = 0x04000000 , RestoreDefaults = 0x08000000 , FirstButton = Ok , LastButton = RestoreDefaults } |
typedef QFlags< StandardButton > | StandardButtons |
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 } |
Additional Inherited Members | |
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 CFxUIDialogButtonBox is a widget that contains buttons in a layout.
Definition at line 26 of file FxUIDialogButtonBox.h.
typedef QFlags<StandardButton> CFxUIDialogButtonBox::StandardButtons |
Definition at line 56 of file FxUIDialogButtonBox.h.
This enum type defines button types which can be used in this widget.
Definition at line 32 of file FxUIDialogButtonBox.h.
|
explicit |
Constructor
CFxUIDialogButtonBox::~CFxUIDialogButtonBox | ( | ) |
Destructor
CFxUISignal<void(void)>& CFxUIDialogButtonBox::accepted | ( | ) |
This signal is emitted when a button with accept() inside the button box is clicked.
CFxUIPushButton* CFxUIDialogButtonBox::button | ( | StandardButton | which | ) | const |
Returns the CFxUIPushButton corresponding to the standard button.
which | Input. |
CFxUISignal<void(CFxUIPushButton *button)>& CFxUIDialogButtonBox::clicked | ( | ) |
This signal is emitted when a button inside the button box is clicked.
CFxUISignal<void(void)>& CFxUIDialogButtonBox::helpRequest | ( | ) |
This signal is emitted when a button with help() inside the button box is clicked.
CFxUISignal<void(void)>& CFxUIDialogButtonBox::rejected | ( | ) |
This signal is emitted when a button with reject() inside the button box is clicked.
void CFxUIDialogButtonBox::setStandardButtons | ( | StandardButtons | buttons | ) |
Sets collection of standard buttons in the button box.
buttons | Input. |