X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpenwidget.cpp;h=65da6bb6034ea689b02778cdcfa5ffd30ef04116;hb=d9f34cb7917e396a1df805687234d5473d82283b;hp=9b80932b2e47fc372f1b4870141616eb640c9156;hpb=eb39f1bb5e6518c5dc4f4dbd3c88912a97192e95;p=architektonas diff --git a/src/penwidget.cpp b/src/penwidget.cpp index 9b80932..65da6bb 100644 --- a/src/penwidget.cpp +++ b/src/penwidget.cpp @@ -1,3 +1,4 @@ +// // penwidget.cpp: Pen tweaking widget // // Part of the Architektonas Project @@ -10,9 +11,8 @@ // --- ---------- ----------------------------------------------------------- // JLH 05/07/2017 Created this file // -//maybe add a button to have it stamp attributes on all objects clicked on? [added Global::penStamp to facilitate this.] -//need to add to drawingview the ability to use attributes on new objects [DONE] -//need to override the selection so you can see the attributes effects immediately when they are changed instead of having to deselect them to see [IN PROGRESS] +// Maybe add a "pen" pallete, to hold most frequently used pen colors/styles +// #include "penwidget.h" @@ -117,7 +117,6 @@ void PenWidget::HandleWidthSelected(QString text) return; Global::penWidth = value; - emit WidthSelected(Global::penWidth); } void PenWidget::HandleStyleSelected(int selected) @@ -129,7 +128,6 @@ void PenWidget::HandleStyleSelected(int selected) // Styles are 1-based, but the combobox is 0-based, so we compensate for // that here Global::penStyle = selected + 1; - emit StyleSelected(Global::penStyle); } void PenWidget::HandleRedSelected(QString text) @@ -143,7 +141,6 @@ void PenWidget::HandleRedSelected(QString text) r = value; Global::penColor = (r << 16) | (g << 8) | b; - emit ColorSelected(Global::penColor); } void PenWidget::HandleGreenSelected(QString text) @@ -157,7 +154,6 @@ void PenWidget::HandleGreenSelected(QString text) g = value; Global::penColor = (r << 16) | (g << 8) | b; - emit ColorSelected(Global::penColor); } void PenWidget::HandleBlueSelected(QString text) @@ -171,5 +167,4 @@ void PenWidget::HandleBlueSelected(QString text) b = value; Global::penColor = (r << 16) | (g << 8) | b; - emit ColorSelected(Global::penColor); }