From 56bf2bd3ff73fc3cd86dcb4f4cd1e42016522bea Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 18 Aug 2012 04:15:43 +0200 Subject: you can now view and edit basic pane settings! exciting, right? --- lspaneeditor.h | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'lspaneeditor.h') diff --git a/lspaneeditor.h b/lspaneeditor.h index 4955a72..0c4ddc3 100644 --- a/lspaneeditor.h +++ b/lspaneeditor.h @@ -11,6 +11,7 @@ #include #include #include +#include "lyt/pane.h" class LSPaneEditor : public QWidget { Q_OBJECT @@ -42,11 +43,36 @@ private: QDoubleSpinBox *m_scaleX, *m_scaleY; void createPaneTab(); - + + bool m_currentlyLoadingPane; + LYTPane *m_pane; + +private slots: + void handleNameChanged(QString value); + void handleUserDataChanged(QString value); + void handleAlphaChanged(int value); + void handleInfluencedAlphaChanged(bool value); + void handleWidthChanged(double value); + void handleHeightChanged(double value); + void handleHorzOriginChanged(int value); + void handleVertOriginChanged(int value); + void handleWidescreenChanged(bool value); + void handleVisibleChanged(bool value); + void handleTransXChanged(double value); + void handleTransYChanged(double value); + void handleTransZChanged(double value); + void handleRotXChanged(double value); + void handleRotYChanged(double value); + void handleRotZChanged(double value); + void handleScaleXChanged(double value); + void handleScaleYChanged(double value); + signals: + void mustRedrawLayout(); public slots: - + void setPane(LYTPane *pane); + }; #endif // LSPANEEDITOR_H -- cgit v1.2.3