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>
|
2018-09-01 07:36:58 +02:00
|
|
|
<width>1057</width>
|
|
|
|
<height>538</height>
|
2018-01-01 09:22:11 +01:00
|
|
|
</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">
|
2019-01-14 17:49:10 +01:00
|
|
|
<string>Load from file</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="loadFromClipboard">
|
|
|
|
<property name="text">
|
|
|
|
<string>Load from clipboard</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>
|
2018-09-01 07:36:58 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="CodeEditor" name="code">
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>url</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLineEdit" name="edit1"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>file</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLineEdit" name="edit2"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2018-01-01 09:22:11 +01:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menuBar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2018-09-01 07:36:58 +02:00
|
|
|
<width>1057</width>
|
2019-01-14 17:49:10 +01:00
|
|
|
<height>21</height>
|
2018-01-01 09:22:11 +01:00
|
|
|
</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>
|
|
|
|
<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>
|
2019-01-14 17:49:10 +01:00
|
|
|
<connection>
|
|
|
|
<sender>loadFromClipboard</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>loadFromClipboard()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>142</x>
|
|
|
|
<y>55</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>528</x>
|
|
|
|
<y>268</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>
|
2019-01-14 17:49:10 +01:00
|
|
|
<slot>loadFromClipboard()</slot>
|
2018-01-01 09:22:11 +01:00
|
|
|
</slots>
|
|
|
|
</ui>
|