-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added fine transparency settings for vectors. #258
Conversation
Now the user can specify the alpha channel for outlines, border and fill colors of polygons and markers. The overall layer alpha channel is used as multiplier for these values. Selections are not affected. Work done for Regione Toscana-SITA.
Should fix http://hub.qgis.org/issues/5276 |
@@ -259,9 +259,9 @@ void QgsSimpleMarkerSymbolLayerV2Widget::setColorBorder() | |||
// Native Mac dialog works only for Qt Carbon | |||
// Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-14889 | |||
// FIXME need to also check max QT_VERSION when Qt bug fixed | |||
QColor borderColor = QColorDialog::getColor( mLayer->borderColor(), this, "", QColorDialog::DontUseNativeDialog ); | |||
QColor borderColor = QColorDialog::getColor( mLayer->borderColor(), this, "", QColorDialog::DontUseNativeDialog | QColorDialog::ShowAlphaChannel ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why QColorDialog::DontUseNativeDialog is removed when there is a note to saying it should be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why QColorDialog::DontUseNativeDialog is removed when there is a note to saying it should be used?
Where? AFAICS it wasn't removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry misread. Never mind.
Along to this commit, I have to push the following one: brushtyler@d79fd27. The problem is due to the current QgsFillSymbolLayerV2 implementation (the one before applying this patch), which changes the |
Yay, been waiting for this one a long time :) |
Thanks Lorenzo (aka rugginoso)! |
Explain live update of the color button for print composer.
Now the user can specify the alpha channel for outlines, border and
fill colors of polygons and markers.
The overall layer alpha channel is used as multiplier for these
values.
Selections are not affected.
Work done for Regione Toscana-SITA.