Changeset 5c4a98c1069891afa6b0ed52bfe87b81a1c68d8b
- Timestamp:
- 11/01/08 07:33:57
(11 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1200033237 +0000
- git-parent:
[7e5abc720a8d3a2389b756307f56c178e2fa37e8]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1200033237 +0000
- Message:
Qt4 - SoundSlider?, add a caption of the volume on it after IRC idea.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8b58391 |
r5c4a98c |
|
| 189 | 189 | painter.drawPixmap( boundsO, pixOutside, boundsO ); |
|---|
| 190 | 190 | |
|---|
| | 191 | painter.setPen( palette().color( QPalette::Active, QPalette::Mid ) ); |
|---|
| | 192 | QFont font; font.setPixelSize( 9 ); |
|---|
| | 193 | painter.setFont( font ); |
|---|
| | 194 | const QRect rect( 0, 0, 34, 15 ); |
|---|
| | 195 | painter.drawText( rect, Qt::AlignRight | Qt::AlignVCenter, |
|---|
| | 196 | QString::number( value() ) + '%' ); |
|---|
| | 197 | |
|---|
| 191 | 198 | painter.end(); |
|---|
| 192 | 199 | } |
|---|