Small astetic modification to the Console widget.

This commit is contained in:
Ernie Pasveer
2022-04-22 12:31:09 -05:00
parent 3ee1bb7e5e
commit 96f17c9bef
+61 -65
View File
@@ -14,37 +14,7 @@
<string>Seer Console</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" rowspan="4">
<widget class="QPlainTextEdit" name="textEdit">
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>[program output text]</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="clearButton">
<property name="toolTip">
<string>Clear the log output.</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/seer/resources/RelaxLightIcons/edit-clear.svg</normaloff>:/seer/resources/RelaxLightIcons/edit-clear.svg</iconset>
</property>
</widget>
</item>
<item row="0" column="2">
<item row="1" column="3">
<widget class="QPushButton" name="printButton">
<property name="toolTip">
<string>Print the log output.</string>
@@ -61,7 +31,50 @@
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="clearButton">
<property name="toolTip">
<string>Clear the log output.</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/seer/resources/RelaxLightIcons/edit-clear.svg</normaloff>:/seer/resources/RelaxLightIcons/edit-clear.svg</iconset>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="wrapTextCheckBox">
<property name="toolTip">
<string>Wrap long lines to the next line.</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="text">
<string>Wrap Text</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="6">
<widget class="QPlainTextEdit" name="textEdit">
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>[program output text]</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="saveButton">
<property name="toolTip">
<string>Save the log output to a file.</string>
@@ -78,40 +91,7 @@
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QCheckBox" name="wrapTextCheckBox">
<property name="toolTip">
<string>Wrap long lines to the next line.</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="text">
<string>Wrap Text</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLineEdit" name="stdinLineEdit">
<property name="placeholderText">
<string>[stdin input text]</string>
</property>
</widget>
</item>
<item row="3" column="2" rowspan="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>266</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<item row="1" column="5">
<widget class="QPushButton" name="fontButton">
<property name="toolTip">
<string>Select the log output font.</string>
@@ -125,6 +105,22 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLineEdit" name="stdinLineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>100</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="placeholderText">
<string>[stdin input text]</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources>