QDesignerActionEditorInterface Class Reference

#include <abstractactioneditor.h>

Inheritance diagram for QDesignerActionEditorInterface:

Inheritance graph
[legend]
Collaboration diagram for QDesignerActionEditorInterface:

Collaboration graph
[legend]
List of all members.

Detailed Description

The QDesignerActionEditorInterface class allows you to change the focus of Qt Designer's action editor.

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.

See also:
QDesignerFormEditorInterface, QDesignerFormWindowInterface

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 QDesignerFormEditorInterfacecore () const
virtual void manageAction (QAction *action)=0
virtual void unmanageAction (QAction *action)=0


Constructor & Destructor Documentation

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.

00058     : QWidget(parent, flags)
00059 {
00060 }

QDesignerActionEditorInterface::~QDesignerActionEditorInterface (  )  [virtual]

Destroys the action editor interface.

Definition at line 65 of file abstractactioneditor.cpp.

00066 {
00067 }


Member Function Documentation

QDesignerFormEditorInterface * QDesignerActionEditorInterface::core (  )  const [virtual]

Returns a pointer to 's current QDesignerFormEditorInterface object.

Definition at line 73 of file abstractactioneditor.cpp.

00074 {
00075     return 0;
00076 }

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.

See also:
unmanageAction()

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.

See also:
manageAction()

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().


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 17:14:45 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1