|
@@ -0,0 +1,588 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<ui version="4.0">
|
|
|
+ <class>MainWindow</class>
|
|
|
+ <widget class="QMainWindow" name="MainWindow">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>1135</width>
|
|
|
+ <height>600</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="windowTitle">
|
|
|
+ <string>MainWindow</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="centralWidget">
|
|
|
+ <widget class="QGroupBox" name="groupBox">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>30</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>341</width>
|
|
|
+ <height>501</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="title">
|
|
|
+ <string>操作系统</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QLabel" name="label">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>101</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看系统版本</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>111</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>lsb_release -a</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>g++ -v</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_3">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>91</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看编译器</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_12">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>90</y>
|
|
|
+ <width>91</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看pci设备</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_13">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>120</y>
|
|
|
+ <width>91</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看usb设备</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_14">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>150</y>
|
|
|
+ <width>101</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看CPU信息</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_15">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>180</y>
|
|
|
+ <width>101</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看环境变量</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_16">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>210</y>
|
|
|
+ <width>141</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>列出加载的内核模块</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_17">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>250</y>
|
|
|
+ <width>111</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看内核版本</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_18">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>280</y>
|
|
|
+ <width>67</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>TextLabel</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_19">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>310</y>
|
|
|
+ <width>67</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>TextLabel</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_10">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>90</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>lspci -tv</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_11">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>120</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>lsusb -tv</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_12">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>150</y>
|
|
|
+ <width>131</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>cat /proc/cpuinfo</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_13">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>180</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>env</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_14">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>210</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>lsmod</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_15">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>240</y>
|
|
|
+ <width>131</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>uname -r</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_16">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>270</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>PushButton</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_17">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>160</x>
|
|
|
+ <y>300</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>PushButton</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ <widget class="QTextBrowser" name="textBrowser">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>810</x>
|
|
|
+ <y>50</y>
|
|
|
+ <width>311</width>
|
|
|
+ <height>91</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>810</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>67</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>说明</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QGroupBox" name="groupBox_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>410</x>
|
|
|
+ <y>200</y>
|
|
|
+ <width>371</width>
|
|
|
+ <height>171</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="title">
|
|
|
+ <string>网络</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QLabel" name="label_4">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>131</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看系统对外IP</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_3">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>130</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>111</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>curl cip.cc</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_4">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>130</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>netstat -rn</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_5">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>91</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看路由表</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_5">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>250</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>ip route</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_8">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>100</y>
|
|
|
+ <width>101</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>TCP监听端口</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_9">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>130</y>
|
|
|
+ <width>101</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>UDP监听端口</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLineEdit" name="lineEdit">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>110</x>
|
|
|
+ <y>100</y>
|
|
|
+ <width>71</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLineEdit" name="lineEdit_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>110</x>
|
|
|
+ <y>130</y>
|
|
|
+ <width>71</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_6">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>210</x>
|
|
|
+ <y>100</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>确定</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_7">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>210</x>
|
|
|
+ <y>130</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>确定</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_6">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>30</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>541</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>所有命令的标准输出将从Text Brower显示,标准错误输出将从弹窗显示。</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_7">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>810</x>
|
|
|
+ <y>150</y>
|
|
|
+ <width>67</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>标准输出</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QTextBrowser" name="textBrowser_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>810</x>
|
|
|
+ <y>170</y>
|
|
|
+ <width>311</width>
|
|
|
+ <height>371</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QGroupBox" name="groupBox_3">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>410</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>371</width>
|
|
|
+ <height>151</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="title">
|
|
|
+ <string>串口</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QLabel" name="label_10">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>101</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看系统版本</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_8">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>110</x>
|
|
|
+ <y>30</y>
|
|
|
+ <width>111</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>lsb_release -a</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QPushButton" name="pushButton_9">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>110</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>89</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>g++ -v</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" name="label_11">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>10</x>
|
|
|
+ <y>60</y>
|
|
|
+ <width>91</width>
|
|
|
+ <height>17</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>查看编译器</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ <widget class="QMenuBar" name="menuBar">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>1135</width>
|
|
|
+ <height>22</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QToolBar" name="mainToolBar">
|
|
|
+ <attribute name="toolBarArea">
|
|
|
+ <enum>TopToolBarArea</enum>
|
|
|
+ </attribute>
|
|
|
+ <attribute name="toolBarBreak">
|
|
|
+ <bool>false</bool>
|
|
|
+ </attribute>
|
|
|
+ </widget>
|
|
|
+ <widget class="QStatusBar" name="statusBar"/>
|
|
|
+ </widget>
|
|
|
+ <layoutdefault spacing="6" margin="11"/>
|
|
|
+ <resources/>
|
|
|
+ <connections/>
|
|
|
+</ui>
|