projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfae3f
)
ViewItem: Make HighlightRadius truly a radius
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 20 Dec 2014 09:53:33 +0000
(09:53 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 28 Dec 2014 18:52:53 +0000
(18:52 +0000)
pv/view/viewitem.cpp
patch
|
blob
|
history
diff --git
a/pv/view/viewitem.cpp
b/pv/view/viewitem.cpp
index b3498ac159434ea6d36c2404bcedcca025e52d52..b833b4bbad0c19d2ea3afd6974381e35ecdf82fd 100644
(file)
--- a/
pv/view/viewitem.cpp
+++ b/
pv/view/viewitem.cpp
@@
-29,7
+29,7
@@
namespace pv {
namespace view {
-const int ViewItem::HighlightRadius =
6
;
+const int ViewItem::HighlightRadius =
3
;
ViewItem::ViewItem() :
context_parent_(NULL),
@@
-81,7
+81,7
@@
void ViewItem::delete_pressed()
QPen ViewItem::highlight_pen()
{
return QPen(QApplication::palette().brush(
- QPalette::Highlight), HighlightRadius,
+ QPalette::Highlight), HighlightRadius
* 2
,
Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin);
}