[Kst] branches/work/kst/portto4/kst/src/libkstapp

Barth Netterfield netterfield at astro.utoronto.ca
Fri Nov 16 02:08:39 UTC 2012


SVN commit 1325239 by netterfield:

Make the power spectrum dialog wide (but not too wide), not tall, so it
fits on laptop screens.


 M  +8 -8      powerspectrumtab.ui  
 M  +0 -1      view.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/powerspectrumtab.ui #1325238:1325239
@@ -7,11 +7,11 @@
     <x>0</x>
     <y>0</y>
     <width>687</width>
-    <height>674</height>
+    <height>525</height>
    </rect>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <item>
+  <layout class="QGridLayout" name="gridLayout">
+   <item row="0" column="0" colspan="2">
     <widget class="QGroupBox" name="groupBox">
      <property name="title">
       <string>Power Spectrum Contents</string>
@@ -43,15 +43,15 @@
      </layout>
     </widget>
    </item>
-   <item>
+   <item row="1" column="0" colspan="2">
     <widget class="Kst::FFTOptions" name="_FFTOptions" native="true"/>
    </item>
-   <item>
+   <item row="2" column="0">
+    <widget class="Kst::CurveAppearance" name="_curveAppearance" native="true"/>
+   </item>
+   <item row="2" column="1">
     <widget class="Kst::CurvePlacement" name="_curvePlacement" native="true"/>
    </item>
-   <item>
-    <widget class="Kst::CurveAppearance" name="_curveAppearance" native="true"/>
-   </item>
   </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
--- branches/work/kst/portto4/kst/src/libkstapp/view.cpp #1325238:1325239
@@ -612,7 +612,6 @@
     pointSize = newPointSize;
   }
   qreal legendPointSize = qMax(pointSize*qreal(0.6), ApplicationSettings::self()->minimumFontSize());
-  qDebug() << "reset plot font size to" << pointSize << " for " << PlotItemManager::self()->plotsForView(this).size();
   foreach(PlotItem* plotItem, PlotItemManager::self()->plotsForView(this)) {
     plotItem->setGlobalFontScale(pointSize);
     plotItem->rightLabelDetails()->setFontScale(pointSize);


More information about the Kst mailing list