2021-12-25 23:38:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>EnvironmentProgramsWidget</class>
|
|
|
|
<widget class="QWidget" name="EnvironmentProgramsWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>400</width>
|
|
|
|
<height>300</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
2023-09-20 10:52:54 +08:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="grpUseCustomTerminal">
|
|
|
|
<property name="title">
|
|
|
|
<string>Use custom terminal</string>
|
2021-12-25 23:38:53 +08:00
|
|
|
</property>
|
2023-09-20 10:52:54 +08:00
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
2021-12-25 23:38:53 +08:00
|
|
|
</property>
|
2023-09-20 10:52:54 +08:00
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<item row="0" column="1">
|
2023-09-20 10:52:54 +08:00
|
|
|
<widget class="QLineEdit" name="txtTerminal"/>
|
2023-09-05 19:14:08 +08:00
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLineEdit" name="txtArgsPattern">
|
2023-09-05 19:14:08 +08:00
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>$term -e $argv</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
2023-09-20 10:52:54 +08:00
|
|
|
<widget class="QLabel" name="labelArgsPattern">
|
2023-09-05 19:14:08 +08:00
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>Args. pattern</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QToolButton" name="btnChooseTerminal">
|
2023-09-05 19:14:08 +08:00
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>...</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
2023-09-20 10:52:54 +08:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/images/newlook24/053-open.png</normaloff>:/icons/images/newlook24/053-open.png</iconset>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QToolButton" name="btnAutoDetectArgsPattern">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Auto Detect Terminal Arguments Pattern</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>...</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
2023-09-20 10:52:54 +08:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/images/newlook24/087-update.png</normaloff>:/icons/images/newlook24/087-update.png</iconset>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="labelTerminal">
|
2023-09-05 19:14:08 +08:00
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>Terminal</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="labelCmdPreview">
|
2023-09-05 19:14:08 +08:00
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>Cmd. preview</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLabel" name="labelCmdPreviewResult">
|
2023-09-05 19:14:08 +08:00
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>term -e sh -c "echo hello; sleep 3"</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item row="2" column="2">
|
|
|
|
<widget class="QToolButton" name="btnTest">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Test Command</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2023-09-20 10:52:54 +08:00
|
|
|
<string>...</string>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
2023-09-20 10:52:54 +08:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/images/newlook24/069-run.png</normaloff>:/icons/images/newlook24/069-run.png</iconset>
|
2023-09-05 19:14:08 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-09-20 10:52:54 +08:00
|
|
|
<item>
|
2021-12-25 23:38:53 +08:00
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="../icons.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|