2018-01-04 14:15:33 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>CommandOutputDialog</class>
|
|
|
|
<widget class="QDialog" name="CommandOutputDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>547</width>
|
|
|
|
<height>380</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
2018-05-05 11:44:38 -04:00
|
|
|
<family>Liberation Sans</family>
|
2018-01-04 14:15:33 -05:00
|
|
|
<pointsize>9</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Command output</string>
|
|
|
|
</property>
|
2018-01-04 20:13:15 -05:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/sdrangel_icon.png</normaloff>:/sdrangel_icon.png</iconset>
|
|
|
|
</property>
|
2018-01-04 14:15:33 -05:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="processLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="runningState">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Running state icon</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/stop.png</normaloff>
|
|
|
|
<normalon>:/play.png</normalon>:/stop.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="processRefresh">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Refresh data</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/recycle.png</normaloff>:/recycle.png</iconset>
|
|
|
|
</property>
|
2018-01-04 17:10:05 -05:00
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-01-04 14:15:33 -05:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="startTime">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>146</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
2024-06-23 04:14:25 -04:00
|
|
|
<family>Liberation Sans</family>
|
2018-01-04 14:15:33 -05:00
|
|
|
<pointsize>8</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Start time of last execution</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>2015-01-01 00:00:00.000</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="timeMidLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>-</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="endTime">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>146</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
2024-06-23 04:14:25 -04:00
|
|
|
<family>Liberation Sans</family>
|
2018-01-04 14:15:33 -05:00
|
|
|
<pointsize>8</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>End time of last execution</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>2015-01-01 00:00:00.000</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="processPid">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>32</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
2024-06-23 04:14:25 -04:00
|
|
|
<family>Liberation Sans</family>
|
2018-01-04 14:15:33 -05:00
|
|
|
<pointsize>8</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Process PID</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>00000</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="processKill">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Kill the process (SIGKILL)</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/kill.png</normaloff>:/kill.png</iconset>
|
|
|
|
</property>
|
2018-01-04 17:10:05 -05:00
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-01-04 14:15:33 -05:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="commandLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="commandLabel">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>23</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Cmd:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="commandText">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Command that was executed</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="errorExitLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="errorLabel">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>23</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Error:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="errorText">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Process error status</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="exitLabel">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>30</width>
|
|
|
|
<height>23</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Exit:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="exitCode">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Return code</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>0</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="exitText">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Process exit status</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPlainTextEdit" name="logEdit">
|
|
|
|
<property name="enabled">
|
2018-01-04 18:12:38 -05:00
|
|
|
<bool>true</bool>
|
2018-01-04 14:15:33 -05:00
|
|
|
</property>
|
2018-01-04 19:59:01 -05:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Monospace</family>
|
2024-06-23 04:14:25 -04:00
|
|
|
<pointsize>9</pointsize>
|
2018-01-04 19:59:01 -05:00
|
|
|
</font>
|
|
|
|
</property>
|
2018-01-04 14:15:33 -05:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Output log (stdout + stderr)</string>
|
|
|
|
</property>
|
2018-01-04 18:12:38 -05:00
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-01-04 14:15:33 -05:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Close</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources>
|
|
|
|
<include location="../resources/res.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>CommandOutputDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>257</x>
|
|
|
|
<y>194</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>203</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>CommandOutputDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>314</x>
|
|
|
|
<y>194</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>203</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|