[Kst] branches/work/kst/portto4/kst/src
Barth Netterfield
netterfield at astro.utoronto.ca
Tue Aug 23 16:28:51 UTC 2011
SVN commit 1249078 by netterfield:
BUG: 280564
Everything requested by this bug are already possible, but not easy to find.
So:
Improve discoverability for dynamic strings, scalars, and equations in labels
by adding a descriptive label to relevant places.
M +19 -5 libkstapp/labeltab.ui
M +20 -0 widgets/labelbuilder.ui
--- branches/work/kst/portto4/kst/src/libkstapp/labeltab.ui #1249077:1249078
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>582</width>
+ <width>601</width>
<height>364</height>
</rect>
</property>
@@ -206,7 +206,7 @@
</property>
</widget>
</item>
- <item row="8" column="0" colspan="8">
+ <item row="9" column="0" colspan="8">
<widget class="Line" name="line">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
@@ -219,7 +219,7 @@
</property>
</widget>
</item>
- <item row="9" column="0" colspan="3">
+ <item row="10" column="0" colspan="3">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
@@ -252,7 +252,7 @@
</item>
</layout>
</item>
- <item row="9" column="4" colspan="4">
+ <item row="10" column="4" colspan="4">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -265,7 +265,7 @@
</property>
</spacer>
</item>
- <item row="10" column="3">
+ <item row="11" column="3">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -390,6 +390,20 @@
</property>
</widget>
</item>
+ <item row="8" column="2" colspan="6">
+ <widget class="QLabel" name="label_2">
+ <property name="font">
+ <font>
+ <italic>true</italic>
+ </font>
+ </property>
+ <property name="text">
+ <string>Supports scalars & strings (name in square brackets) - eg, [INDEX:Max (X2)],
+embedded equations - eg, [=[INDEX:Max] / 2]
+and LaTeX symbols - eg, \theta. Names and symbols are autocompleted.</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<customwidgets>
--- branches/work/kst/portto4/kst/src/widgets/labelbuilder.ui #1249077:1249078
@@ -45,6 +45,26 @@
<item row="0" column="1">
<widget class="Kst::SVCCTextEdit" name="_label"/>
</item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="label">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="font">
+ <font>
+ <italic>true</italic>
+ </font>
+ </property>
+ <property name="text">
+ <string>Supports scalars & strings (name in square brackets) - eg, [INDEX:Max (X2)],
+embedded equations - eg, [=[INDEX:Max] / 2]
+and LaTeX symbols - eg, \theta. Names and symbols are autocompleted.</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
More information about the Kst
mailing list