Mercurial > hg > svgui
comparison widgets/Panner.cpp @ 189:5b7472db612b
* Add large chunks of context help in the optional status bar
* Add an extra overlay mode in which even the centre frame is disabled
* Fixes to FTP retrieval
author | Chris Cannam |
---|---|
date | Fri, 19 Jan 2007 13:13:14 +0000 |
parents | dd573e090eed |
children | 57c2350a8c40 |
comparison
equal
deleted
inserted
replaced
188:dd573e090eed | 189:5b7472db612b |
---|---|
113 normalise(); | 113 normalise(); |
114 emitAndUpdate(); | 114 emitAndUpdate(); |
115 } | 115 } |
116 | 116 |
117 void | 117 void |
118 Panner::enterEvent(QEvent *) | |
119 { | |
120 emit mouseEntered(); | |
121 } | |
122 | |
123 void | |
124 Panner::leaveEvent(QEvent *) | |
125 { | |
126 emit mouseLeft(); | |
127 } | |
128 | |
129 void | |
118 Panner::paintEvent(QPaintEvent *e) | 130 Panner::paintEvent(QPaintEvent *e) |
119 { | 131 { |
120 QPainter paint(this); | 132 QPainter paint(this); |
121 paint.setRenderHint(QPainter::Antialiasing, false); | 133 paint.setRenderHint(QPainter::Antialiasing, false); |
122 | 134 |