2018-01-01 09:22:11 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>683</width>
|
|
|
|
<height>465</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>MainWindow</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralWidget">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
2018-01-02 23:39:30 +01:00
|
|
|
<widget class="QPushButton" name="loadFile">
|
2018-01-01 09:22:11 +01:00
|
|
|
<property name="text">
|
2018-01-02 23:39:30 +01:00
|
|
|
<string>Load</string>
|
2018-01-01 09:22:11 +01:00
|
|
|
</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>
|
|
|
|
<widget class="QListWidget" name="results"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="CodeEditor" name="code">
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menuBar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>683</width>
|
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
|
|
</widget>
|
|
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>CodeEditor</class>
|
|
|
|
<extends>QPlainTextEdit</extends>
|
|
|
|
<header>codeeditor.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
2018-01-02 23:39:30 +01:00
|
|
|
<sender>loadFile</sender>
|
2018-01-01 09:22:11 +01:00
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>pasteResults()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>86</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>135</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>results</sender>
|
|
|
|
<signal>itemDoubleClicked(QListWidgetItem*)</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>showResult(QListWidgetItem*)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>28</x>
|
|
|
|
<y>104</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>5</x>
|
|
|
|
<y>104</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2018-01-02 23:39:30 +01:00
|
|
|
<connection>
|
|
|
|
<sender>loadFile</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>loadFile()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>22</x>
|
|
|
|
<y>65</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>22</x>
|
|
|
|
<y>46</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2018-01-01 09:22:11 +01:00
|
|
|
</connections>
|
|
|
|
<slots>
|
2018-01-02 23:39:30 +01:00
|
|
|
<slot>loadFile()</slot>
|
2018-01-01 09:22:11 +01:00
|
|
|
<slot>showResult(QListWidgetItem*)</slot>
|
|
|
|
</slots>
|
|
|
|
</ui>
|