![]() |
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_command_p.h>
Public Member Functions | |
DockWidgetCommand (const QString &description, QDesignerFormWindowInterface *formWindow) | |
~DockWidgetCommand () override | |
void | init (QDockWidget *dockWidget) |
![]() | |
QDesignerFormWindowCommand (const QString &description, QDesignerFormWindowInterface *formWindow, QUndoCommand *parent=nullptr) | |
void | undo () override |
Reverts a change to the document. | |
void | redo () override |
Applies a change to the document. | |
![]() | |
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) |
virtual int | id () const |
Returns the ID of this command. | |
virtual bool | mergeWith (const QUndoCommand *other) |
Attempts to merge this command with command. | |
int | childCount () const |
const QUndoCommand * | child (int index) const |
Protected Attributes | |
QPointer< QDockWidget > | m_dockWidget |
Additional Inherited Members | |
![]() | |
static void | updateBuddies (QDesignerFormWindowInterface *form, const QString &old_name, const QString &new_name) |
![]() | |
QDesignerFormWindowInterface * | formWindow () const |
QDesignerFormEditorInterface * | core () const |
QDesignerPropertySheetExtension * | propertySheet (QObject *object) const |
void | cheapUpdate () |
void | selectUnmanagedObject (QObject *unmanagedObject) |
Definition at line 719 of file qdesigner_command_p.h.
|
explicit |
Definition at line 1620 of file qdesigner_command.cpp.
|
overridedefault |
void qdesigner_internal::DockWidgetCommand::init | ( | QDockWidget * | dockWidget | ) |
Definition at line 1627 of file qdesigner_command.cpp.
|
protected |
Definition at line 729 of file qdesigner_command_p.h.