mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
give the thumbnail list, the toc and the bookmark list a coherent look
svn path=/trunk/KDE/kdegraphics/okular/; revision=704267
This commit is contained in:
parent
0b0a33d347
commit
dac41f84ad
2
part.cpp
2
part.cpp
|
@ -182,7 +182,7 @@ m_searchStarted(false), m_cliPresentation(false)
|
|||
|
||||
// [left toolbox: Thumbnails and Bookmarks] | []
|
||||
KVBox * thumbsBox = new ThumbnailsBox( 0 );
|
||||
thumbsBox->setSpacing( 4 );
|
||||
thumbsBox->setSpacing( 6 );
|
||||
m_searchWidget = new SearchWidget( thumbsBox, m_document );
|
||||
m_thumbnailList = new ThumbnailList( thumbsBox, m_document );
|
||||
// ThumbnailController * m_tc = new ThumbnailController( thumbsBox, m_thumbnailList );
|
||||
|
|
|
@ -73,14 +73,10 @@ BookmarkList::BookmarkList( Okular::Document *document, QWidget *parent )
|
|||
{
|
||||
QVBoxLayout *mainlay = new QVBoxLayout( this );
|
||||
mainlay->setMargin( 0 );
|
||||
|
||||
QHBoxLayout *searchlay = new QHBoxLayout();
|
||||
searchlay->setMargin( 2 );
|
||||
searchlay->setSpacing( 2 );
|
||||
mainlay->addLayout( searchlay );
|
||||
mainlay->setSpacing( 6 );
|
||||
|
||||
m_searchLine = new KTreeWidgetSearchLine( this );
|
||||
searchlay->addWidget( m_searchLine );
|
||||
mainlay->addWidget( m_searchLine );
|
||||
|
||||
m_tree = new QTreeWidget( this );
|
||||
mainlay->addWidget( m_tree );
|
||||
|
|
|
@ -93,14 +93,10 @@ TOC::TOC(QWidget *parent, Okular::Document *document) : QWidget(parent), m_docum
|
|||
{
|
||||
QVBoxLayout *mainlay = new QVBoxLayout( this );
|
||||
mainlay->setMargin( 0 );
|
||||
|
||||
QHBoxLayout *searchlay = new QHBoxLayout();
|
||||
searchlay->setMargin( 2 );
|
||||
searchlay->setSpacing( 2 );
|
||||
mainlay->addLayout( searchlay );
|
||||
mainlay->setSpacing( 6 );
|
||||
|
||||
m_searchLine = new KTreeWidgetSearchLine( this );
|
||||
searchlay->addWidget( m_searchLine );
|
||||
mainlay->addWidget( m_searchLine );
|
||||
|
||||
m_treeView = new QTreeWidget( this );
|
||||
mainlay->addWidget( m_treeView );
|
||||
|
|
Loading…
Reference in a new issue