Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdesigner_propertycommand_p.h>
Public Types | |
enum | ObjectType { OT_Object , OT_FreeAction , OT_AssociatedAction , OT_Widget } |
enum | UpdateMask { UpdatePropertyEditor =1 , UpdateObjectInspector =2 } |
using | Value = std::pair<QVariant, bool> |
Public Member Functions | |
PropertyHelper (QObject *object, SpecialProperty specialProperty, QDesignerPropertySheetExtension *sheet, int index) | |
virtual | ~PropertyHelper ()=default |
QObject * | object () const |
SpecialProperty | specialProperty () const |
virtual Value | setValue (QDesignerFormWindowInterface *fw, const QVariant &value, bool changed, quint64 subPropertyMask) |
Value | restoreOldValue (QDesignerFormWindowInterface *fw) |
Value | restoreDefaultValue (QDesignerFormWindowInterface *fw) |
QVariant | oldValue () const |
void | setOldValue (const QVariant &oldValue) |
unsigned | updateMask () const |
bool | canMerge (const PropertyHelper &other) const |
QDesignerIntegration * | integration (QDesignerFormWindowInterface *fw) const |
Static Public Member Functions | |
static void | triggerActionChanged (QAction *a) |
Definition at line 48 of file qdesigner_propertycommand_p.h.
using qdesigner_internal::PropertyHelper::Value = std::pair<QVariant, bool> |
Definition at line 52 of file qdesigner_propertycommand_p.h.
Enumerator | |
---|---|
OT_Object | |
OT_FreeAction | |
OT_AssociatedAction | |
OT_Widget |
Definition at line 54 of file qdesigner_propertycommand_p.h.
Enumerator | |
---|---|
UpdatePropertyEditor | |
UpdateObjectInspector |
Definition at line 81 of file qdesigner_propertycommand_p.h.
qdesigner_internal::PropertyHelper::PropertyHelper | ( | QObject * | object, |
SpecialProperty | specialProperty, | ||
QDesignerPropertySheetExtension * | sheet, | ||
int | index ) |
Definition at line 614 of file qdesigner_propertycommand.cpp.
|
virtualdefault |
bool qdesigner_internal::PropertyHelper::canMerge | ( | const PropertyHelper & | other | ) | const |
Definition at line 726 of file qdesigner_propertycommand.cpp.
QDesignerIntegration * qdesigner_internal::PropertyHelper::integration | ( | QDesignerFormWindowInterface * | fw | ) | const |
Definition at line 642 of file qdesigner_propertycommand.cpp.
|
inline |
Definition at line 62 of file qdesigner_propertycommand_p.h.
|
inline |
Definition at line 74 of file qdesigner_propertycommand_p.h.
PropertyHelper::Value qdesigner_internal::PropertyHelper::restoreDefaultValue | ( | QDesignerFormWindowInterface * | fw | ) |
Definition at line 881 of file qdesigner_propertycommand.cpp.
PropertyHelper::Value qdesigner_internal::PropertyHelper::restoreOldValue | ( | QDesignerFormWindowInterface * | fw | ) |
Definition at line 852 of file qdesigner_propertycommand.cpp.
Definition at line 77 of file qdesigner_propertycommand_p.h.
|
virtual |
Reimplemented in qdesigner_internal::ArrowKeyPropertyHelper, and qdesigner_internal::ArrowKeyPropertyHelper.
Definition at line 811 of file qdesigner_propertycommand.cpp.
|
inline |
Definition at line 63 of file qdesigner_propertycommand_p.h.
Definition at line 731 of file qdesigner_propertycommand.cpp.
unsigned qdesigner_internal::PropertyHelper::updateMask | ( | ) | const |
Definition at line 698 of file qdesigner_propertycommand.cpp.