[Kst] extragear/graphics/kst/src/libkstapp

Barth Netterfield netterfield at astro.utoronto.ca
Tue Jun 6 16:55:34 CEST 2006


SVN commit 548785 by netterfield:

Use a system icon rather than an embedded icon.
        -it will be themable
        -we won't have to worry about the xpm/png nonsense in
plotdialog.ui anymore.

This is like a drop in the ocean of xpms in .ui files, but is a start.

All new dialogs ought to do this.



 M  +2 -0      kstplotdialog_i.cpp  
 M  +0 -9      plotdialog.ui  


--- trunk/extragear/graphics/kst/src/libkstapp/kstplotdialog_i.cpp #548784:548785
@@ -238,6 +238,8 @@
   _remove->setPixmap(BarIcon("back"));
   _remove->setEnabled(false);
 
+  _newWindow->setPixmap(SmallIcon("window_new"));
+
 }
 
 
--- trunk/extragear/graphics/kst/src/libkstapp/plotdialog.ui #548784:548785
@@ -47,9 +47,6 @@
                     <property name="text">
                         <string></string>
                     </property>
-                    <property name="pixmap">
-                        <pixmap>image0</pixmap>
-                    </property>
                 </widget>
                 <widget class="QComboBox">
                     <property name="name">
@@ -3152,12 +3149,6 @@
 </widget>
 <customwidgets>
 </customwidgets>
-<images>
-    <image name="image0">
-        <data format="XPM.GZ"
-	length="1311">789c65d2db72da301006e07b9ec203774c87e0838c3d9d5ee44c8821989804d2e9c55a12812440c22109e9f4ddebdd953c94ca60f8767f4936f8a8ee8cfa5da77e54596f6033938e9cc2caa9abed7cbefbf9ebc7ef4ad58d9ce2258a73f55ba5ea3bd2e92d171abfebe27bad4903a990c2134278c83611bca095232f2d231f094c110b404e0c153347869e0d37984285b4728d190aa624e2cab4d199a18c03e439b2e5fb4de62931f78358224f0c23e63132f27d09c42f66d0049abb22e64230df98a1cbe11d320e029953f79d2904f3d33066be3243c1733f8852a85c2117cc96597969c9735f90202397c3734b2990cfc83c8884a4ee1351c52e738694c5afae283c644a8fffc1fb92117263c92b4f0d43a6475476ee8561c81b6d0d817987545a69be85db92d4ed5972f8c1922ff206a943a57588ec33b5c761d792c3cd92f488ae2d79ee23516bd0d4bd424e42ad27d4bd664e3cee66c462f00d8e2df9994c4bd25337b2e4ab1a58f2bedd92b47262c9fb764a4ee869af412eeda140f19cc9e374f6f4fc325f2c5fdf56eb8de62a4cb7ef1f9fbbafe393d3b3f3e985a92a80cb76bbcd6f009bbdeaec8d6b9b5ddb4ad2e9263d9bbd298349d2ed1f649304d2c1e0f6df2ca449231b40ba97c515211b16c7dd7eb658b17b3f1a8f868d32fbd0ecb99066d9b8
 33ceb2d464b5195e91f5b4c9daa2a6750fabc5d48cce54f579984631fc83aafeaf6a1af859fdf3bdf217e5cb479c</data>
-    </image>
-</images>
 <connections>
     <connection>
         <sender>Close</sender>


More information about the Kst mailing list