diff options
author | Treeki <treeki@gmail.com> | 2012-09-12 14:57:44 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-12 14:57:44 +0200 |
commit | 3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10 (patch) | |
tree | d10e8cd4e462db28dd3c2f995905c4df57a20fed /lslayoutwindow.h | |
parent | be8b56a7f0a8f6ba5456a099b61d032fd8aa2f61 (diff) | |
download | LayoutStudio-3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10.tar.gz LayoutStudio-3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10.zip |
initial un-exporter version
Diffstat (limited to 'lslayoutwindow.h')
-rw-r--r-- | lslayoutwindow.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/lslayoutwindow.h b/lslayoutwindow.h deleted file mode 100644 index cd3c6ec..0000000 --- a/lslayoutwindow.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef LSLAYOUTWINDOW_H -#define LSLAYOUTWINDOW_H - -#include <QMainWindow> -#include <QTabWidget> -#include <QDoubleSpinBox> -#include <QTreeView> -#include <QStackedLayout> -#include <QPushButton> -#include <QLineEdit> -#include <QListView> -#include <QSplitter> -#include "lyt/packagebase.h" -#include "lyt/layout.h" -class LSPaneEditor; -class LSMaterialEditor; -class LGLWidget; - -class LSLayoutWindow : public QMainWindow { - Q_OBJECT -public: - explicit LSLayoutWindow(LYTPackageBase *pkg, const QString &layoutName, QWidget *parent = 0); - ~LSLayoutWindow(); - - QString layoutName() const { return m_layoutName; } - // TODO: set layoutname method - - LYTLayout *editedLayout() const { return m_layout; } - -private: - QString m_layoutName; - LYTPackageBase *m_package; - LYTLayout *m_layout; - - LGLWidget *m_renderer; - - QTabWidget *m_tabWidget; - - // settings - QDoubleSpinBox *m_widthBox, *m_heightBox; - - // scene graph - QSplitter *m_sceneSplitter; - - QStackedLayout *m_sceneListSwitcher; - QLineEdit *m_searchBox; - QPushButton *m_clearSearchButton; - QTreeView *m_sceneGraph; - QListView *m_sceneSearchList; - - QStackedLayout *m_paneEditorSwitcher; - LSPaneEditor *m_paneEditor; - - 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 ¤t, const QModelIndex &previous); - void selectedMaterialChanged(const QModelIndex ¤t, const QModelIndex &previous); - -signals: - -public slots: - -}; - -#endif // LSLAYOUTWINDOW_H |