diff options
| author | Treeki <treeki@gmail.com> | 2012-08-15 16:25:15 +0200 | 
|---|---|---|
| committer | Treeki <treeki@gmail.com> | 2012-08-15 16:25:15 +0200 | 
| commit | 247a25c8ecaa8e6496ea1f35c0c7d4eb1154a0a9 (patch) | |
| tree | 63a8c844f4c4c490cb9a53137352d3a19a74884a /lslayoutwindow.cpp | |
| parent | b3e58ec4a57f1cefe34438943b963f86dbf40b72 (diff) | |
| download | LayoutStudio-247a25c8ecaa8e6496ea1f35c0c7d4eb1154a0a9.tar.gz LayoutStudio-247a25c8ecaa8e6496ea1f35c0c7d4eb1154a0a9.zip  | |
the beginnings of a very, very unfinished pane editor
Diffstat (limited to '')
| -rw-r--r-- | lslayoutwindow.cpp | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/lslayoutwindow.cpp b/lslayoutwindow.cpp index d137400..a164dd9 100644 --- a/lslayoutwindow.cpp +++ b/lslayoutwindow.cpp @@ -1,9 +1,11 @@  #include "lslayoutwindow.h"  #include "lsscenemodel.h" +#include "lspaneeditor.h"  #include "layoutgl/widget.h"  #include <QGridLayout>  #include <QFormLayout>  #include <QGroupBox> +#include <QSplitter>  LSLayoutWindow::LSLayoutWindow(LYTPackageBase *pkg, const QString &layoutName, QWidget *parent) :  	QMainWindow(parent) { @@ -48,6 +50,8 @@ LSLayoutWindow::LSLayoutWindow(LYTPackageBase *pkg, const QString &layoutName, Q  	m_tabWidget->addTab(w, "Layout");  	// prepare the Scene Graph tab +	QSplitter *gsplit = new QSplitter(this); +  	w = new QWidget(this);  	QGridLayout *ggrid = new QGridLayout(w); @@ -67,7 +71,12 @@ LSLayoutWindow::LSLayoutWindow(LYTPackageBase *pkg, const QString &layoutName, Q  	ggrid->addWidget(m_clearSearchButton, 0, 1, 1, 1);  	ggrid->addLayout(m_sceneListSwitcher, 1, 0, 1, 2); -	m_tabWidget->addTab(w, "Scene Graph"); +	m_paneEditor = new LSPaneEditor(this); + +	gsplit->addWidget(w); +	gsplit->addWidget(m_paneEditor); + +	m_tabWidget->addTab(gsplit, "Scene Graph");  	// get the resource  | 
