diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-30 12:38:55 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-30 12:44:52 +0200 |
commit | c431daa37d3a9684d10ba2cd1f130910b65fcc9a (patch) | |
tree | 2823e8b43e33a38bdd4eb40728ec87df853547e7 | |
parent | 81d81baf0ef6c42ebdb6a2b2293d09031ce6dd5c (diff) |
Add missing file mainwindow.ui of the serialport/terminal example
Amends ea6a6abd7266900d9b0ceae1b09ce039891ae9a8.
Pick-to: 6.3 6.2
Task-number: PYSIDE-841
Change-Id: I23f5c32ef1e9f07b6cc20d44cbb37e12850d4522
Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r-- | examples/serialport/terminal/mainwindow.ui | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/examples/serialport/terminal/mainwindow.ui b/examples/serialport/terminal/mainwindow.ui new file mode 100644 index 000000000..452fdd537 --- /dev/null +++ b/examples/serialport/terminal/mainwindow.ui @@ -0,0 +1,162 @@ +<?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>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Simple Terminal</string> + </property> + <widget class="QWidget" name="centralWidget"> + <layout class="QVBoxLayout" name="verticalLayout"/> + </widget> + <widget class="QMenuBar" name="menuBar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>19</height> + </rect> + </property> + <widget class="QMenu" name="menuCalls"> + <property name="title"> + <string>Calls</string> + </property> + <addaction name="actionConnect"/> + <addaction name="actionDisconnect"/> + <addaction name="separator"/> + <addaction name="actionQuit"/> + </widget> + <widget class="QMenu" name="menuTools"> + <property name="title"> + <string>Tools</string> + </property> + <addaction name="actionConfigure"/> + <addaction name="actionClear"/> + </widget> + <widget class="QMenu" name="menuHelp"> + <property name="title"> + <string>Help</string> + </property> + <addaction name="actionAbout"/> + <addaction name="actionAboutQt"/> + </widget> + <addaction name="menuCalls"/> + <addaction name="menuTools"/> + <addaction name="menuHelp"/> + </widget> + <widget class="QToolBar" name="mainToolBar"> + <attribute name="toolBarArea"> + <enum>TopToolBarArea</enum> + </attribute> + <attribute name="toolBarBreak"> + <bool>false</bool> + </attribute> + <addaction name="actionConnect"/> + <addaction name="actionDisconnect"/> + <addaction name="actionConfigure"/> + <addaction name="actionClear"/> + </widget> + <widget class="QStatusBar" name="statusBar"/> + <action name="actionAbout"> + <property name="text"> + <string>&About</string> + </property> + <property name="toolTip"> + <string>About program</string> + </property> + <property name="shortcut"> + <string>Alt+A</string> + </property> + </action> + <action name="actionAboutQt"> + <property name="text"> + <string>About Qt</string> + </property> + </action> + <action name="actionConnect"> + <property name="icon"> + <iconset resource="terminal.qrc"> + <normaloff>:/images/connect.png</normaloff>:/images/connect.png</iconset> + </property> + <property name="text"> + <string>C&onnect</string> + </property> + <property name="toolTip"> + <string>Connect to serial port</string> + </property> + <property name="shortcut"> + <string>Ctrl+O</string> + </property> + </action> + <action name="actionDisconnect"> + <property name="icon"> + <iconset resource="terminal.qrc"> + <normaloff>:/images/disconnect.png</normaloff>:/images/disconnect.png</iconset> + </property> + <property name="text"> + <string>&Disconnect</string> + </property> + <property name="toolTip"> + <string>Disconnect from serial port</string> + </property> + <property name="shortcut"> + <string>Ctrl+D</string> + </property> + </action> + <action name="actionConfigure"> + <property name="icon"> + <iconset resource="terminal.qrc"> + <normaloff>:/images/settings.png</normaloff>:/images/settings.png</iconset> + </property> + <property name="text"> + <string>&Configure</string> + </property> + <property name="toolTip"> + <string>Configure serial port</string> + </property> + <property name="shortcut"> + <string>Alt+C</string> + </property> + </action> + <action name="actionClear"> + <property name="icon"> + <iconset resource="terminal.qrc"> + <normaloff>:/images/clear.png</normaloff>:/images/clear.png</iconset> + </property> + <property name="text"> + <string>C&lear</string> + </property> + <property name="toolTip"> + <string>Clear data</string> + </property> + <property name="shortcut"> + <string>Alt+L</string> + </property> + </action> + <action name="actionQuit"> + <property name="icon"> + <iconset resource="terminal.qrc"> + <normaloff>:/images/application-exit.png</normaloff>:/images/application-exit.png</iconset> + </property> + <property name="text"> + <string>&Quit</string> + </property> + <property name="shortcut"> + <string>Ctrl+Q</string> + </property> + </action> + </widget> + <layoutdefault spacing="6" margin="11"/> + <resources> + <include location="terminal.qrc"/> + </resources> + <connections/> +</ui> |