Fixed normal calculation at edges, more UI changes
[ted.git] / qsrc / widgetplugin.h
blob7cf7f1ae0c3f8dd4dcd7650f9f929eb6acc4177f
1 #ifndef WIDGETPLUGIN_H
2 #define WIDGETPLUGIN_H
4 #include <QtDesigner/QDesignerCustomWidgetInterface>
6 class TerrainDisplayPlugin : public QObject, public QDesignerCustomWidgetInterface
8 Q_OBJECT
9 Q_INTERFACES(QDesignerCustomWidgetInterface)
11 public:
12 TerrainDisplayPlugin(QObject *parent = 0);
14 bool isContainer() const;
15 bool isInitialized() const;
16 QIcon icon() const;
17 QString domXml() const;
18 QString group() const;
19 QString includeFile() const;
20 QString name() const;
21 QString toolTip() const;
22 QString whatsThis() const;
23 QWidget *createWidget(QWidget *parent);
24 void initialize(QDesignerFormEditorInterface *core);
26 private:
27 bool initialized;
31 #endif