Abdelrazak Younes a écrit :
Helge Hafting a écrit :
Concerning the math panel, it used to work great also last time I checked (before the ui file conversion) but I see now that there's a lot of problems. I use exclusively the math toolbar so I didn't notice. I'll try to have a look at this over the week-end.

It seems that Qt4 ui format doesn't support embedded icons like older version did. I found similar xpm in "trunk/images". I have used those for now but I am missing the one that should come with the style PushButton. But the icons still do not show in the math panel under Windows... Any idea?

I have also resized the delimiter dialog so that all delimiters fit in the dialog by couple.

Abdel.
Index: frontends/qt4/ui/QDelimiterUi.ui
===================================================================
--- frontends/qt4/ui/QDelimiterUi.ui    (revision 13538)
+++ frontends/qt4/ui/QDelimiterUi.ui    (working copy)
@@ -8,8 +8,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>269</width>
-    <height>283</height>
+    <width>282</width>
+    <height>558</height>
    </rect>
   </property>
   <property name="windowTitle" >
Index: frontends/qt4/ui/QMathUi.ui
===================================================================
--- frontends/qt4/ui/QMathUi.ui (revision 13538)
+++ frontends/qt4/ui/QMathUi.ui (working copy)
@@ -58,7 +58,7 @@
             <string/>
            </property>
            <property name="icon" >
-            <iconset/>
+            <iconset>../../../../images/sqrt.xpm</iconset>
            </property>
           </widget>
          </item>
@@ -71,7 +71,7 @@
             <string/>
            </property>
            <property name="icon" >
-            <iconset/>
+            <iconset>../../../../images/space.xpm</iconset>
            </property>
           </widget>
          </item>
@@ -84,7 +84,7 @@
             <string/>
            </property>
            <property name="icon" >
-            <iconset/>
+            <iconset>../../../../images/style.xbm</iconset>
            </property>
           </widget>
          </item>
@@ -97,7 +97,7 @@
             <string/>
            </property>
            <property name="icon" >
-            <iconset/>
+            <iconset>../../../../images/style.xpm</iconset>
            </property>
           </widget>
          </item>
@@ -136,7 +136,7 @@
               <string/>
              </property>
              <property name="icon" >
-              <iconset/>
+              <iconset>../../../../images/frac.xpm</iconset>
              </property>
             </widget>
            </item>
@@ -157,7 +157,7 @@
               <string/>
              </property>
              <property name="icon" >
-              <iconset/>
+              <iconset>../../../../images/equation.xpm</iconset>
              </property>
             </widget>
            </item>
@@ -170,7 +170,7 @@
               <string/>
              </property>
              <property name="icon" >
-              <iconset/>
+              <iconset>../../../../images/matrix.xpm</iconset>
              </property>
             </widget>
            </item>
@@ -183,7 +183,7 @@
               <string/>
              </property>
              <property name="icon" >
-              <iconset/>
+              <iconset>../../../../images/sub.xpm</iconset>
              </property>
             </widget>
            </item>
@@ -196,7 +196,7 @@
               <string/>
              </property>
              <property name="icon" >
-              <iconset/>
+              <iconset>../../../../images/super.xpm</iconset>
              </property>
             </widget>
            </item>
@@ -209,7 +209,7 @@
               <string/>
              </property>
              <property name="icon" >
-              <iconset/>
+              <iconset>../../../../images/delim.xpm</iconset>
              </property>
             </widget>
            </item>

Reply via email to