#include <abstractwidgetfactory.h>
Inheritance diagram for QDesignerWidgetFactoryInterface:


Definition at line 36 of file abstractwidgetfactory.h.
Public Member Functions | |
| QDesignerWidgetFactoryInterface (QObject *parent=0) | |
| virtual | ~QDesignerWidgetFactoryInterface () |
| virtual QDesignerFormEditorInterface * | core () const=0 |
| virtual QWidget * | containerOfWidget (QWidget *w) const=0 |
| virtual QWidget * | widgetOfContainer (QWidget *w) const=0 |
| virtual QWidget * | createWidget (const QString &name, QWidget *parentWidget=0) const =0 |
| virtual QLayout * | createLayout (QWidget *widget, QLayout *layout, int type) const=0 |
| virtual bool | isPassiveInteractor (QWidget *widget)=0 |
| virtual void | initialize (QObject *object) const=0 |
| QDesignerWidgetFactoryInterface::QDesignerWidgetFactoryInterface | ( | QObject * | parent = 0 |
) |
Constructs an interface to a widget factory with the given parent.
Definition at line 41 of file abstractwidgetfactory.cpp.
| QDesignerWidgetFactoryInterface::~QDesignerWidgetFactoryInterface | ( | ) | [virtual] |
| QDesignerFormEditorInterface * QDesignerWidgetFactoryInterface::core | ( | ) | const [pure virtual] |
Returns the core form editor interface associated with this interface.
| QWidget * QDesignerWidgetFactoryInterface::containerOfWidget | ( | QWidget * | child | ) | const [pure virtual] |
Returns the widget that contains the specified child widget.
Referenced by qdesigner_internal::FormWindow::breakLayout(), qdesigner_internal::FormWindow::findContainer(), qdesigner_internal::BreakLayoutCommand::init(), qdesigner_internal::FormWindow::layoutGridContainer(), qdesigner_internal::FormWindow::layoutHorizontalContainer(), qdesigner_internal::FormWindow::layoutVerticalContainer(), qdesigner_internal::FormWindow::paste(), qdesigner_internal::Layout::prepareLayout(), qdesigner_internal::FormWindowManager::slotActionBreakLayoutActivated(), qdesigner_internal::FormWindowManager::slotUpdateActions(), and qdesigner_internal::Layout::undoLayout().
Referenced by qdesigner_internal::Layout::setup().
| QWidget * QDesignerWidgetFactoryInterface::createWidget | ( | const QString & | name, | |
| QWidget * | parent = 0 | |||
| ) | const [pure virtual] |
Returns a new widget with the given name and parent widget. If no parent is specified, the widget created will be a top-level widget.
Referenced by qdesigner_internal::QDesignerResource::create(), QDesignerMenuBar::createAction(), qdesigner_internal::QDesignerFormBuilder::createWidget(), qdesigner_internal::QDesignerResource::createWidget(), qdesigner_internal::CreateStatusBarCommand::init(), qdesigner_internal::AddToolBarCommand::init(), qdesigner_internal::AddDockWidgetCommand::init(), qdesigner_internal::CreateMenuBarCommand::init(), qdesigner_internal::Layout::prepareLayout(), and qdesigner_internal::FormWindow::setContents().
| QLayout * QDesignerWidgetFactoryInterface::createLayout | ( | QWidget * | widget, | |
| QLayout * | layout, | |||
| int | type | |||
| ) | const [pure virtual] |
Returns a new layout of the specified type for the given widget or layout.
Referenced by qdesigner_internal::QDesignerResource::applyProperties(), qdesigner_internal::QDesignerResource::createLayout(), qdesigner_internal::HorizontalLayout::doLayout(), qdesigner_internal::VerticalLayout::doLayout(), and qdesigner_internal::GridLayout::doLayout().
| bool QDesignerWidgetFactoryInterface::isPassiveInteractor | ( | QWidget * | widget | ) | [pure virtual] |
| void QDesignerWidgetFactoryInterface::initialize | ( | QObject * | object | ) | const [pure virtual] |
1.5.1