summaryrefslogtreecommitdiff
path: root/lspaneeditor.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-18 04:15:43 +0200
committerTreeki <treeki@gmail.com>2012-08-18 04:15:43 +0200
commit56bf2bd3ff73fc3cd86dcb4f4cd1e42016522bea (patch)
tree04d902dbc239a5dc98c1582f40dccc4e5128d161 /lspaneeditor.h
parent3e0523101382ad5730086e3b031303a7a68b01d6 (diff)
downloadLayoutStudio-56bf2bd3ff73fc3cd86dcb4f4cd1e42016522bea.tar.gz
LayoutStudio-56bf2bd3ff73fc3cd86dcb4f4cd1e42016522bea.zip
you can now view and edit basic pane settings! exciting, right?
Diffstat (limited to '')
-rw-r--r--lspaneeditor.h30
1 files changed, 28 insertions, 2 deletions
diff --git a/lspaneeditor.h b/lspaneeditor.h
index 4955a72..0c4ddc3 100644
--- a/lspaneeditor.h
+++ b/lspaneeditor.h
@@ -11,6 +11,7 @@
#include <QDoubleSpinBox>
#include <QComboBox>
#include <QCheckBox>
+#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