QBrainfuck/qbrainfuck.ui

290 lines
9.2 KiB
Plaintext
Raw Normal View History

2014-08-12 10:50:10 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QBrainfuck</class>
<widget class="QMainWindow" name="QBrainfuck">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2014-08-13 15:58:49 +00:00
<width>1194</width>
<height>634</height>
2014-08-12 10:50:10 +00:00
</rect>
</property>
<property name="windowTitle">
<string>QBrainfuck</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
2014-08-13 15:58:49 +00:00
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
2014-08-12 10:50:10 +00:00
</property>
2014-08-13 15:58:49 +00:00
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Main</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="2">
<widget class="QGroupBox" name="programGroupBox">
<property name="title">
<string>Brainfuck program</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPlainTextEdit" name="programTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="programLabel">
<property name="text">
<string>Program length: 0</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="decodeButton">
<property name="text">
<string>Decode</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="motifGoupBox">
<property name="title">
<string>Motif</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPlainTextEdit" name="motifTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="motifLabel">
<property name="text">
<string>Motif length: 0</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="motifButton">
<property name="text">
<string>Motif</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="2">
<widget class="QGroupBox" name="resultGroupBox">
<property name="title">
<string>Result</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QPlainTextEdit" name="resultTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="saveButton">
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="loadButton">
<property name="text">
<string>Load</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" rowspan="3" colspan="2">
<widget class="QGroupBox" name="textGroupBox">
<property name="title">
<string>Plain text</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPlainTextEdit" name="textTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="textLabel">
<property name="text">
<string>Text length: 0</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="encodeButton">
<property name="text">
<string>Encode</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QGroupBox" name="optionsGroupBox">
<property name="title">
<string>Options</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="2">
<layout class="QFormLayout" name="formLayout_3">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="1" column="0">
2014-08-13 20:53:13 +00:00
<widget class="QLabel" name="inputLabel">
2014-08-13 15:58:49 +00:00
<property name="text">
2014-08-13 20:53:13 +00:00
<string>Input</string>
2014-08-13 15:58:49 +00:00
</property>
</widget>
</item>
<item row="1" column="1">
2014-08-13 20:53:13 +00:00
<widget class="QLineEdit" name="inputLineEdit"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="regexLineEdit">
<property name="text">
<string>#</string>
2014-08-13 15:58:49 +00:00
</property>
</widget>
</item>
2014-08-13 20:53:13 +00:00
<item row="0" column="0">
<widget class="QLabel" name="regexLabel">
2014-08-13 15:58:49 +00:00
<property name="text">
2014-08-13 20:53:13 +00:00
<string>Motif regex</string>
2014-08-13 15:58:49 +00:00
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="maxSignsLabel">
<property name="text">
<string>Max signs (+/-)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="maxSignsSpinBox">
2014-08-13 20:53:13 +00:00
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>255</number>
</property>
2014-08-13 15:58:49 +00:00
<property name="value">
<number>10</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="decadesLabel">
<property name="text">
<string>Decades size</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="decadesSpinBox">
2014-08-13 20:53:13 +00:00
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>255</number>
</property>
2014-08-13 15:58:49 +00:00
<property name="value">
<number>10</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
<zorder>textGroupBox</zorder>
<zorder>programGroupBox</zorder>
<zorder>motifGoupBox</zorder>
<zorder>resultGroupBox</zorder>
<zorder>optionsGroupBox</zorder>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Debug</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QTextEdit" name="debugTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
</widget>
</item>
</layout>
</widget>
2014-08-12 10:50:10 +00:00
</widget>
</item>
</layout>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>