The QDesignerObjectInspectorInterface class allows you to change the focus of Qt Designer's object inspector. More...
#include <QDesignerObjectInspectorInterface>
Inherits: QWidget.
QDesignerObjectInspectorInterface ( QWidget * parent, Qt::WindowFlags flags = 0 ) | |
virtual | ~QDesignerObjectInspectorInterface () |
virtual QDesignerFormEditorInterface * | core () const |
virtual void | setFormWindow ( QDesignerFormWindowInterface * formWindow ) = 0 |
The QDesignerObjectInspectorInterface class allows you to change the focus of Qt Designer's object inspector.
You can use the QDesignerObjectInspectorInterface to change the current form window selection. For example, when implementing a custom widget plugin:
QDesignerObjectInspectorInterface *objectInspector = 0; objectInspector = formEditor->objectInspector(); QDesignerFormWindowManagerInterface *manager = 0; manager = formEditor->formWindowManager(); objectInspector->setFormWindow(manager->formWindow(0));
The QDesignerObjectInspectorInterface class is not intended to be instantiated directly. You can retrieve an interface to Qt Designer's object inspector using the QDesignerFormEditorInterface::objectInspector() function. A pointer to Qt Designer's current QDesignerFormEditorInterface object (formEditor in the example above) is provided by the QDesignerCustomWidgetInterface::initialize() function's parameter. When implementing a custom widget plugin, you must subclass the QDesignerCustomWidgetInterface to expose your plugin to Qt Designer.
The interface provides the core() function that you can use to retrieve a pointer to Qt Designer's current QDesignerFormEditorInterface object, and the setFormWindow() function that enables you to change the current form window selection.
See also QDesignerFormEditorInterface and QDesignerFormWindowInterface.
Constructs an object inspector interface with the given parent and the specified window flags.
Destroys the object inspector interface.
Returns a pointer to Qt Designer's current QDesignerFormEditorInterface object.
Sets the currently selected form window to formWindow.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.