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::ButtonGroupCommand Class Reference
+ Inheritance diagram for qdesigner_internal::ButtonGroupCommand:
+ Collaboration diagram for qdesigner_internal::ButtonGroupCommand:

Static Public Member Functions

static QString nameList (const ButtonList &bl)
 
static ButtonGroupList managedButtonGroups (const QDesignerFormWindowInterface *formWindow)
 
static QString nameList (const ButtonList &bl)
 
static ButtonGroupList managedButtonGroups (const QDesignerFormWindowInterface *formWindow)
 
- Static Public Member Functions inherited from qdesigner_internal::QDesignerFormWindowCommand
static void updateBuddies (QDesignerFormWindowInterface *form, const QString &old_name, const QString &new_name)
 

Protected Member Functions

 ButtonGroupCommand (const QString &description, QDesignerFormWindowInterface *formWindow)
 
void initialize (const ButtonList &bl, QButtonGroup *buttonGroup)
 
void addButtonsToGroup ()
 
void removeButtonsFromGroup ()
 
void createButtonGroup ()
 
void breakButtonGroup ()
 
 ButtonGroupCommand (const QString &description, QDesignerFormWindowInterface *formWindow)
 
void initialize (const ButtonList &bl, QButtonGroup *buttonGroup)
 
void addButtonsToGroup ()
 
void removeButtonsFromGroup ()
 
void createButtonGroup ()
 
void breakButtonGroup ()
 
- 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

- 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
 

Detailed Description

Definition at line 49 of file button_taskmenu.cpp.

Constructor & Destructor Documentation

◆ ButtonGroupCommand() [1/2]

qdesigner_internal::ButtonGroupCommand::ButtonGroupCommand ( const QString & description,
QDesignerFormWindowInterface * formWindow )
protected

Definition at line 75 of file button_taskmenu.cpp.

References ButtonGroupCommand().

Referenced by ButtonGroupCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ButtonGroupCommand() [2/2]

qdesigner_internal::ButtonGroupCommand::ButtonGroupCommand ( const QString & description,
QDesignerFormWindowInterface * formWindow )
protected

Member Function Documentation

◆ addButtonsToGroup() [1/2]

void qdesigner_internal::ButtonGroupCommand::addButtonsToGroup ( )
protected

Definition at line 87 of file button_taskmenu.cpp.

Referenced by createButtonGroup(), qdesigner_internal::AddButtonsToGroupCommand::redo(), and qdesigner_internal::RemoveButtonsFromGroupCommand::undo().

+ Here is the caller graph for this function:

◆ addButtonsToGroup() [2/2]

void qdesigner_internal::ButtonGroupCommand::addButtonsToGroup ( )
protected

◆ breakButtonGroup() [1/2]

void qdesigner_internal::ButtonGroupCommand::breakButtonGroup ( )
protected

Definition at line 116 of file button_taskmenu.cpp.

References removeButtonsFromGroup().

Referenced by qdesigner_internal::BreakButtonGroupCommand::redo(), and qdesigner_internal::CreateButtonGroupCommand::undo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ breakButtonGroup() [2/2]

void qdesigner_internal::ButtonGroupCommand::breakButtonGroup ( )
protected

◆ createButtonGroup() [1/2]

void qdesigner_internal::ButtonGroupCommand::createButtonGroup ( )
protected

Definition at line 103 of file button_taskmenu.cpp.

References addButtonsToGroup().

Referenced by qdesigner_internal::CreateButtonGroupCommand::redo(), and qdesigner_internal::BreakButtonGroupCommand::undo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createButtonGroup() [2/2]

void qdesigner_internal::ButtonGroupCommand::createButtonGroup ( )
protected

◆ initialize() [1/2]

void qdesigner_internal::ButtonGroupCommand::initialize ( const ButtonList & bl,
QButtonGroup * buttonGroup )
protected

Definition at line 81 of file button_taskmenu.cpp.

◆ initialize() [2/2]

void qdesigner_internal::ButtonGroupCommand::initialize ( const ButtonList & bl,
QButtonGroup * buttonGroup )
protected

◆ managedButtonGroups() [1/2]

ButtonGroupList qdesigner_internal::ButtonGroupCommand::managedButtonGroups ( const QDesignerFormWindowInterface * formWindow)
static

Definition at line 154 of file button_taskmenu.cpp.

◆ managedButtonGroups() [2/2]

static ButtonGroupList qdesigner_internal::ButtonGroupCommand::managedButtonGroups ( const QDesignerFormWindowInterface * formWindow)
static

◆ nameList() [1/2]

QString qdesigner_internal::ButtonGroupCommand::nameList ( const ButtonList & bl)
static

Definition at line 138 of file button_taskmenu.cpp.

◆ nameList() [2/2]

static QString qdesigner_internal::ButtonGroupCommand::nameList ( const ButtonList & bl)
static

◆ removeButtonsFromGroup() [1/2]

void qdesigner_internal::ButtonGroupCommand::removeButtonsFromGroup ( )
protected

Definition at line 95 of file button_taskmenu.cpp.

Referenced by breakButtonGroup(), qdesigner_internal::RemoveButtonsFromGroupCommand::redo(), and qdesigner_internal::AddButtonsToGroupCommand::undo().

+ Here is the caller graph for this function:

◆ removeButtonsFromGroup() [2/2]

void qdesigner_internal::ButtonGroupCommand::removeButtonsFromGroup ( )
protected

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