JKQtPlotter/examples/jkqtmathtext_test/testform.ui

913 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TestForm</class>
<widget class="QWidget" name="TestForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1523</width>
<height>742</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="7" column="1">
<widget class="QLabel" name="label_9">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>HTML output:</string>
</property>
</widget>
</item>
<item row="15" column="0" colspan="2">
<widget class="JKQTMathTextLabel" name="labMath">
<property name="text">
<string>left(left[sqrt{2picdotint_{-infty}^infty f(x);mathrm{d}x}right]right) </string>
</property>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_8">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>LaTeX source:</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnRender">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Render</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_11">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>rendered result:</string>
</property>
</widget>
</item>
<item row="13" column="1">
<widget class="QLabel" name="label_10">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>node tree:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QTextBrowser" name="textBrowser"/>
</item>
<item row="4" column="0" rowspan="11">
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>752</width>
<height>552</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item row="12" column="1">
<widget class="QLabel" name="labRenderTimes">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QLabel" name="labParsingTimes">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="4">
<widget class="QLabel" name="label_14">
<property name="text">
<string>sans:</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QComboBox" name="cmbEncodingSerifMath">
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="0" column="8">
<widget class="QFontComboBox" name="cmbUnicodeTypewriter">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Symbol/Unicode fonts:</string>
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QComboBox" name="cmbEncodingTypewriter">
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin-1</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2">
<widget class="QFontComboBox" name="cmbUnicodeBlackboard">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QComboBox" name="cmbEncodingBlackboard">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="0" column="6">
<widget class="QComboBox" name="cmbEncodingSans">
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_18">
<property name="text">
<string>blackboard:</string>
</property>
</widget>
</item>
<item row="3" column="9">
<widget class="QComboBox" name="cmbEncodingSymbol">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="0" column="5">
<widget class="QFontComboBox" name="cmbUnicodeSans">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="3" column="8">
<widget class="QFontComboBox" name="cmbUnicodeSymbol">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QComboBox" name="cmbEncodingSansMath">
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="3" column="6">
<widget class="QComboBox" name="cmbEncodingCaligraphic">
<property name="currentIndex">
<number>-1</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="2" column="6">
<widget class="QComboBox" name="cmbEncodingFraktur">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="0" column="12">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="7">
<widget class="QLabel" name="label_15">
<property name="text">
<string>script:</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QLabel" name="label_23">
<property name="text">
<string>math-sans:</string>
</property>
</widget>
</item>
<item row="2" column="5">
<widget class="QFontComboBox" name="cmbUnicodeFraktur">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QFontComboBox" name="cmbUnicodeSerifMath">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="1" column="9">
<widget class="QComboBox" name="cmbEncodingScript">
<property name="currentIndex">
<number>-1</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="1" column="5">
<widget class="QFontComboBox" name="cmbUnicodeSansMath">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="cmbEncodingSerif">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>WinSymbol</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>Latin1</string>
</property>
</item>
</widget>
</item>
<item row="3" column="4">
<widget class="QLabel" name="label_16">
<property name="text">
<string>caligraphic:</string>
</property>
</widget>
</item>
<item row="0" column="7">
<widget class="QLabel" name="label_19">
<property name="text">
<string>typewriter:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_22">
<property name="text">
<string>math- roman:</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QLabel" name="label_21">
<property name="text">
<string>fraktur:</string>
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QFontComboBox" name="cmbCaligraphic">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_17">
<property name="text">
<string> roman:</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QFontComboBox" name="cmbUnicodeSerif">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="1" column="8">
<widget class="QFontComboBox" name="cmbScript">
<property name="currentFont">
<font/>
</property>
</widget>
</item>
<item row="3" column="7">
<widget class="QLabel" name="label_20">
<property name="text">
<string>fallback-symbol:</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QComboBox" name="cmdBlackboradMode">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>unicode_or_font_directly</string>
</property>
</item>
<item>
<property name="text">
<string>unicode_or_simulate</string>
</property>
</item>
<item>
<property name="text">
<string>font_directly</string>
</property>
</item>
<item>
<property name="text">
<string>simulate</string>
</property>
</item>
<item>
<property name="text">
<string>default</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="11" column="1">
<widget class="QLabel" name="label_12">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>render times (getSize()+getAscent()/draw()):</string>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="QTreeWidget" name="tree">
<property name="headerHidden">
<bool>true</bool>
</property>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
<item row="0" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,2,0,2,0,0,0,1,0,0,0,0,0,0">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>testset:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbTestset">
<property name="currentIndex">
<number>-1</number>
</property>
<property name="maxVisibleItems">
<number>30</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>fonts:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbFont">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Below</string>
</property>
</item>
<item>
<property name="text">
<string>Below+Math: XITS</string>
</property>
</item>
<item>
<property name="text">
<string>Below+Math: STIX</string>
</property>
</item>
<item>
<property name="text">
<string>Below+Math: ASANA</string>
</property>
</item>
<item>
<property name="text">
<string>Default-Constructed</string>
</property>
</item>
<item>
<property name="text">
<string>Default-Constructed+SetAppFontRoman+SetAppFontMath</string>
</property>
</item>
<item>
<property name="text">
<string>Default-Constructed+SetAppFontRoman+SetAppFontMath+XITS</string>
</property>
</item>
<item>
<property name="text">
<string>useXITS(true)+useAnyUnicode(&quot;Times New Roman&quot;, &quot;Times New Roman&quot;)</string>
</property>
</item>
<item>
<property name="text">
<string>useXITS(true)+useAnyUnicode(&quot;Arial&quot;, &quot;Arial&quot;)</string>
</property>
</item>
<item>
<property name="text">
<string>useXITS(true)+useAnyUnicode(&quot;Courier New&quot;, &quot;Courier New&quot;)</string>
</property>
</item>
<item>
<property name="text">
<string>useXITS(true)+useAnyUnicode(&quot;Comic Sans MS&quot;, &quot;Comic Sans MS&quot;)</string>
</property>
</item>
<item>
<property name="text">
<string>useAnyUnicodeForTextOnly(&quot;Times New Roman&quot;, &quot;Times New Roman&quot;)+useXITS(true)</string>
</property>
</item>
<item>
<property name="text">
<string>useAnyUnicodeForTextOnly(&quot;Arial&quot;, &quot;Arial&quot;)+useXITS(true)</string>
</property>
</item>
<item>
<property name="text">
<string>useAnyUnicodeForTextOnly(&quot;Courier New&quot;, &quot;Courier New&quot;)+useXITS(true)</string>
</property>
</item>
<item>
<property name="text">
<string>useAnyUnicodeForTextOnly(&quot;Comic Sans MS&quot;, &quot;Comic Sans MS&quot;)+useXITS(true)</string>
</property>
</item>
<item>
<property name="text">
<string>useXITS(false)</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbSizeUnit">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>pt</string>
</property>
</item>
<item>
<property name="text">
<string>px</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>size:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtSizes">
<property name="text">
<string>90,30,20,10,12</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkBoxes">
<property name="text">
<string>boxes</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkBigBox">
<property name="text">
<string>big-box</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkAntiAlias">
<property name="text">
<string>anti-aliase</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkAntiAliasText">
<property name="text">
<string>Text anti-aliase</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>last-align</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbLastAlign">
<item>
<property name="text">
<string>lt</string>
</property>
</item>
<item>
<property name="text">
<string>lc</string>
</property>
</item>
<item>
<property name="text">
<string>lb</string>
</property>
</item>
<item>
<property name="text">
<string>ct</string>
</property>
</item>
<item>
<property name="text">
<string>cc</string>
</property>
</item>
<item>
<property name="text">
<string>cb</string>
</property>
</item>
<item>
<property name="text">
<string>rt</string>
</property>
</item>
<item>
<property name="text">
<string>rc</string>
</property>
</item>
<item>
<property name="text">
<string>rb</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="9" column="1">
<widget class="QLabel" name="label_13">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>parsing times:</string>
</property>
</widget>
</item>
<item row="4" column="1" rowspan="2">
<widget class="QPlainTextEdit" name="textBrowserSource">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QTextBrowser" name="labError">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>48</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>JKQTMathTextLabel</class>
<extends>QLabel</extends>
<header>jkqtmathtext/jkqtmathtextlabel.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>btnRender</sender>
<signal>clicked()</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>1512</x>
<y>163</y>
</hint>
<hint type="destinationlabel">
<x>617</x>
<y>380</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>updateMath()</slot>
</slots>
</ui>