[Kst] [Bug 103525] extension 'manager' should provide more info (description) of extensions

George Staikos staikos at kde.org
Sat Apr 9 00:10:17 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=103525         
staikos kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos kde org  2005-04-09 00:10 -------
CVS commit by staikos: 

put more information in the dialog (there is no version number for extensions)
FEATURE: 103525


  M +25 -1     extensiondlg.ui   1.7
  M +3 -1      extensiondlg.ui.h   1.3


--- kdeextragear-2/kst/kst/extensiondlg.ui  #1.6:1.7
 @ -9,5 +9,5  @
             <x>0</x>
             <y>0</y>
-            <width>473</width>
+            <width>573</width>
             <height>296</height>
         </rect>
 @ -34,4 +34,15  @
             <column>
                 <property name="text">
+                    <string>Description</string>
+                </property>
+                <property name="clickable">
+                    <bool>true</bool>
+                </property>
+                <property name="resizable">
+                    <bool>true</bool>
+                </property>
+            </column>
+            <column>
+                <property name="text">
                     <string>Author</string>
                 </property>
 @ -43,4 +54,15  @
                 </property>
             </column>
+            <column>
+                <property name="text">
+                    <string>Plugin</string>
+                </property>
+                <property name="clickable">
+                    <bool>true</bool>
+                </property>
+                <property name="resizable">
+                    <bool>true</bool>
+                </property>
+            </column>
             <property name="name">
                 <cstring>_extensions</cstring>
 @ -113,5 +135,7  @
 </tabstops>
 <includes>
+    <include location="global" impldecl="in implementation">klibloader.h</include>
     <include location="global" impldecl="in implementation">kservicetype.h</include>
+    <include location="local" impldecl="in implementation">kst.h</include>
     <include location="local" impldecl="in implementation">extensionmgr.h</include>
     <include location="local" impldecl="in implementation">extensiondlg.ui.h</include>

--- kdeextragear-2/kst/kst/extensiondlg.ui.h  #1.2:1.3
 @ -17,5 +17,7  @ void ExtensionDialog::show()
         QString name = service->property("Name").toString();
         QCheckListItem *i = new QCheckListItem(_extensions, name, QCheckListItem::CheckBox);
-        i->setText(1, service->property("X-Kst-Plugin-Author").toString());
+        i->setText(1, service->property("Comment").toString());
+        i->setText(2, service->property("X-Kst-Plugin-Author").toString());
+        i->setText(3, KLibLoader::findLibrary(service->library().latin1(), KstApp::inst()->instance()));
         if (!ExtensionMgr::self()->extensions().contains(name)) {
             ExtensionMgr::self()->setEnabled(name, service->property("X-Kst-Enabled").toBool());


More information about the Kst mailing list