[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/doctreeview
From:       Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date:       2003-11-25 11:14:01
[Download RAW message or body]

CVS commit by dagerbo: 

Performance fix: Make the "Index" tab of the DocTree load much quicker 
the first time it's used. Also, a microscopic usability improvement.

Reviewed by Alexander Dymo


  M +1 -0      choosedlg.cpp   1.2
  M +4 -3      doctreeviewwidget.cpp   1.73


--- kdevelop/parts/doctreeview/choosedlg.cpp  #1.1:1.2
@@ -46,4 +46,5 @@ ChooseDlg::ChooseDlg(QWidget *parent, co
     lv = new KListView(this, "topics list");
     lv->setMinimumWidth(600);
+        lv->setAllColumnsShowFocus( true );
     lv->addColumn(i18n("Topic"));
     lv->addColumn(i18n("Filename"));

--- kdevelop/parts/doctreeview/doctreeviewwidget.cpp  #1.72:1.73
@@ -63,5 +63,5 @@
 
 IndexTreeData::IndexTreeData(const QString &text, const QString &parent, const \
                QString &filename) :
-        m_text(text), m_parent(parent), m_filename(filename), m_visible(false)
+        m_text(text), m_parent(parent), m_filename(filename), m_visible(true)
 {
 }
@@ -1001,5 +1001,5 @@ bool DocTreeViewWidget::initKDocKDELibs(
 
 DocTreeViewWidget::DocTreeViewWidget(DocTreeViewPart *part)
-        : QVBox(0, "doc tree widget"), m_activeTreeItem ( 0L ), indexMode ( \
plainListMode ), // will be switched +        : QVBox(0, "doc tree widget"), \
m_activeTreeItem ( 0L ), indexMode ( filteredMode ), // will be switched  \
subStringSearch( false )  {
@@ -1030,4 +1030,5 @@ DocTreeViewWidget::DocTreeViewWidget(Doc
     indexModeSwitch->setPixmap ( SmallIcon ( "contents" ) );
     indexModeSwitch->setToggleButton(true);
+    indexModeSwitch->setOn( true );
     QToolTip::add ( indexModeSwitch, i18n ( "Show topics for index items" ) );
     QWhatsThis::add(indexModeSwitch, i18n("<b>Show topics for index \
items</b><p>Index view shows topics to which index items belong if toggled.")); @@ \
-1856,5 +1857,5 @@ void DocTreeViewWidget::slotCurrentTabCh  \
progress.setProgress(30);  
-        filterMultiReferences();
+//        filterMultiReferences();
 
         progress.setProgress(90);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic