Object name edit form with label and edit field. More...
#include <rvc/uieditobjectname.h>

Public Member Functions | |
| FORM_EDIT_OBJECTNAME () | |
| virtual | ~FORM_EDIT_OBJECTNAME () |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| CTRL_EDIT_OBJECTNAME & | GetEditCtrl () |
| MGUI::CTRL_LABEL & | GetLabel () |
| const RVC::OBJECTNAME & | GetValue () const |
| void | SetValue (const RVC::OBJECTNAME &name, bool notify=true) |
Object name edit form with label and edit field.
| RVC::UI::FORM_EDIT_OBJECTNAME::FORM_EDIT_OBJECTNAME | ( | ) |
Constructor.
| virtual RVC::UI::FORM_EDIT_OBJECTNAME::~FORM_EDIT_OBJECTNAME | ( | ) | [virtual] |
Destructor.
| void RVC::UI::FORM_EDIT_OBJECTNAME::Create | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| const MISTRING & | label, | |||
| MGUI::LAYOUT_SIZEALIGN | sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize, |
|||
| MGUI::CTRL_LABEL::STYLE | labelstyle = MGUI::CTRL_LABEL::STYLE_LeftNoWrap | |||
| ) |
Create form with label from resource lookup.
| ParentPane | Parent pane | |
| label | Label |
| CTRL_EDIT_OBJECTNAME& RVC::UI::FORM_EDIT_OBJECTNAME::GetEditCtrl | ( | ) | [inline] |
Retrieve string "edit" control for form.
Use to configure control, set delegate, etc.
| MGUI::CTRL_LABEL& RVC::UI::FORM_EDIT_OBJECTNAME::GetLabel | ( | ) | [inline] |
Retrieve label control for form.
Usually the label control is only retrieved for alignment purposes.
| const RVC::OBJECTNAME& RVC::UI::FORM_EDIT_OBJECTNAME::GetValue | ( | ) | const [inline] |
Get current string value.
Equivalent to GetEditCtrl().GetValue().
| void RVC::UI::FORM_EDIT_OBJECTNAME::SetValue | ( | const RVC::OBJECTNAME & | name, | |
| bool | notify = true | |||
| ) | [inline] |
No comparison is made with the current string value.
Equivalent to GetEditCtrl().SetValue(...).
| name | New string to set | |
| notify | Call OnChangeValue() if string actually updated |
1.6.1