RedPanda-CPP/RedPandaIDE/settingsdialog/environmentprogramswidget.ui

129 lines
3.8 KiB
XML

<?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>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="grpUseCustomTerminal">
<property name="title">
<string>Use custom terminal</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="1">
<widget class="QLineEdit" name="txtTerminal"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="txtArgsPattern">
<property name="text">
<string>$term -e $argv</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelArgsPattern">
<property name="text">
<string>Args. pattern</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QToolButton" name="btnChooseTerminal">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/images/newlook24/053-open.png</normaloff>:/icons/images/newlook24/053-open.png</iconset>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QToolButton" name="btnAutoDetectArgsPattern">
<property name="toolTip">
<string>Auto Detect Terminal Arguments Pattern</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/images/newlook24/087-update.png</normaloff>:/icons/images/newlook24/087-update.png</iconset>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labelTerminal">
<property name="text">
<string>Terminal</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelCmdPreview">
<property name="text">
<string>Cmd. preview</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labelCmdPreviewResult">
<property name="text">
<string>term -e sh -c &quot;echo hello; sleep 3&quot;</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QToolButton" name="btnTest">
<property name="toolTip">
<string>Test Command</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/images/newlook24/069-run.png</normaloff>:/icons/images/newlook24/069-run.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<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>