diff options
author | Treeki <treeki@gmail.com> | 2012-08-25 05:20:31 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-08-25 05:20:31 +0200 |
commit | 62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64 (patch) | |
tree | eddb20b3ec520a83418d33670366f4db2fe195be | |
parent | 8cb142e69d955e06aa160a8e02903cc57c4515c4 (diff) | |
download | LayoutStudio-62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64.tar.gz LayoutStudio-62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64.zip |
added alpha for vtxcolour editing. actually much easier than I expected!
-rw-r--r-- | lspaneeditor.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lspaneeditor.cpp b/lspaneeditor.cpp index 49939ec..1f6ba11 100644 --- a/lspaneeditor.cpp +++ b/lspaneeditor.cpp @@ -437,7 +437,11 @@ void LSPaneEditor::handlePicColourClicked() { if (index == -1) return; - QColor newcol = QColorDialog::getColor(m_picture->vtxColours[index], this); + QColor newcol = QColorDialog::getColor( + m_picture->vtxColours[index], + this, + "Choose a Vertex Colour", + QColorDialog::ShowAlphaChannel); if (newcol.isValid()) { m_picture->vtxColours[index] = newcol; |