diff options
author | Treeki <treeki@gmail.com> | 2012-09-06 00:31:19 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-06 00:31:19 +0200 |
commit | 2e52bea24a65cf70380c4e13c2f9f1238f023e91 (patch) | |
tree | 771d4c0b74db52ebecde1af722714905a072b149 /lsmaterialeditor.h | |
parent | f928869357765e3a73501064408bb7bc0ee363ef (diff) | |
download | LayoutStudio-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 'lsmaterialeditor.h')
-rw-r--r-- | lsmaterialeditor.h | 13 |
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(); |