From f8c66ff96ae2417e744b2d46daa8577d642b9c9f Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 4 Sep 2012 19:56:58 +0200 Subject: pulled the colour picker out into a LSColorPicker widget --- lspaneeditor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lspaneeditor.h') diff --git a/lspaneeditor.h b/lspaneeditor.h index 480dbb1..a1faa2c 100644 --- a/lspaneeditor.h +++ b/lspaneeditor.h @@ -12,6 +12,7 @@ #include #include #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(); -- cgit v1.2.3