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::ToolBoxCommand Class Reference

#include <qdesigner_command_p.h>

+ Inheritance diagram for qdesigner_internal::ToolBoxCommand:
+ Collaboration diagram for qdesigner_internal::ToolBoxCommand:

Public Member Functions

 ToolBoxCommand (QDesignerFormWindowInterface *formWindow)
 
 ~ToolBoxCommand () override
 
void init (QToolBox *toolBox)
 
- 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.
 
void redo () override
 Applies 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)
 
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 QUndoCommandchild (int index) const
 

Protected Member Functions

void removePage ()
 
void addPage ()
 
- Protected Member Functions inherited from qdesigner_internal::QDesignerFormWindowCommand
QDesignerFormWindowInterfaceformWindow () const
 
QDesignerFormEditorInterfacecore () const
 
QDesignerPropertySheetExtensionpropertySheet (QObject *object) const
 
void cheapUpdate ()
 
void selectUnmanagedObject (QObject *unmanagedObject)
 

Protected Attributes

QPointer< QToolBoxm_toolBox
 
QPointer< QWidgetm_widget
 
int m_index
 
QString m_itemText
 
QIcon m_itemIcon
 

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)
 

Detailed Description

Definition at line 416 of file qdesigner_command_p.h.

Constructor & Destructor Documentation

◆ ToolBoxCommand()

qdesigner_internal::ToolBoxCommand::ToolBoxCommand ( QDesignerFormWindowInterface * formWindow)
explicit

Definition at line 925 of file qdesigner_command.cpp.

◆ ~ToolBoxCommand()

qdesigner_internal::ToolBoxCommand::~ToolBoxCommand ( )
overridedefault

Member Function Documentation

◆ addPage()

void qdesigner_internal::ToolBoxCommand::addPage ( )
protected

Definition at line 953 of file qdesigner_command.cpp.

◆ init()

void qdesigner_internal::ToolBoxCommand::init ( QToolBox * toolBox)

Definition at line 933 of file qdesigner_command.cpp.

◆ removePage()

void qdesigner_internal::ToolBoxCommand::removePage ( )
protected

Definition at line 942 of file qdesigner_command.cpp.

Member Data Documentation

◆ m_index

int qdesigner_internal::ToolBoxCommand::m_index
protected

Definition at line 431 of file qdesigner_command_p.h.

◆ m_itemIcon

QIcon qdesigner_internal::ToolBoxCommand::m_itemIcon
protected

Definition at line 433 of file qdesigner_command_p.h.

◆ m_itemText

QString qdesigner_internal::ToolBoxCommand::m_itemText
protected

Definition at line 432 of file qdesigner_command_p.h.

◆ m_toolBox

QPointer<QToolBox> qdesigner_internal::ToolBoxCommand::m_toolBox
protected

Definition at line 429 of file qdesigner_command_p.h.

◆ m_widget

QPointer<QWidget> qdesigner_internal::ToolBoxCommand::m_widget
protected

Definition at line 430 of file qdesigner_command_p.h.


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