[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/plugins/standardoutputview
From: David Nolden <david.nolden.kde () art-master ! de>
Date: 2009-04-15 21:50:34
Message-ID: 1239832234.495506.17324.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 954555 by zwabel:
Always enable the scroll-bar so it doesn't flash, and hide the header.
M +4 -2 outputwidget.cpp
--- trunk/KDE/kdevplatform/plugins/standardoutputview/outputwidget.cpp #954554:954555
@@ -308,7 +308,8 @@
kDebug() << "creating listview";
listview = new KDevelop::FocusedTreeView(this);
listview->setEditTriggers( QAbstractItemView::NoEditTriggers );
- listview->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
+ listview->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn); //Always \
enable the scrollbar, so it doesn't flash around + \
listview->setHeaderHidden(true); listview->setRootIsDecorated(false);
views[id] = listview;
@@ -331,8 +332,9 @@
{
listview = new KDevelop::FocusedTreeView(this);
listview->setEditTriggers( QAbstractItemView::NoEditTriggers );
- listview->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
+ listview->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn); \
//Always enable the scrollbar, so it doesn't flash around \
listview->setRootIsDecorated(false); + \
listview->setHeaderHidden(true);
layout()->addWidget( listview );
connect( listview, SIGNAL(activated(const QModelIndex&)),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic