summaryrefslogtreecommitdiff
path: root/lsmaterialeditor.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-06 00:31:19 +0200
committerTreeki <treeki@gmail.com>2012-09-06 00:31:19 +0200
commit2e52bea24a65cf70380c4e13c2f9f1238f023e91 (patch)
tree771d4c0b74db52ebecde1af722714905a072b149 /lsmaterialeditor.h
parentf928869357765e3a73501064408bb7bc0ee363ef (diff)
downloadLayoutStudio-2e52bea24a65cf70380c4e13c2f9f1238f023e91.tar.gz
LayoutStudio-2e52bea24a65cf70380c4e13c2f9f1238f023e91.zip
some black magic involving templates which doesn't even work, pushing so I can work on it at home
Diffstat (limited to '')
-rw-r--r--lsmaterialeditor.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lsmaterialeditor.h b/lsmaterialeditor.h
index ba18762..b09c474 100644
--- a/lsmaterialeditor.h
+++ b/lsmaterialeditor.h
@@ -7,6 +7,17 @@
#include <QLineEdit>
#include "lyt/materials/materialcontainer.h"
#include "lscolorpicker.h"
+#include "lsseteditor.h"
+
+class LSTevStageEditor : public LSSetEntryEditorBase<LYTTevStage> {
+ Q_OBJECT
+public:
+ explicit LSTevStageEditor(QWidget *parent = 0) :
+ LSSetEntryEditorBase(parent) { }
+
+ void loadEntryFrom(const LYTTevStage &entry) {
+ }
+};
class LSMaterialEditor : public QWidget {
Q_OBJECT
@@ -21,6 +32,8 @@ private:
bool m_currentlyLoadingMaterial;
LYTMaterial *m_material;
+ LSSetEditor<LYTTevStage, LSTevStageEditor> *m_tevStageSetEditor;
+
private slots:
void handleNameChanged(QString value);
void handleSaveChangedName();