summaryrefslogtreecommitdiff
path: root/lslayoutwindow.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-04 16:25:47 +0200
committerTreeki <treeki@gmail.com>2012-09-04 16:25:47 +0200
commit07e0eeb5ad9f81a62032aa37c0cfef84a9f6ed5c (patch)
treef0d7d2558b552a8d25f1a78202979fc70629b5f4 /lslayoutwindow.h
parent01654a40da349d461b1bc09e7a0cd248cd98e1d5 (diff)
downloadLayoutStudio-07e0eeb5ad9f81a62032aa37c0cfef84a9f6ed5c.tar.gz
LayoutStudio-07e0eeb5ad9f81a62032aa37c0cfef84a9f6ed5c.zip
the complete beginnings of a material editor, pushing so I can work from my netbook ..
Diffstat (limited to '')
-rw-r--r--lslayoutwindow.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lslayoutwindow.h b/lslayoutwindow.h
index b2c4385..cd3c6ec 100644
--- a/lslayoutwindow.h
+++ b/lslayoutwindow.h
@@ -13,6 +13,7 @@
#include "lyt/packagebase.h"
#include "lyt/layout.h"
class LSPaneEditor;
+class LSMaterialEditor;
class LGLWidget;
class LSLayoutWindow : public QMainWindow {
@@ -52,10 +53,20 @@ private:
bool m_loadingSettings;
+ // material things
+ QSplitter *m_materialSplitter;
+
+ QListView *m_materialList;
+ QPushButton *m_addMaterialButton;
+ QPushButton *m_removeMaterialButton;
+
+ LSMaterialEditor *m_materialEditor;
+
private slots:
void handleWidthChanged(double v);
void handleHeightChanged(double v);
void selectedPaneChanged(const QModelIndex &current, const QModelIndex &previous);
+ void selectedMaterialChanged(const QModelIndex &current, const QModelIndex &previous);
signals: