#include <mgui/ctrl.h>
Inheritance diagram for MGUI::FORM_EDIT_RANGE:

Public Member Functions | |
| void | ClearValue (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, const DOUBLE_RANGE &dft, double min, double max, double mininterval=0, int places=0, int width=0, CTRL_EDIT_NUMBER::FLAGS flags=CTRL_EDIT_NUMBER::FLAG_Default, CTRL_EDIT_NUMBER::FORMAT format=CTRL_EDIT_NUMBER::FORMAT_Decimal, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, const DOUBLE_RANGE &dft, double min, double max, double mininterval=0, int places=0, int width=0, CTRL_EDIT_NUMBER::FLAGS flags=CTRL_EDIT_NUMBER::FLAG_Default, CTRL_EDIT_NUMBER::FORMAT format=CTRL_EDIT_NUMBER::FORMAT_Decimal, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const DOUBLE_RANGE &dft, double min, double max, double mininterval=0, int places=0, int width=0, CTRL_EDIT_NUMBER::FLAGS flags=CTRL_EDIT_NUMBER::FLAG_Default, CTRL_EDIT_NUMBER::FORMAT format=CTRL_EDIT_NUMBER::FORMAT_Decimal, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize) |
| FORM_EDIT_RANGE () | |
| MGUI::CTRL_LABEL & | GetLabel () |
| const DOUBLE_RANGE & | GetRange () const |
| DOUBLE_RANGE | GetValue () |
| bool | HasValue () |
| void | SetAutoSwap (bool AutoSwap=true) |
| void | SetFormat (CTRL_EDIT_NUMBER::FORMAT format, int places=-1) |
| void | SetLabel (const MISTRING &label) |
| void | SetLabel (const char *label) |
| void | SetLatLonFormat (DEGTOSTRFLAGS flags) |
| bool | SetMinInterval (double MinInterval, bool notify=true) |
| bool | SetRange (const DOUBLE_RANGE &range, bool notify=true, CTRL_EDIT_NUMBER::FLAGS flags=CTRL_EDIT_NUMBER::FLAG_Default) |
| void | SetReadOnly (bool ReadOnly=true) |
| void | SetUnitConversion (const UNITCONV &unitconv) |
| void | SetValue (const DOUBLE_RANGE &value, bool notify=true) |
| virtual | ~FORM_EDIT_RANGE () |
Private Member Functions | |
| virtual void | OnChangeValue () |
Definition at line 1995 of file ctrl.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear the value.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Create the form with Unicode label.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Create the form with label from resource lookup.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Create form with no label.
|
|
|
Retrieve label control for form. Usually the label control is only retrieved for alignment purposes. |
|
|
Get allowed numeric range.
|
|
|
Get current value.
|
|
|
Determine if has valid value.
|
|
|
Called when value is changed after validation.
|
|
|
Set whether to automatically swap values if minimum > maximum.
|
|
||||||||||||
|
Set format for showing/entering values. Setting to Latitude, Longitude or DegMinSec will also adjust range.
|
|
|
Set label text from Unicode string.
|
|
|
Set label text using string from resource lookup.
|
|
|
Set format for displaying latitude/longitude values.
|
|
||||||||||||
|
Set minimum allowed interval between minimum and maximum.
|
|
||||||||||||||||
|
Set allowed range.
|
|
|
Set whether value is read-only or not.
|
|
|
Set unit conversion for displayed value.
|
|
||||||||||||
|
Set current value.
|
1.3.8-20040913