QDesignerWidgetFactoryInterface Class Reference

#include <abstractwidgetfactory.h>

Inheritance diagram for QDesignerWidgetFactoryInterface:

Inheritance graph
[legend]
Collaboration diagram for QDesignerWidgetFactoryInterface:

Collaboration graph
[legend]
List of all members.

Detailed Description

The QDesignerWidgetFactoryInterface class provides an interface that is used to control the widget factory used by Qt Designer. QtDesigner.

Definition at line 36 of file abstractwidgetfactory.h.

Public Member Functions

 QDesignerWidgetFactoryInterface (QObject *parent=0)
virtual ~QDesignerWidgetFactoryInterface ()
virtual QDesignerFormEditorInterfacecore () const=0
virtual QWidgetcontainerOfWidget (QWidget *w) const=0
virtual QWidgetwidgetOfContainer (QWidget *w) const=0
virtual QWidgetcreateWidget (const QString &name, QWidget *parentWidget=0) const =0
virtual QLayoutcreateLayout (QWidget *widget, QLayout *layout, int type) const=0
virtual bool isPassiveInteractor (QWidget *widget)=0
virtual void initialize (QObject *object) const=0


Constructor & Destructor Documentation

QDesignerWidgetFactoryInterface::QDesignerWidgetFactoryInterface ( QObject parent = 0  ) 

Constructs an interface to a widget factory with the given parent.

Definition at line 41 of file abstractwidgetfactory.cpp.

00042     : QObject(parent)
00043 {
00044 }

QDesignerWidgetFactoryInterface::~QDesignerWidgetFactoryInterface (  )  [virtual]

Definition at line 49 of file abstractwidgetfactory.cpp.

00050 {
00051 }


Member Function Documentation

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

QWidget * QDesignerWidgetFactoryInterface::widgetOfContainer ( QWidget w  )  const [pure virtual]

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]

Referenced by qdesigner_internal::WidgetEditorTool::handleEvent(), and qdesigner_internal::TabOrderEditor::mousePressEvent().

void QDesignerWidgetFactoryInterface::initialize ( QObject object  )  const [pure virtual]

Referenced by QDesignerMenu::createAction(), QDesignerToolBar::createAction(), QDesignerMenuBar::createAction(), QDesignerMenu::createRealMenuAction(), qdesigner_internal::CreateStatusBarCommand::init(), and qdesigner_internal::CreateMenuBarCommand::init().


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