|
CFx SDK Documentation
2020SP3
|
#include <FxUIRadioButton.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 CFxUI type radio button.
Definition at line 27 of file FxUIRadioButton.h.
| CFxUIRadioButton::CFxUIRadioButton | ( | ) |
Constructor
| CFxUIRadioButton::~CFxUIRadioButton | ( | ) |
Destructor
| CFxUISignal<void(void)>& CFxUIRadioButton::clicked | ( | ) |
Signal is emitted when the button pressed down then released while the mouse cursor is inside the radio button.
| bool CFxUIRadioButton::isChecked | ( | ) | const |
Returns if radio button is checked.
| CFxUISignal< void(int, int) >& CFxUIRadioButton::keyWentDown | ( | ) |
Signal is emitted whenever a key is pressed.
| CFxUISignal<void(void)>& CFxUIRadioButton::released | ( | ) |
Signal is emitted when the button is released while the mouse cursor is inside the radio button.
| void CFxUIRadioButton::setChecked | ( | bool | bChecked | ) |
Set the radio button checked.
Only checkable controls can be checked.
| bChecked | The control is set to checked only if the value of the parameter is true. |
| void CFxUIRadioButton::setText | ( | const CFxUIString & | str | ) |
Sets the text.
| str | Input |
| const CFxUIString& CFxUIRadioButton::text | ( | ) | const |
Returns the text.
| CFxUISignal<void(bool)>& CFxUIRadioButton::toggled | ( | ) |
Signal is emitted whenever the check box's state changes, i.e. whenever the user checks or unchecks it.