21 #ifndef qSlicerSingletonViewFactory_h 22 #define qSlicerSingletonViewFactory_h 25 #include "ctkLayoutViewFactory.h" 28 #include "qSlicerBaseQTGUIExport.h" 30 class ctkDICOMBrowser;
31 class qSlicerSingletonViewFactoryPrivate;
47 QStringList supportedElementNames()
const override;
51 Q_INVOKABLE
virtual void setWidget(QWidget* widget);
53 Q_INVOKABLE
virtual QWidget* widget();
56 Q_INVOKABLE
virtual void setTagName(QString tagName);
58 Q_INVOKABLE QString tagName();
61 virtual void onWidgetDestroyed();
64 QScopedPointer<qSlicerSingletonViewFactoryPrivate>
d_ptr;
67 Q_INVOKABLE QWidget* createViewFromXML(QDomElement layoutElement)
override;
QScopedPointer< qSlicerSingletonViewFactoryPrivate > d_ptr
ctkLayoutViewFactory Superclass