#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
} |
|
◆ Buttons
◆ ButtonRole
Enumerator |
---|
InvalidRole | |
AcceptRole | |
RejectRole | |
DestructiveRole | |
ActionRole | |
HelpRole | |
YesRole | |
NoRole | |
ResetRole | |
ApplyRole | |
NRoles | |
◆ StandardButton
Enumerator |
---|
NoButton | |
Ok | |
Save | |
SaveAll | |
Open | |
Yes | |
YesToAll | |
No | |
NoToAll | |
Abort | |
Retry | |
Ignore | |
Close | |
Cancel | |
Discard | |
Help | |
Apply | |
Reset | |
RestoreDefaults | |
◆ accept
void qutim_sdk_0_3::AbstractDataForm::accept |
( |
| ) |
|
|
slot |
◆ accepted
void qutim_sdk_0_3::AbstractDataForm::accepted |
( |
| ) |
|
|
signal |
◆ changed
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()
◆ clearState()
virtual void qutim_sdk_0_3::AbstractDataForm::clearState |
( |
| ) |
|
|
pure virtual |
Clears the data form state.
◆ clicked [1/2]
void qutim_sdk_0_3::AbstractDataForm::clicked |
( |
int |
buttonIndex | ) |
|
|
signal |
◆ clicked [2/2]
◆ completeChanged
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()
◆ get()
◆ helpRequested
void qutim_sdk_0_3::AbstractDataForm::helpRequested |
( |
| ) |
|
|
signal |
◆ isChanged()
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()
◆ isComplete()
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()
◆ item()
virtual DataItem qutim_sdk_0_3::AbstractDataForm::item |
( |
| ) |
const |
|
pure virtual |
◆ reject
void qutim_sdk_0_3::AbstractDataForm::reject |
( |
| ) |
|
|
slot |
◆ rejected
void qutim_sdk_0_3::AbstractDataForm::rejected |
( |
| ) |
|
|
signal |
◆ setData()
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_hook()
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: