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

List:       kde-commits
Subject:    branches/kdevelop/3.4/parts/ctags2
From:       Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date:       2006-09-20 20:08:31
Message-ID: 1158782911.583375.3346.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 586867 by dagerbo:

display path to tags files

 M  +4 -4      ctags2_settingswidget.cpp  
 M  +1 -0      ctags2_settingswidget.h  
 M  +30 -7     ctags2_settingswidgetbase.ui  


--- branches/kdevelop/3.4/parts/ctags2/ctags2_settingswidget.cpp #586866:586867
@@ -11,10 +11,10 @@
 
 #include <qcheckbox.h>
 #include <qradiobutton.h>
-#include <qlistview.h>
 #include <qheader.h>
 
 #include <klineedit.h>
+#include <klistview.h>
 #include <kdevproject.h>
 #include <kapplication.h>
 #include <kurlcompletion.h>
@@ -42,9 +42,9 @@
 	tagfilePath->setShowLocalProtocol( false );
 
 	otherTagFiles->setSorting( -1 );
-	otherTagFiles->addColumn( "" );
-	otherTagFiles->header()->hide();
-//    otherTagFiles->setFullWidth( true );
+// 	otherTagFiles->addColumn( "" );
+// 	otherTagFiles->header()->hide();
+   otherTagFiles->setFullWidth( true );
 
 	loadSettings();
 }
--- branches/kdevelop/3.4/parts/ctags2/ctags2_settingswidget.h #586866:586867
@@ -25,6 +25,7 @@
 		: QCheckListItem( parent, name, QCheckListItem::CheckBox ), m_name( name ), \
m_tagsfilePath( tagsfilePath )  {
 		setOn( active );
+		setText( 1, tagsfilePath );
 	}
 	QString name() { return m_name; }
 	QString tagsfilePath() { return m_tagsfilePath; }
--- branches/kdevelop/3.4/parts/ctags2/ctags2_settingswidgetbase.ui #586866:586867
@@ -174,7 +174,7 @@
                     <cstring>tab</cstring>
                 </property>
                 <attribute name="title">
-                    <string>Manage tag files</string>
+                    <string>Mana&amp;ge tag files</string>
                 </attribute>
                 <grid>
                     <property name="name">
@@ -249,16 +249,11 @@
                                     <cstring>removeButton</cstring>
                                 </property>
                                 <property name="text">
-                                    <string>Remove</string>
+                                    <string>Remo&amp;ve</string>
                                 </property>
                             </widget>
                         </grid>
                     </widget>
-                    <widget class="QListView" row="2" column="0" rowspan="2" \
                colspan="1">
-                        <property name="name">
-                            <cstring>otherTagFiles</cstring>
-                        </property>
-                    </widget>
                     <spacer row="3" column="1">
                         <property name="name">
                             <cstring>spacer1</cstring>
@@ -276,6 +271,33 @@
                             </size>
                         </property>
                     </spacer>
+                    <widget class="KListView" row="2" column="0" rowspan="2" \
colspan="1"> +                        <column>
+                            <property name="text">
+                                <string>Name</string>
+                            </property>
+                            <property name="clickable">
+                                <bool>true</bool>
+                            </property>
+                            <property name="resizable">
+                                <bool>true</bool>
+                            </property>
+                        </column>
+                        <column>
+                            <property name="text">
+                                <string>Tags file</string>
+                            </property>
+                            <property name="clickable">
+                                <bool>true</bool>
+                            </property>
+                            <property name="resizable">
+                                <bool>true</bool>
+                            </property>
+                        </column>
+                        <property name="name">
+                            <cstring>otherTagFiles</cstring>
+                        </property>
+                    </widget>
                 </grid>
             </widget>
         </widget>
@@ -331,5 +353,6 @@
     <includehint>kurlrequester.h</includehint>
     <includehint>klineedit.h</includehint>
     <includehint>kpushbutton.h</includehint>
+    <includehint>klistview.h</includehint>
 </includehints>
 </UI>


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

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