#include <abstractactioneditor.h>
Inheritance diagram for QDesignerActionEditorInterface:
QtDesigner
The QDesignerActionEditorInterface class is not intended to be instantiated directly. You can retrieve an interface to 's action editor using the QDesignerFormEditorInterface::actionEditor() function.
You can control which actions that are available in the action editor's window using the manageAction() and unmanageAction() functions. An action that is managed by is available in the action editor while an unmanaged action is ignored.
QDesignerActionEditorInterface also provides the core() function that you can use to retrieve a pointer to 's current QDesignerFormEditorInterface object, and the setFormWindow() function that enables you to change the currently selected form window.
Definition at line 36 of file abstractactioneditor.h.
Public Slots | |
virtual void | setFormWindow (QDesignerFormWindowInterface *formWindow)=0 |
Public Member Functions | |
QDesignerActionEditorInterface (QWidget *parent, Qt::WindowFlags flags=0) | |
virtual | ~QDesignerActionEditorInterface () |
virtual QDesignerFormEditorInterface * | core () const |
virtual void | manageAction (QAction *action)=0 |
virtual void | unmanageAction (QAction *action)=0 |
QDesignerActionEditorInterface::QDesignerActionEditorInterface | ( | QWidget * | parent, | |
Qt::WindowFlags | flags = 0 | |||
) |
Constructs an action editor interface with the given parent and the specified window flags.
Definition at line 57 of file abstractactioneditor.cpp.
QDesignerActionEditorInterface::~QDesignerActionEditorInterface | ( | ) | [virtual] |
QDesignerFormEditorInterface * QDesignerActionEditorInterface::core | ( | ) | const [virtual] |
Returns a pointer to 's current QDesignerFormEditorInterface object.
Definition at line 73 of file abstractactioneditor.cpp.
void QDesignerActionEditorInterface::manageAction | ( | QAction * | action | ) | [pure virtual] |
Instructs to manage the specified action. An action that is managed by is available in the action editor.
Referenced by qdesigner_internal::AddActionCommand::redo(), and qdesigner_internal::RemoveActionCommand::undo().
void QDesignerActionEditorInterface::unmanageAction | ( | QAction * | action | ) | [pure virtual] |
Instructs to ignore the specified action. An unmanaged action is not available in the action editor.
Referenced by qdesigner_internal::RemoveActionCommand::redo(), and qdesigner_internal::AddActionCommand::undo().
void QDesignerActionEditorInterface::setFormWindow | ( | QDesignerFormWindowInterface * | formWindow | ) | [pure virtual, slot] |
Sets the currently selected form window to formWindow.
Referenced by qdesigner_internal::QDesignerFormWindowCommand::cheapUpdate(), qdesigner_internal::AddActionCommand::redo(), qdesigner_internal::RemoveActionCommand::redo(), qdesigner_internal::AddActionCommand::undo(), and qdesigner_internal::RemoveActionCommand::undo().