diff options
author | Treeki <treeki@gmail.com> | 2012-08-18 04:40:06 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-08-18 04:40:06 +0200 |
commit | 060f6a4abf60444fd45ec08a71f4ce95b7555883 (patch) | |
tree | 83f556b68c3fbe71ed310bd74e4511d4ba0fcc02 /lspaneeditor.h | |
parent | a55b7493b1bd54e9d1231fa18300e0f882700fe3 (diff) | |
download | LayoutStudio-060f6a4abf60444fd45ec08a71f4ce95b7555883.tar.gz LayoutStudio-060f6a4abf60444fd45ec08a71f4ce95b7555883.zip |
sorted out ranges and steps and crap for the SRT spinboxes
Diffstat (limited to '')
-rw-r--r-- | lspaneeditor.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lspaneeditor.h b/lspaneeditor.h index 22a7a7d..9aaf942 100644 --- a/lspaneeditor.h +++ b/lspaneeditor.h @@ -38,9 +38,19 @@ private: QComboBox *m_horzOrigin, *m_vertOrigin; QCheckBox *m_widescreen; //, *m_visible; - QDoubleSpinBox *m_transX, *m_transY, *m_transZ; - QDoubleSpinBox *m_rotX, *m_rotY, *m_rotZ; - QDoubleSpinBox *m_scaleX, *m_scaleY; + union { + QDoubleSpinBox *m_srtSpinBoxes[8]; + struct { + QDoubleSpinBox *m_transSpinBoxes[3]; + QDoubleSpinBox *m_rotSpinBoxes[3]; + QDoubleSpinBox *m_scaleSpinBoxes[2]; + }; + struct { + QDoubleSpinBox *m_transX, *m_transY, *m_transZ; + QDoubleSpinBox *m_rotX, *m_rotY, *m_rotZ; + QDoubleSpinBox *m_scaleX, *m_scaleY; + }; + }; void createPaneTab(); |