mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-28 19:28:38 +00:00
Merged revisions 721024-721074 via svnmerge from·
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/KDE to get the kdevplatform compile fix svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=721075
This commit is contained in:
commit
52f8e0905e
1 changed files with 2 additions and 2 deletions
|
@ -429,7 +429,7 @@ void PresentationWidget::paintEvent( QPaintEvent * pe )
|
|||
m_topBar->setObjectName( "presentationBar" );
|
||||
m_topBar->setIconSize( QSize( 32, 32 ) );
|
||||
m_topBar->setMovable( false );
|
||||
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "arrow-right" : "arrow-left" ), i18n("Previous Page"), this, SLOT( slotPrevPage() ) );
|
||||
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "go-previous-rtl" : "go-previous" ), i18n("Previous Page"), this, SLOT( slotPrevPage() ) );
|
||||
m_pagesEdit = new QLineEdit( m_topBar );
|
||||
QSizePolicy sp = m_pagesEdit->sizePolicy();
|
||||
sp.setHorizontalPolicy( QSizePolicy::Minimum );
|
||||
|
@ -443,7 +443,7 @@ void PresentationWidget::paintEvent( QPaintEvent * pe )
|
|||
pagesLabel->setText( QLatin1String( " / " ) + QString::number( m_document->pages() ) + QLatin1String( " " ) );
|
||||
m_topBar->addWidget( pagesLabel );
|
||||
connect( m_pagesEdit, SIGNAL( returnPressed() ), this, SLOT( slotPageChanged() ) );
|
||||
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "arrow-left" : "arrow-right" ), i18n("Next Page"), this, SLOT( slotNextPage() ) );
|
||||
m_topBar->addAction( KIcon( layoutDirection() == Qt::RightToLeft ? "go-next-rtl" : "go-next" ), i18n("Next Page"), this, SLOT( slotNextPage() ) );
|
||||
m_topBar->addSeparator();
|
||||
QAction * drawingAct = m_topBar->addAction( KIcon( "pencil" ), i18n( "Toggle Drawing Mode" ) );
|
||||
drawingAct->setCheckable( true );
|
||||
|
|
Loading…
Reference in a new issue