 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
21 #ifndef __ctkLayoutFactory_h
22 #define __ctkLayoutFactory_h
25 #include <QMetaObject>
29 class ctkLayoutFactoryPrivate;
77 virtual void setupView(QDomElement layoutElement, QWidget* view);
virtual QList< QWidget * > viewsFromXML(QDomElement layoutElement)
void unregisterViewFactory(ctkLayoutViewFactory *factory)
virtual void setLayout(const QDomDocument &newLayout)
virtual ~ctkLayoutFactory()
ctkLayoutFactory(QWidget *viewport, QObject *parent)
virtual void setupLayout()
virtual QWidget * viewFromXML(QDomElement layoutElement)
virtual void setupView(QDomElement layoutElement, QWidget *view)
QList< ctkLayoutViewFactory * > viewFactories(QDomElement viewElement) const
Return all the registered factories that can handle the layoutElement.
QList< ctkLayoutViewFactory * > registeredViewFactories() const
ctkLayoutFactory(QObject *parent=0)
void registerViewFactory(ctkLayoutViewFactory *factory)
const QDomDocument layout() const