[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Sat Dec 20 00:16:10 CET 2003


CVS commit by arwalker: 

Redraw the point selection combobox after the dialog
is initially drawn, so the geometry is correct.


  M +2 -1      curveappearancewidget.ui   1.5
  M +6 -0      curveappearancewidget.ui.h   1.7
  M +3 -1      ksthsdialog_i.cpp   1.34
  M +1 -0      kstpsddialog_i.cpp   1.27


--- kdeextragear-2/kst/kst/curveappearancewidget.ui  #1.4:1.5
@@ -9,5 +9,5 @@
             <x>0</x>
             <y>0</y>
-            <width>611</width>
+            <width>662</width>
             <height>504</height>
         </rect>
@@ -262,4 +262,5 @@
     <slot>setUsePoints( bool usePoints )</slot>
     <slot>setMustUseLines( bool bMustUseLines )</slot>
+    <slot>redrawCombo()</slot>
 </slots>
 <functions>

--- kdeextragear-2/kst/kst/curveappearancewidget.ui.h  #1.6:1.7
@@ -157,2 +157,8 @@ void CurveAppearanceWidget::setMustUseLi
     }
 }
+
+
+void CurveAppearanceWidget::redrawCombo()
+{
+   fillCombo();
+}

--- kdeextragear-2/kst/kst/ksthsdialog_i.cpp  #1.33:1.34
@@ -186,4 +186,6 @@ void KstHsDialogI::update(int new_index)
     Delete->setEnabled(false);
   }
+  
+    _curveAppearance->redrawCombo();
 }
 

--- kdeextragear-2/kst/kst/kstpsddialog_i.cpp  #1.26:1.27
@@ -184,4 +184,5 @@ void KstPsdDialogI::update(int new_index
     Delete->setEnabled(false);
   }
+   _curveAppearance->redrawCombo();
 }
 





More information about the Kst mailing list