diff options
author | Treeki <treeki@gmail.com> | 2012-09-04 19:56:58 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-04 19:56:58 +0200 |
commit | f8c66ff96ae2417e744b2d46daa8577d642b9c9f (patch) | |
tree | f04bbf67442df5ec4fa8b97a58b39d1d842b37c7 /lspaneeditor.h | |
parent | 07e0eeb5ad9f81a62032aa37c0cfef84a9f6ed5c (diff) | |
download | LayoutStudio-f8c66ff96ae2417e744b2d46daa8577d642b9c9f.tar.gz LayoutStudio-f8c66ff96ae2417e744b2d46daa8577d642b9c9f.zip |
pulled the colour picker out into a LSColorPicker widget
Diffstat (limited to '')
-rw-r--r-- | lspaneeditor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lspaneeditor.h b/lspaneeditor.h index 480dbb1..a1faa2c 100644 --- a/lspaneeditor.h +++ b/lspaneeditor.h @@ -12,6 +12,7 @@ #include <QComboBox> #include <QCheckBox> #include "lyt/pane.h" +#include "lscolorpicker.h" class LSTexCoordSetEditor; class LYTPicture; @@ -59,7 +60,7 @@ private: QWidget *m_pictureTab; LSTexCoordSetEditor *m_picTexCoordEditor; - QToolButton *m_picColourButtons[4]; + LSColorPicker *m_picColourButtons[4]; void createPaneTab(); @@ -92,7 +93,7 @@ private slots: void handleScaleXChanged(double value); void handleScaleYChanged(double value); - void handlePicColourClicked(); + void handlePicColourPicked(QColor value); signals: void mustRedrawLayout(); |