wxUIntProperty Class Reference
Basic property with unsigned integer value. Seamlessly supports 64-bit integer (wxULongLong) on overflow.
More...
#include <props.h>
List of all members.
Detailed Description
Basic property with unsigned integer value. Seamlessly supports 64-bit integer (wxULongLong) on overflow.
Supported special attributes:
- "Min", "Max": Specify acceptable value range.
- "Base": Define base. Valid constants are wxPG_BASE_OCT, wxPG_BASE_DEC, wxPG_BASE_HEX and wxPG_BASE_HEXL (lowercase characters). Arbitrary bases are not supported.
- "Prefix": Possible values are wxPG_PREFIX_NONE, wxPG_PREFIX_0x, and wxPG_PREFIX_DOLLAR_SIGN. Only wxPG_PREFIX_NONE works with Decimal and Octal numbers.
Definition at line 442 of file props.h.
Constructor & Destructor Documentation
wxUIntProperty::wxUIntProperty |
( |
const wxString & |
label = wxPG_LABEL , |
|
|
const wxString & |
name = wxPG_LABEL , |
|
|
unsigned long |
value = 0 | |
|
) |
| | |
virtual wxUIntProperty::~wxUIntProperty |
( |
|
) |
[virtual] |
wxUIntProperty::wxUIntProperty |
( |
const wxString & |
label, |
|
|
const wxString & |
name, |
|
|
const wxULongLong & |
value | |
|
) |
| | |
Member Function Documentation
void wxUIntProperty::Init |
( |
|
) |
[private] |
virtual bool wxUIntProperty::IntToValue |
( |
wxVariant & |
value, |
|
|
int |
number, |
|
|
int |
argFlags = 0 | |
|
) |
| | const [virtual] |
Converts 'number' (including choice selection) into proper value 'variant'. Returns true if new (different than m_value) value could be interpreted from the integer.
- Parameters:
-
| argFlags | If wxPG_FULL_VALUE is set, returns complete, storable value instead of displayable |
Reimplemented from wxPGProperty.
virtual bool wxUIntProperty::ValidateValue |
( |
wxVariant & |
value, |
|
|
wxPGValidationInfo & |
validationInfo | |
|
) |
| | const [virtual] |
Implement this function in derived class to check the value. Return true if it is ok. Returning false prevents property change events from occurring.
Reimplemented from wxPGProperty.
Member Data Documentation
The documentation for this class was generated from the following file: