2012-10-20 20:14:52 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>ScratchPad</class>
|
|
|
|
<widget class="QDialog" name="ScratchPad">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>500</width>
|
|
|
|
<height>600</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Scratchpad</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2018-03-07 12:38:50 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_sourcecode">
|
|
|
|
<property name="text">
|
|
|
|
<string>Copy or write some C/C++ code here:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2012-10-20 20:14:52 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QPlainTextEdit" name="plainTextEdit">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Courier New</family>
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-03-07 12:38:50 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_filename">
|
|
|
|
<property name="text">
|
|
|
|
<string>Optionally enter a filename (mainly for automatic language detection) and click on "Check":</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2012-10-20 20:14:52 +02:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2018-03-07 12:38:50 +01:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2012-10-20 20:14:52 +02:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<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>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>filename</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="mCheckButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Check</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="mButtonBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Close</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>mButtonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>ScratchPad</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>20</x>
|
|
|
|
<y>20</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>20</x>
|
|
|
|
<y>20</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|