#include <dataforms.h>
|
enum | ButtonRole {
InvalidRole = -1,
AcceptRole,
RejectRole,
DestructiveRole,
ActionRole,
HelpRole,
YesRole,
NoRole,
ResetRole,
ApplyRole,
NRoles
} |
|
typedef QList< Button > | Buttons |
|
enum | StandardButton {
NoButton = 0x00000000,
Ok = 0x00000400,
Save = 0x00000800,
SaveAll = 0x00001000,
Open = 0x00002000,
Yes = 0x00004000,
YesToAll = 0x00008000,
No = 0x00010000,
NoToAll = 0x00020000,
Abort = 0x00040000,
Retry = 0x00080000,
Ignore = 0x00100000,
Close = 0x00200000,
Cancel = 0x00400000,
Discard = 0x00800000,
Help = 0x01000000,
Apply = 0x02000000,
Reset = 0x04000000,
RestoreDefaults = 0x08000000
} |
|
Enumerator |
---|
InvalidRole |
|
AcceptRole |
|
RejectRole |
|
DestructiveRole |
|
ActionRole |
|
HelpRole |
|
YesRole |
|
NoRole |
|
ResetRole |
|
ApplyRole |
|
NRoles |
|
Enumerator |
---|
NoButton |
|
Ok |
|
Save |
|
SaveAll |
|
Open |
|
Yes |
|
YesToAll |
|
No |
|
NoToAll |
|
Abort |
|
Retry |
|
Ignore |
|
Close |
|
Cancel |
|
Discard |
|
Help |
|
Apply |
|
Reset |
|
RestoreDefaults |
|
void qutim_sdk_0_3::AbstractDataForm::accept |
( |
) | |
|
|
slot |
void qutim_sdk_0_3::AbstractDataForm::accepted |
( |
) | |
|
|
signal |
void qutim_sdk_0_3::AbstractDataForm::changed |
( |
) | |
|
|
signal |
The signal is emitted when the state of the data form has been changed.
- See Also
- isChanged()
virtual void qutim_sdk_0_3::AbstractDataForm::clearState |
( |
) | |
|
|
pure virtual |
Clears the data form state.
void qutim_sdk_0_3::AbstractDataForm::clicked |
( |
int |
buttonIndex) | |
|
|
signal |
void qutim_sdk_0_3::AbstractDataForm::completeChanged |
( |
bool |
complete) | |
|
|
signal |
The signal is emmitted whenever the complete state of the data form changes.
- Parameters
-
complete | the new complete state of the data form. |
- See Also
- isComplete()
void qutim_sdk_0_3::AbstractDataForm::helpRequested |
( |
) | |
|
|
signal |
virtual bool qutim_sdk_0_3::AbstractDataForm::isChanged |
( |
) | |
const |
|
pure virtual |
Returns true if the state of at least one field was changed.
Otherwise, returns false.
- See Also
- changed()
virtual bool qutim_sdk_0_3::AbstractDataForm::isComplete |
( |
) | |
const |
|
pure virtual |
Returns true if all mandatory fields are filled and every field with a validator is valid (i.e., current state of the validator is Acceptable).
Otherwise, returns false.
- See Also
- isComplete()
virtual DataItem qutim_sdk_0_3::AbstractDataForm::item |
( |
) | |
const |
|
pure virtual |
void qutim_sdk_0_3::AbstractDataForm::reject |
( |
) | |
|
|
slot |
void qutim_sdk_0_3::AbstractDataForm::rejected |
( |
) | |
|
|
signal |
virtual void qutim_sdk_0_3::AbstractDataForm::setData |
( |
const QString & |
fieldName, |
|
|
const QVariant & |
data |
|
) |
| |
|
pure virtual |
Sets the data of the field with name to be the data.
Note that the type of the data should be exactly as it was when the data form was being created.
virtual void qutim_sdk_0_3::AbstractDataForm::virtual_hook |
( |
int |
id, |
|
|
void * |
data |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following file: