mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
708 lines
16 KiB
XML
708 lines
16 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>1518</width>
|
|
<height>742</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<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>745</width>
|
|
<height>616</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="11" column="1">
|
|
<widget class="QLabel" name="label_12">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>render times (getSize()+getAscent()/draw()):</string>
|
|
</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, limited</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Unicode, full</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="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>
|
|
<weight>75</weight>
|
|
<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>&Render</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="1" rowspan="2">
|
|
<widget class="QPlainTextEdit" name="textBrowserSource">
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>rendered result:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>HTML output:</string>
|
|
</property>
|
|
</widget>
|
|
</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: rm:</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="QLabel" name="label_14">
|
|
<property name="text">
|
|
<string>sf:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFontComboBox" name="cmbUnicodeSans">
|
|
<property name="currentFont">
|
|
<font>
|
|
<family>Arial</family>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_15">
|
|
<property name="text">
|
|
<string>tt:</string>
|
|
</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_16">
|
|
<property name="text">
|
|
<string>cal:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFontComboBox" name="cmbCaligraphic">
|
|
<property name="currentFont">
|
|
<font>
|
|
<family>Script</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="12" column="1">
|
|
<widget class="QLabel" name="labRenderTimes">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QTextBrowser" name="textBrowser"/>
|
|
</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="13" column="1">
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>node tree:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="1">
|
|
<widget class="QLabel" name="label_13">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>parsing times:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="1">
|
|
<widget class="QLabel" name="labParsingTimes">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QLabel" name="labError">
|
|
<property name="text">
|
|
<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>790</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>868</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>964</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>1067</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>679</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>949</x>
|
|
<y>57</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>1221</x>
|
|
<y>57</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>1181</x>
|
|
<y>27</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>519</x>
|
|
<y>317</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnRender</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>TestForm</receiver>
|
|
<slot>updateMath()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1187</x>
|
|
<y>83</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>617</x>
|
|
<y>380</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>updateMath()</slot>
|
|
</slots>
|
|
</ui>
|