JKQtPlotter/test/jkqtmathtext_test/testform.ui

559 lines
14 KiB
Plaintext
Raw Normal View History

<?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>1238</width>
<height>742</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="0" rowspan="5">
<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>605</width>
<height>628</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="4" column="1">
<widget class="QTextBrowser" name="textBrowserSource">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,2,0,2,0,0,1,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>Symbol</string>
</property>
</item>
<item>
<property name="text">
<string>XITS</string>
</property>
</item>
<item>
<property name="text">
<string>STIX</string>
</property>
</item>
<item>
<property name="text">
<string>Unicode</string>
</property>
</item>
<item>
<property name="text">
<string>LaTeX</string>
</property>
</item>
<item>
<property name="text">
<string>ASANA</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</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="chkAntiAlias">
<property name="text">
<string>anti-aliase</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkAntiAliasHQ">
<property name="text">
<string>HQ anti-aliase</string>
</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>
<widget class="QCheckBox" name="chkSmoothTransform">
<property name="text">
<string>smooth transform</string>
</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>
</layout>
</item>
<item row="1" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>latex prefix/postfix:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtLatexPrefix"/>
</item>
<item>
<widget class="QLineEdit" name="edtLatexPostfix"/>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Symbol/Unicode fonts:</string>
</property>
</widget>
</item>
<item>
<widget class="QFontComboBox" name="cmbUnicodeSerif">
<property name="currentFont">
<font>
<family>Times New Roman</family>
</font>
</property>
</widget>
</item>
<item>
<widget class="QFontComboBox" name="cmbUnicodeSans">
<property name="currentFont">
<font>
<family>Arial</family>
</font>
</property>
</widget>
</item>
<item>
<widget class="QFontComboBox" name="cmbUnicodeFixed">
<property name="currentFont">
<font>
<family>Courier New</family>
</font>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>symbol font:</string>
</property>
</widget>
</item>
<item>
<widget class="QFontComboBox" name="cmbUnicodeSymbol">
<property name="currentFont">
<font>
<family>Symbol</family>
</font>
</property>
</widget>
</item>
<item>
<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>
</layout>
</item>
<item row="8" 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="6" column="1">
<widget class="QTextBrowser" name="textBrowser"/>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_9">
<property name="text">
<string>HTML output:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="label_10">
<property name="text">
<string>node tree:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_8">
<property name="text">
<string>LaTeX source:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>rendered result:</string>
</property>
</widget>
</item>
<item row="9" 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>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>JKQTMathTextLabel</class>
<extends>QLabel</extends>
<header>jkqtmathtext/jkqtmathtext.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>cmbTestset</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>130</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>421</x>
<y>36</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmbFont</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>328</x>
<y>29</y>
</hint>
<hint type="destinationlabel">
<x>423</x>
<y>89</y>
</hint>
</hints>
</connection>
<connection>
<sender>chkBoxes</sender>
<signal>clicked()</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>591</x>
<y>27</y>
</hint>
<hint type="destinationlabel">
<x>424</x>
<y>187</y>
</hint>
</hints>
</connection>
<connection>
<sender>chkAntiAlias</sender>
<signal>clicked()</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>669</x>
<y>27</y>
</hint>
<hint type="destinationlabel">
<x>422</x>
<y>220</y>
</hint>
</hints>
</connection>
<connection>
<sender>chkAntiAliasHQ</sender>
<signal>clicked()</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>765</x>
<y>27</y>
</hint>
<hint type="destinationlabel">
<x>423</x>
<y>259</y>
</hint>
</hints>
</connection>
<connection>
<sender>chkAntiAliasText</sender>
<signal>clicked()</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>867</x>
<y>27</y>
</hint>
<hint type="destinationlabel">
<x>424</x>
<y>302</y>
</hint>
</hints>
</connection>
<connection>
<sender>edtSizes</sender>
<signal>textChanged(QString)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>520</x>
<y>29</y>
</hint>
<hint type="destinationlabel">
<x>422</x>
<y>160</y>
</hint>
</hints>
</connection>
<connection>
<sender>edtLatexPrefix</sender>
<signal>textChanged(QString)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>141</x>
<y>48</y>
</hint>
<hint type="destinationlabel">
<x>520</x>
<y>140</y>
</hint>
</hints>
</connection>
<connection>
<sender>edtLatexPostfix</sender>
<signal>textChanged(QString)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>200</x>
<y>49</y>
</hint>
<hint type="destinationlabel">
<x>519</x>
<y>118</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmbUnicodeSerif</sender>
<signal>currentFontChanged(QFont)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>416</x>
<y>54</y>
</hint>
<hint type="destinationlabel">
<x>519</x>
<y>201</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmbUnicodeSans</sender>
<signal>currentFontChanged(QFont)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>553</x>
<y>45</y>
</hint>
<hint type="destinationlabel">
<x>518</x>
<y>175</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmbUnicodeFixed</sender>
<signal>currentFontChanged(QFont)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>697</x>
<y>45</y>
</hint>
<hint type="destinationlabel">
<x>518</x>
<y>236</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmbUnicodeSymbol</sender>
<signal>currentFontChanged(QFont)</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>941</x>
<y>54</y>
</hint>
<hint type="destinationlabel">
<x>520</x>
<y>288</y>
</hint>
</hints>
</connection>
<connection>
<sender>chkSmoothTransform</sender>
<signal>clicked()</signal>
<receiver>TestForm</receiver>
<slot>updateMath()</slot>
<hints>
<hint type="sourcelabel">
<x>905</x>
<y>22</y>
</hint>
<hint type="destinationlabel">
<x>519</x>
<y>317</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>updateMath()</slot>
</slots>
</ui>