mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
person("pinotree")->happiness++
svn path=/trunk/KDE/kdegraphics/okular/; revision=756180
This commit is contained in:
parent
2ab6d6f842
commit
93fdfab88c
|
@ -261,6 +261,7 @@ void PageViewMessage::paintEvent( QPaintEvent * /* e */ )
|
|||
painter.setRenderHint( QPainter::Antialiasing, true );
|
||||
painter.setPen( Qt::black );
|
||||
painter.setBrush( palette().color( QPalette::Window ) );
|
||||
painter.translate( 0.5, 0.5 );
|
||||
painter.drawRoundRect( 1, 1, width()-2, height()-2, 1600 / width(), 1600 / height() );
|
||||
|
||||
// draw icon if present
|
||||
|
|
|
@ -67,6 +67,7 @@ class TreeView : public QTreeView
|
|||
const uint h = document.size().height() + 20;
|
||||
|
||||
p.setBrush( palette().background() );
|
||||
p.translate( 0.5, 0.5 );
|
||||
p.drawRoundRect( 15, 15, w, h, (8*200)/w, (8*200)/h );
|
||||
p.translate( 20, 20 );
|
||||
document.drawContents( &p );
|
||||
|
|
Loading…
Reference in a new issue