Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPinOptions class provides information about a pin that may be useful in determining the type of user interface to use. More...
#include <QPinOptions>
The QPinOptions class provides information about a pin that may be useful in determining the type of user interface to use.
Pin options are sent to client applications as a parameter to the QPinManager::pinStatus() signal.
See also QPinManager.
This enum defines the format of a pin, as a hint to input widgets as to what type of characters are valid within the pin.
Constant | Value | Description |
---|---|---|
QPinOptions::Number | 0 | the widget needs numeric input. |
QPinOptions::PhoneNumber | 1 | the widget needs phone-style numeric input. |
QPinOptions::Words | 2 | the widget needs word input. |
QPinOptions::Text | 3 | the widget needs non-word input. |
Construct an empty pin options block with default values.
Construct a copy of other.
Destroy this pin options block.
Returns true if the request can be canceled by the user and normal modem operations will continue after failing the current operation. If this returns false, then the user must supply a pin for normal modem operations to proceed.
See also setCanCancel().
Returns the format of the pin. The default value is QPinManager::Number.
See also setFormat().
Returns the maximum length of pin to be supplied. The default value is 32.
See also setMaxLength().
Returns the minimum length of pin to be supplied. The default value is zero.
See also setMinLength().
Returns the prompt to display to the user. May be the empty string if the prompt is implicitly specified by the pin type. The default value is an empty string.
See also setPrompt().
Sets the pin cancel state to value.
See also canCancel().
Sets the pin format to value.
See also format().
Sets the maximum pin length to value.
See also maxLength().
Sets the minimum pin length to value.
See also minLength().
Sets the prompt to value.
See also prompt().
Make a copy of other.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |