QBrainfuck/qbrainfuck.ui
2014-08-20 20:10:25 +02:00

384 lines
11 KiB
XML

<?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>
<width>1189</width>
<height>634</height>
</rect>
</property>
<property name="windowTitle">
<string>QBrainfuck</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="6">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="textTab">
<attribute name="title">
<string>Plain Text</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="6" column="1" colspan="2">
<widget class="QPushButton" name="textSaveButton">
<property name="text">
<string>Save to file ...</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<spacer name="textVerticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="decadesSpinBox">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="maxSignsLabel">
<property name="text">
<string>Max signs (+/-)</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="decadesLabel">
<property name="text">
<string>Decades size</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="maxSignsSpinBox">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
</item>
<item row="5" column="1" colspan="2">
<widget class="QPushButton" name="textLoadButton">
<property name="text">
<string>Load from file ...</string>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="8">
<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 row="4" column="1" colspan="2">
<widget class="QPushButton" name="encodeButton">
<property name="text">
<string>Encode</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="programTab">
<attribute name="title">
<string>Brainfuck program</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<item row="4" column="1">
<widget class="QLineEdit" name="inputLineEdit"/>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="programLoadButton">
<property name="text">
<string>Load from file ...</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="inputLabel">
<property name="text">
<string>Input</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="decodeButton">
<property name="text">
<string>Decode</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="programVerticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="3">
<widget class="QPushButton" name="programSaveButton">
<property name="text">
<string>Save to file ...</string>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="4" colspan="2">
<widget class="QPlainTextEdit" name="programTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="motifTab">
<attribute name="title">
<string>Motif</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6">
<item row="5" column="1">
<widget class="QLineEdit" name="regexLineEdit">
<property name="text">
<string>#</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="motifButton">
<property name="text">
<string>Motif</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="regexLabel">
<property name="text">
<string>Motif regex</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="motifLoadButton">
<property name="text">
<string>Load from file...</string>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="motifVerticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="2">
<widget class="QPushButton" name="motifSaveButton">
<property name="text">
<string>Save to file ...</string>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="5" colspan="2">
<widget class="QPlainTextEdit" name="motifTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="resultTab">
<attribute name="title">
<string>Result</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
<item row="3" column="2">
<widget class="QPushButton" name="resultSaveButton">
<property name="text">
<string>Save to file ...</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="resultLoadButton">
<property name="text">
<string>Load from file ...</string>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="resultVerticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="5">
<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 row="1" column="2">
<widget class="QPushButton" name="qrcodeButton">
<property name="text">
<string>QRCode</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="qrcodeTab">
<attribute name="title">
<string>QRCode</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="1">
<widget class="QPushButton" name="qrcodeSaveButton">
<property name="text">
<string>Save to file ...</string>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="qrcodeVerticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QLabel" name="qrcodeLabel">
<property name="text">
<string>QRCode</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="textLabel">
<property name="text">
<string>Text length: 0</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="motifLabel">
<property name="text">
<string>Motif length: 0</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="programLabel">
<property name="text">
<string>Program length: 0</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="resultLabel">
<property name="text">
<string>Result length: 0</string>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QPushButton" name="saveAllButton">
<property name="text">
<string>Save All</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="loadAllButton">
<property name="text">
<string>Load All</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>