Qt:Документация 4.3.2/qdesignerobjectinspectorinterface

Материал из Wiki.crossplatform.ru

Версия от 10:13, 29 января 2009; Root (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QDesignerObjectInspectorInterface Class Reference
[ QtDesigner module]

The QDesignerObjectInspectorInterface class allows you to change the focus of Qt Designer's object inspector. Далее...

 #include <QDesignerObjectInspectorInterface>

Наследует QWidget.

[править] Открытые функции

  • 201 свойство, унаследованное от QWidget
  • 29 открытых функций, унаследованных от QObject
  • 12 открытых функций, унаследованных от QPaintDevice

[править] Открытые слоты

  • virtual void setFormWindow ( QDesignerFormWindowInterface * formWindow ) = 0
  • 19 открытых слотов, унаследованных от QWidget
  • 1 открытый слот, унаследованный от QObject

[править] Дополнительные унаследованные члены

  • 56 свойств, унаследованных от QWidget
  • 1 свойство, унаследованное от QObject
  • 1 сигнал, унаследованный от QWidget
  • 1 сигнал, унаследованный от QObject
  • 4 статических открытых члена, унаследованных от QWidget
  • 5 статических открытых членов, унаследованных от QObject
  • 38 защищенных функций, унаследованных от QWidget
  • 7 защищенных функций, унаследованных от QObject
  • 1 защищенная функция, унаследованных от QPaintDevice
  • 1 защищенный слот, унаследованый от QWidget

[править] Подробное описание

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 Designers object inspector using the QDesignerFormEditorInterface::objectInspector() function. A pointer to Qt Designers 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.


[править] Описание функций-членов

[править]
QDesignerObjectInspectorInterface::QDesignerObjectInspectorInterface ( QWidget * parent, Qt::WindowFlags flags = 0 )

Constructs an object inspector interface with the given parent and the specified window flags.

[править]
QDesignerObjectInspectorInterface::~QDesignerObjectInspectorInterface () [virtual]

Destroys the object inspector interface.

[править]
QDesignerFormEditorInterface * QDesignerObjectInspectorInterface::core () const [virtual]

Returns a pointer to Qt Designer's current QDesignerFormEditorInterface object.

[править]
void QDesignerObjectInspectorInterface::setFormWindow ( QDesignerFormWindowInterface * formWindow ) [pure virtual slot]

Sets the currently selected form window to formWindow.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2