X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpenwidget.cpp;fp=src%2Fpenwidget.cpp;h=65da6bb6034ea689b02778cdcfa5ffd30ef04116;hb=cdde036d71eb0ea9b450345bd297c8730591b26b;hp=a20c0a22951d7805ca63bdf1ecd402a355a68dd3;hpb=fce575a51ba1f26418869c20e63b9f388e118ab6;p=architektonas diff --git a/src/penwidget.cpp b/src/penwidget.cpp index a20c0a2..65da6bb 100644 --- a/src/penwidget.cpp +++ b/src/penwidget.cpp @@ -11,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" @@ -118,7 +117,6 @@ void PenWidget::HandleWidthSelected(QString text) return; Global::penWidth = value; - emit WidthSelected(Global::penWidth); } void PenWidget::HandleStyleSelected(int selected) @@ -130,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) @@ -144,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) @@ -158,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) @@ -172,5 +167,4 @@ void PenWidget::HandleBlueSelected(QString text) b = value; Global::penColor = (r << 16) | (g << 8) | b; - emit ColorSelected(Global::penColor); }