Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdesigner_internal::ArrowKeyPropertyCommand Class Reference
+ Inheritance diagram for qdesigner_internal::ArrowKeyPropertyCommand:
+ Collaboration diagram for qdesigner_internal::ArrowKeyPropertyCommand:

Public Member Functions

 ArrowKeyPropertyCommand (QDesignerFormWindowInterface *fw, QUndoCommand *p=nullptr)
 
void init (QWidgetList &l, ArrowKeyOperation op)
 
 ArrowKeyPropertyCommand (QDesignerFormWindowInterface *fw, QUndoCommand *p=nullptr)
 
void init (QWidgetList &l, ArrowKeyOperation op)
 
- Public Member Functions inherited from qdesigner_internal::SetPropertyCommand
 SetPropertyCommand (QDesignerFormWindowInterface *formWindow, QUndoCommand *parent=nullptr)
 
bool init (QObject *object, const QString &propertyName, const QVariant &newValue)
 
bool init (const QObjectList &list, const QString &propertyName, const QVariant &newValue, QObject *referenceObject=nullptr, bool enableSubPropertyHandling=true)
 
QVariant newValue () const
 
void setNewValue (const QVariant &newValue)
 
int id () const override
 Returns the ID of this command.
 
bool mergeWith (const QUndoCommand *other) override
 Attempts to merge this command with command.
 
void redo () override
 Applies a change to the document.
 
- Public Member Functions inherited from qdesigner_internal::PropertyListCommand
 PropertyListCommand (QDesignerFormWindowInterface *formWindow, QUndoCommand *parent=nullptr)
 
QObjectobject (int index=0) const
 
QVariant oldValue (int index=0) const
 
void setOldValue (const QVariant &oldValue, int index=0)
 
void undo () override
 Reverts a change to the document.
 
- Public Member Functions inherited from qdesigner_internal::QDesignerFormWindowCommand
 QDesignerFormWindowCommand (const QString &description, QDesignerFormWindowInterface *formWindow, QUndoCommand *parent=nullptr)
 
void undo () override
 Reverts a change to the document.
 
- Public Member Functions inherited from QUndoCommand
 QUndoCommand (QUndoCommand *parent=nullptr)
 Constructs a QUndoCommand object with parent parent.
 
 QUndoCommand (const QString &text, QUndoCommand *parent=nullptr)
 Constructs a QUndoCommand object with the given parent and text.
 
virtual ~QUndoCommand ()
 Destroys the QUndoCommand object and all child commands.
 
QString text () const
 Returns a short text string describing what this command does; for example, "insert text".
 
QString actionText () const
 
void setText (const QString &text)
 Sets the command's text to be the text specified.
 
bool isObsolete () const
 
void setObsolete (bool obsolete)
 
int childCount () const
 
const QUndoCommandchild (int index) const
 

Protected Member Functions

std::unique_ptr< PropertyHelpercreatePropertyHelper (QObject *o, SpecialProperty sp, QDesignerPropertySheetExtension *s, int i) const override
 
QVariant mergeValue (const QVariant &newValue) override
 
std::unique_ptr< PropertyHelpercreatePropertyHelper (QObject *o, SpecialProperty sp, QDesignerPropertySheetExtension *s, int i) const override
 
QVariant mergeValue (const QVariant &newValue) override
 
- Protected Member Functions inherited from qdesigner_internal::SetPropertyCommand
- Protected Member Functions inherited from qdesigner_internal::PropertyListCommand
bool add (QObject *object, const QString &propertyName)
 
bool initList (const QObjectList &list, const QString &apropertyName, QObject *referenceObject=nullptr)
 
unsigned setValue (const QVariant &value, bool changed, quint64 subPropertyMask)
 
unsigned restoreOldValue ()
 
unsigned restoreDefaultValue ()
 
void update (unsigned updateMask)
 
bool canMergeLists (const PropertyHelperList &other) const
 
PropertyHelperListpropertyHelperList ()
 
const PropertyHelperListpropertyHelperList () const
 
const QString propertyName () const
 
SpecialProperty specialProperty () const
 
const PropertyDescriptionpropertyDescription () const
 
- Protected Member Functions inherited from qdesigner_internal::QDesignerFormWindowCommand
QDesignerFormWindowInterfaceformWindow () const
 
QDesignerFormEditorInterfacecore () const
 
QDesignerPropertySheetExtensionpropertySheet (QObject *object) const
 
void cheapUpdate ()
 
void selectUnmanagedObject (QObject *unmanagedObject)
 

Additional Inherited Members

- Static Public Member Functions inherited from qdesigner_internal::QDesignerFormWindowCommand
static void updateBuddies (QDesignerFormWindowInterface *form, const QString &old_name, const QString &new_name)
 
- Protected Types inherited from qdesigner_internal::PropertyListCommand
using PropertyHelperPtr = std::unique_ptr<PropertyHelper>
 
using PropertyHelperList = std::vector<PropertyHelperPtr>
 

Detailed Description

Definition at line 1447 of file formwindow.cpp.

Constructor & Destructor Documentation

◆ ArrowKeyPropertyCommand() [1/2]

qdesigner_internal::ArrowKeyPropertyCommand::ArrowKeyPropertyCommand ( QDesignerFormWindowInterface * fw,
QUndoCommand * p = nullptr )
explicit

Definition at line 1462 of file formwindow.cpp.

◆ ArrowKeyPropertyCommand() [2/2]

qdesigner_internal::ArrowKeyPropertyCommand::ArrowKeyPropertyCommand ( QDesignerFormWindowInterface * fw,
QUndoCommand * p = nullptr )
explicit

Member Function Documentation

◆ createPropertyHelper() [1/2]

std::unique_ptr< PropertyHelper > qdesigner_internal::ArrowKeyPropertyCommand::createPropertyHelper ( QObject * o,
SpecialProperty sp,
QDesignerPropertySheetExtension * s,
int i ) const
inlineoverrideprotectedvirtual

Reimplemented from qdesigner_internal::PropertyListCommand.

Definition at line 1456 of file formwindow.cpp.

◆ createPropertyHelper() [2/2]

std::unique_ptr< PropertyHelper > qdesigner_internal::ArrowKeyPropertyCommand::createPropertyHelper ( QObject * o,
SpecialProperty sp,
QDesignerPropertySheetExtension * s,
int i ) const
inlineoverrideprotectedvirtual

Reimplemented from qdesigner_internal::PropertyListCommand.

Definition at line 1456 of file formwindow.cpp.

◆ init() [1/2]

void qdesigner_internal::ArrowKeyPropertyCommand::init ( QWidgetList & l,
ArrowKeyOperation op )

Definition at line 1470 of file formwindow.cpp.

◆ init() [2/2]

void qdesigner_internal::ArrowKeyPropertyCommand::init ( QWidgetList & l,
ArrowKeyOperation op )

◆ mergeValue() [1/2]

QVariant qdesigner_internal::ArrowKeyPropertyCommand::mergeValue ( const QVariant & newValue)
overrideprotectedvirtual

Reimplemented from qdesigner_internal::SetPropertyCommand.

Definition at line 1480 of file formwindow.cpp.

◆ mergeValue() [2/2]

QVariant qdesigner_internal::ArrowKeyPropertyCommand::mergeValue ( const QVariant & newValue)
overrideprotectedvirtual

The documentation for this class was generated from the following file: