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:
Pino Toscano 2007-08-24 14:20:03 +00:00
parent 0b0a33d347
commit dac41f84ad
3 changed files with 5 additions and 13 deletions

View file

@ -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 );

View file

@ -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 );

View file

@ -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 );