175 lines
3.7 KiB
XML
175 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Form</class>
|
|
<widget class="QWidget" name="Form">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>760</width>
|
|
<height>490</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>文件或文本框提取答案</string>
|
|
</property>
|
|
<widget class="QPlainTextEdit" name="plainTextEdit_rawString">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>100</y>
|
|
<width>311</width>
|
|
<height>331</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_filepath">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>50</y>
|
|
<width>331</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>30</y>
|
|
<width>54</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>文件路径</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>80</y>
|
|
<width>101</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>含答案的源代码</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>492</x>
|
|
<y>50</y>
|
|
<width>211</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>答案: \textcolor{blue}{</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>490</x>
|
|
<y>30</y>
|
|
<width>54</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>答案前缀</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="radioButton_text">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>610</x>
|
|
<y>90</y>
|
|
<width>95</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>文本框生成</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="radioButton_file">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>610</x>
|
|
<y>120</y>
|
|
<width>95</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>文件生成</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_selectfilepath">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>380</x>
|
|
<y>50</y>
|
|
<width>101</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>选择文件路径</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>360</x>
|
|
<y>80</y>
|
|
<width>91</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>答案metadata</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPlainTextEdit" name="plainTextEdit_ans">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>360</x>
|
|
<y>100</y>
|
|
<width>241</width>
|
|
<height>331</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_exec">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>610</x>
|
|
<y>150</y>
|
|
<width>101</width>
|
|
<height>281</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>提取答案</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|