<?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>1002</width> <height>743</height> </rect> </property> <property name="minimumSize"> <size> <width>840</width> <height>620</height> </size> </property> <property name="windowTitle"> <string>MainWindow</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <layout class="QVBoxLayout" name="controlsLayout"> <item> <widget class="QGroupBox" name="PortControlsBox"> <property name="title"> <string>PORT CONTROLS</string> </property> <property name="flat"> <bool>false</bool> </property> <property name="checkable"> <bool>false</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QPushButton" name="pushButton"> <property name="text"> <string>Refresh</string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="labelPort"> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>PORT</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboPort"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="labelBaud"> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>BAUD</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboBaud"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="labelData"> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>DATA</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboData"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QLabel" name="labelParity"> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>PARITY</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboParity"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="labelStop"> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>STOP</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboStop"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="PlotControlsBox"> <property name="title"> <string>PLOT CONTROLS</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <layout class="QVBoxLayout" name="plotControlsLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_10"> <item> <widget class="QLabel" name="pointsLabel"> <property name="minimumSize"> <size> <width>50</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>POINTS</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="spinPoints"> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>999999999</number> </property> <property name="singleStep"> <number>10</number> </property> <property name="value"> <number>1000</number> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_9"> <item> <widget class="QLabel" name="labelYStep"> <property name="minimumSize"> <size> <width>50</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>Y STEP</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="spinYStep"> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>10000</number> </property> <property name="singleStep"> <number>1</number> </property> <property name="value"> <number>10</number> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QLabel" name="label"> <property name="minimumSize"> <size> <width>50</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>MIN</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="spinAxesMin"> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> <property name="minimum"> <number>-65536</number> </property> <property name="maximum"> <number>65536</number> </property> <property name="singleStep"> <number>10</number> </property> <property name="value"> <number>-100</number> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <widget class="QLabel" name="label_2"> <property name="minimumSize"> <size> <width>50</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>16777215</height> </size> </property> <property name="text"> <string>MAX</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="spinAxesMax"> <property name="minimumSize"> <size> <width>69</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>69</width> <height>16777215</height> </size> </property> <property name="minimum"> <number>-65536</number> </property> <property name="maximum"> <number>65536</number> </property> <property name="singleStep"> <number>10</number> </property> <property name="value"> <number>100</number> </property> </widget> </item> </layout> </item> <item> <widget class="QPushButton" name="pushButton_AutoScale"> <property name="sizeIncrement"> <size> <width>0</width> <height>8</height> </size> </property> <property name="text"> <string>AutoScale Yaxis</string> </property> </widget> </item> <item> <widget class="QListWidget" name="listWidget_Channels"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>150</width> <height>16777215</height> </size> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> </property> <property name="autoScroll"> <bool>false</bool> </property> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectItems</enum> </property> <property name="textElideMode"> <enum>Qt::ElideMiddle</enum> </property> <property name="resizeMode"> <enum>QListView::Adjust</enum> </property> <property name="modelColumn"> <number>0</number> </property> <property name="selectionRectVisible"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButton_ResetVisible"> <property name="text"> <string>Reset All Visible</string> </property> </widget> </item> <item> <widget class="QPushButton" name="savePNGButton"> <property name="text"> <string>Save PNG</string> </property> </widget> </item> </layout> </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> <item> <widget class="QGroupBox" name="gridGroupBox"> <property name="minimumSize"> <size> <width>0</width> <height>80</height> </size> </property> <property name="title"> <string>TEXT CONTROLS</string> </property> <layout class="QGridLayout" name="TextControlsBox"> <item row="0" column="0"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QPushButton" name="pushButton_TextEditHide"> <property name="text"> <string>Hide TextBox</string> </property> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButton_ShowallData"> <property name="text"> <string>Show All Incoming Data</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </item> <item row="0" column="1"> <layout class="QGridLayout" name="gridLayout_4"> <item row="1" column="0"> <widget class="QSplitter" name="splitter"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <family>Consolas</family> </font> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="opaqueResize"> <bool>true</bool> </property> <property name="handleWidth"> <number>5</number> </property> <property name="childrenCollapsible"> <bool>false</bool> </property> <widget class="QCustomPlot" name="plot" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>400</height> </size> </property> </widget> <widget class="QTextEdit" name="textEdit_UartWindow"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>150</height> </size> </property> </widget> </widget> </item> <item row="0" column="0"> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>1</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <widget class="QStatusBar" name="statusBar"/> <widget class="QToolBar" name="toolBar"> <property name="windowTitle"> <string>toolBar</string> </property> <property name="movable"> <bool>false</bool> </property> <property name="allowedAreas"> <set>Qt::TopToolBarArea</set> </property> <property name="floatable"> <bool>false</bool> </property> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> <addaction name="actionConnect"/> <addaction name="actionPause_Plot"/> <addaction name="actionDisconnect"/> <addaction name="separator"/> <addaction name="actionClear"/> <addaction name="separator"/> <addaction name="actionHow_to_use"/> <addaction name="separator"/> <addaction name="actionRecord_stream"/> </widget> <action name="actionConnect"> <property name="icon"> <iconset resource="res/serial_port_plotter.qrc"> <normaloff>:/serial_port_plotter/play_nor.png</normaloff> <normalon>:/serial_port_plotter/play_nor.png</normalon> <disabledoff>:/serial_port_plotter/play_dis.png</disabledoff> <disabledon>:/serial_port_plotter/play_dis.png</disabledon> <activeoff>:/serial_port_plotter/play_act.png</activeoff> <activeon>:/serial_port_plotter/play_act.png</activeon> <selectedoff>:/serial_port_plotter/play_act.png</selectedoff> <selectedon>:/serial_port_plotter/play_act.png</selectedon>:/serial_port_plotter/play_nor.png</iconset> </property> <property name="text"> <string>Connect</string> </property> <property name="toolTip"> <string>Connect to COM port</string> </property> </action> <action name="actionPause_Plot"> <property name="enabled"> <bool>false</bool> </property> <property name="icon"> <iconset resource="res/serial_port_plotter.qrc"> <normaloff>:/serial_port_plotter/pause_nor.png</normaloff> <normalon>:/serial_port_plotter/pause_nor.png</normalon> <disabledoff>:/serial_port_plotter/pause_dis.png</disabledoff> <disabledon>:/serial_port_plotter/pause_dis.png</disabledon> <activeoff>:/serial_port_plotter/pause_act.png</activeoff> <activeon>:/serial_port_plotter/pause_act.png</activeon> <selectedoff>:/serial_port_plotter/pause_act.png</selectedoff> <selectedon>:/serial_port_plotter/pause_act.png</selectedon>:/serial_port_plotter/pause_nor.png</iconset> </property> <property name="text"> <string>Pause</string> </property> <property name="toolTip"> <string>Pause plot</string> </property> </action> <action name="actionDisconnect"> <property name="enabled"> <bool>false</bool> </property> <property name="icon"> <iconset resource="res/serial_port_plotter.qrc"> <normaloff>:/serial_port_plotter/stop_nor.png</normaloff> <normalon>:/serial_port_plotter/stop_nor.png</normalon> <disabledoff>:/serial_port_plotter/stop_dis.png</disabledoff> <disabledon>:/serial_port_plotter/stop_dis.png</disabledon> <activeoff>:/serial_port_plotter/stop_act.png</activeoff> <activeon>:/serial_port_plotter/stop_act.png</activeon> <selectedoff>:/serial_port_plotter/stop_act.png</selectedoff> <selectedon>:/serial_port_plotter/stop_act.png</selectedon>:/serial_port_plotter/stop_nor.png</iconset> </property> <property name="text"> <string>Disconnect</string> </property> <property name="toolTip"> <string>Disconnect COM port</string> </property> </action> <action name="actionClear"> <property name="enabled"> <bool>true</bool> </property> <property name="icon"> <iconset resource="res/serial_port_plotter.qrc"> <normaloff>:/serial_port_plotter/clear_nor.png</normaloff> <normalon>:/serial_port_plotter/clear_nor.png</normalon> <disabledoff>:/serial_port_plotter/clear_dis.png</disabledoff> <disabledon>:/serial_port_plotter/clear_dis.png</disabledon> <activeoff>:/serial_port_plotter/clear_act.png</activeoff> <activeon>:/serial_port_plotter/clear_act.png</activeon> <selectedoff>:/serial_port_plotter/clear_act.png</selectedoff> <selectedon>:/serial_port_plotter/clear_act.png</selectedon>:/serial_port_plotter/clear_nor.png</iconset> </property> <property name="text"> <string>Clear</string> </property> <property name="toolTip"> <string>Clear plot data</string> </property> </action> <action name="actionHow_to_use"> <property name="icon"> <iconset resource="res/serial_port_plotter.qrc"> <normaloff>:/serial_port_plotter/help_nor.png</normaloff> <normalon>:/serial_port_plotter/help_nor.png</normalon> <disabledoff>:/serial_port_plotter/help_dis.png</disabledoff> <disabledon>:/serial_port_plotter/help_dis.png</disabledon> <activeoff>:/serial_port_plotter/help_act.png</activeoff> <activeon>:/serial_port_plotter/help_act.png</activeon> <selectedoff>:/serial_port_plotter/help_act.png</selectedoff> <selectedon>:/serial_port_plotter/help_act.png</selectedon>:/serial_port_plotter/help_nor.png</iconset> </property> <property name="text"> <string>How to use</string> </property> </action> <action name="actionRecord_stream"> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>false</bool> </property> <property name="enabled"> <bool>true</bool> </property> <property name="icon"> <iconset resource="res/serial_port_plotter.qrc"> <normaloff>:/icons/line_icon_set/document.png</normaloff> <normalon>:/icons/line_icon_set_text/document.png</normalon> <disabledoff>:/icons/line_icon_set/document.png</disabledoff>:/icons/line_icon_set/document.png</iconset> </property> <property name="text"> <string>Record stream</string> </property> <property name="toolTip"> <string>Record the incoming data to a .csv file ( shortcut : s )</string> </property> <property name="shortcut"> <string/> </property> <property name="visible"> <bool>true</bool> </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> <customwidget> <class>QCustomPlot</class> <extends>QWidget</extends> <header location="global">qcustomplot/qcustomplot.h</header> <container>1</container> </customwidget> </customwidgets> <resources> <include location="res/serial_port_plotter.qrc"/> </resources> <connections/> </ui>