r18255 by fschmid - Make selection rectangle transparent in Qt5

scribus-commit scribus-commit at lists.scribus.net
Wed Apr 17 19:44:50 UTC 2013


Author: fschmid
Date: Wed Apr 17 19:44:49 2013
New Revision: 18255

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18255
Log:
Make selection rectangle transparent in Qt5

Modified:
    trunk/Scribus/scribus/scribusview.cpp

Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18255&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Wed Apr 17 19:44:49 2013
@@ -327,6 +327,9 @@
 	redrawMode = 0;
 	redrawCount = 0;
 	redrawMarker = new QRubberBand(QRubberBand::Rectangle);
+#ifdef USE_QT5
+	redrawMarker->setWindowOpacity(0.5);
+#endif
 	redrawMarker->hide();
 	m_canvas->newRedrawPolygon();
 	m_canvas->resetRenderMode();




More information about the scribus-commit mailing list