RepRaptor/mainwindow.ui
2015-03-02 16:23:07 +03:00

914 lines
23 KiB
XML

<?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>761</width>
<height>433</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>RepRaptor</string>
</property>
<property name="windowIcon">
<iconset resource="graphics.qrc">
<normaloff>:/icons/icon.png</normaloff>:/icons/icon.png</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QGroupBox" name="serialGroup">
<property name="title">
<string>Serial</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPushButton" name="portsBtn">
<property name="text">
<string>Ports</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="serialBox">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="connectBtn">
<property name="text">
<string>Connect</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="baudbox"/>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" rowspan="3">
<widget class="QGroupBox" name="controlBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>261</width>
<height>500</height>
</size>
</property>
<property name="title">
<string>Control</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="8">
<widget class="QPushButton" name="homexbtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>H X</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="xminusbtn">
<property name="text">
<string>X-</string>
</property>
</widget>
</item>
<item row="1" column="8">
<widget class="QPushButton" name="homeybtn">
<property name="text">
<string>H Y</string>
</property>
</widget>
</item>
<item row="2" column="8">
<widget class="QPushButton" name="homezbtn">
<property name="text">
<string>H Z</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="4">
<widget class="QDoubleSpinBox" name="stepspin">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>150.000000000000000</double>
</property>
</widget>
</item>
<item row="6" column="7" colspan="2">
<widget class="QPushButton" name="etmpoff">
<property name="text">
<string>OFF</string>
</property>
</widget>
</item>
<item row="6" column="5" colspan="2">
<widget class="QPushButton" name="etmpset">
<property name="text">
<string>SET</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>E tmp</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>B tmp</string>
</property>
</widget>
</item>
<item row="7" column="5" colspan="2">
<widget class="QPushButton" name="btmpset">
<property name="text">
<string>SET</string>
</property>
</widget>
</item>
<item row="7" column="7" colspan="2">
<widget class="QPushButton" name="btmpoff">
<property name="text">
<string>OFF</string>
</property>
</widget>
</item>
<item row="8" column="2" colspan="3">
<widget class="QPushButton" name="fanonbtn">
<property name="text">
<string>FAN ON</string>
</property>
</widget>
</item>
<item row="8" column="6" colspan="3">
<widget class="QPushButton" name="fanoffbtn">
<property name="text">
<string>FAN OFF</string>
</property>
</widget>
</item>
<item row="9" column="2" colspan="3">
<widget class="QPushButton" name="atxonbtn">
<property name="text">
<string>ATX ON</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QPushButton" name="eplusbtn">
<property name="text">
<string>E+</string>
</property>
</widget>
</item>
<item row="9" column="6" colspan="3">
<widget class="QPushButton" name="atxoffbtn">
<property name="text">
<string>ATX OFF</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="zplusbtn">
<property name="text">
<string>Z+</string>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QPushButton" name="ezerobtn">
<property name="text">
<string>E0</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="centerbtn">
<property name="text">
<string>C</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="yplusbtn">
<property name="text">
<string>Y+</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="yminusbtn">
<property name="text">
<string>Y-</string>
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QPushButton" name="eminusbtn">
<property name="text">
<string>E-</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QPushButton" name="zminusbtn">
<property name="text">
<string>Z-</string>
</property>
</widget>
</item>
<item row="6" column="2" colspan="3">
<widget class="QSpinBox" name="etmpspin">
<property name="maximum">
<number>500</number>
</property>
</widget>
</item>
<item row="7" column="2" colspan="3">
<widget class="QSpinBox" name="btmpspin">
<property name="maximum">
<number>500</number>
</property>
</widget>
</item>
<item row="3" column="0" colspan="4">
<widget class="QPushButton" name="homeallbtn">
<property name="text">
<string>Home All</string>
</property>
</widget>
</item>
<item row="3" column="4" colspan="5">
<widget class="QPushButton" name="releasebtn">
<property name="text">
<string>Release</string>
</property>
</widget>
</item>
<item row="5" column="4" colspan="5">
<widget class="QDoubleSpinBox" name="estepspin">
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="xplusbtn">
<property name="text">
<string>X+</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QLabel" name="label_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>15</height>
</size>
</property>
<property name="text">
<string>Step</string>
</property>
</widget>
</item>
<item row="4" column="4" colspan="4">
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>15</height>
</size>
</property>
<property name="text">
<string>E Step</string>
</property>
</widget>
</item>
<item row="10" column="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>60</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="2" rowspan="3">
<widget class="QGroupBox" name="consoleGroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Console</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QTextBrowser" name="terminal">
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="openLinks">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="clearbtn">
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLineEdit" name="sendtext"/>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="sendbtn">
<property name="text">
<string>Send</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="fileBox">
<property name="title">
<string>File</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="filename">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Filename: </string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="filelines">
<property name="text">
<string>Lines:</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QProgressBar" name="progressBar">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="sendBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>23</height>
</size>
</property>
<property name="text">
<string>Send</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="pauseBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>23</height>
</size>
</property>
<property name="text">
<string>Pause</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="statusGroup">
<property name="title">
<string>Status</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Extruder</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLCDNumber" name="extruderlcd">
<property name="segmentStyle">
<enum>QLCDNumber::Filled</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Bed</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLCDNumber" name="bedlcd">
<property name="segmentStyle">
<enum>QLCDNumber::Filled</enum>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="checktemp">
<property name="text">
<string>Check temperature</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>761</width>
<height>20</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionOpen"/>
<addaction name="actionRecent"/>
<addaction name="separator"/>
<addaction name="actionSettings"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuAbout">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionAbout"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuAbout"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionOpen">
<property name="text">
<string>Open...</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionRecent">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Recent</string>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>Exit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionSettings">
<property name="text">
<string>Settings</string>
</property>
<property name="shortcut">
<string>Ctrl+P</string>
</property>
</action>
<action name="actionAbout">
<property name="text">
<string>About</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="graphics.qrc"/>
</resources>
<connections>
<connection>
<sender>actionOpen</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>open()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>247</x>
<y>217</y>
</hint>
</hints>
</connection>
<connection>
<sender>portsBtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>serialupdate()</slot>
<hints>
<hint type="sourcelabel">
<x>82</x>
<y>84</y>
</hint>
<hint type="destinationlabel">
<x>247</x>
<y>217</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionExit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>247</x>
<y>217</y>
</hint>
</hints>
</connection>
<connection>
<sender>connectBtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>serialconnect()</slot>
<hints>
<hint type="sourcelabel">
<x>82</x>
<y>116</y>
</hint>
<hint type="destinationlabel">
<x>247</x>
<y>217</y>
</hint>
</hints>
</connection>
<connection>
<sender>homexbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>xhome()</slot>
<hints>
<hint type="sourcelabel">
<x>455</x>
<y>85</y>
</hint>
<hint type="destinationlabel">
<x>383</x>
<y>248</y>
</hint>
</hints>
</connection>
<connection>
<sender>clearbtn</sender>
<signal>clicked()</signal>
<receiver>terminal</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>739</x>
<y>331</y>
</hint>
<hint type="destinationlabel">
<x>654</x>
<y>275</y>
</hint>
</hints>
</connection>
<connection>
<sender>xplusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>xplus()</slot>
<hints>
<hint type="sourcelabel">
<x>323</x>
<y>118</y>
</hint>
<hint type="destinationlabel">
<x>383</x>
<y>248</y>
</hint>
</hints>
</connection>
<connection>
<sender>sendtext</sender>
<signal>returnPressed()</signal>
<receiver>sendbtn</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>739</x>
<y>360</y>
</hint>
<hint type="destinationlabel">
<x>739</x>
<y>389</y>
</hint>
</hints>
</connection>
<connection>
<sender>yminusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>yminus()</slot>
<hints>
<hint type="sourcelabel">
<x>274</x>
<y>145</y>
</hint>
<hint type="destinationlabel">
<x>383</x>
<y>248</y>
</hint>
</hints>
</connection>
<connection>
<sender>yplusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>yplus()</slot>
<hints>
<hint type="sourcelabel">
<x>285</x>
<y>85</y>
</hint>
<hint type="destinationlabel">
<x>383</x>
<y>248</y>
</hint>
</hints>
</connection>
<connection>
<sender>xminusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>xminus()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>118</y>
</hint>
<hint type="destinationlabel">
<x>189</x>
<y>43</y>
</hint>
</hints>
</connection>
<connection>
<sender>zplusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>zplus()</slot>
<hints>
<hint type="sourcelabel">
<x>359</x>
<y>82</y>
</hint>
<hint type="destinationlabel">
<x>356</x>
<y>0</y>
</hint>
</hints>
</connection>
<connection>
<sender>zminusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>zminus()</slot>
<hints>
<hint type="sourcelabel">
<x>367</x>
<y>151</y>
</hint>
<hint type="destinationlabel">
<x>209</x>
<y>151</y>
</hint>
</hints>
</connection>
<connection>
<sender>ezerobtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>ezero()</slot>
<hints>
<hint type="sourcelabel">
<x>411</x>
<y>118</y>
</hint>
<hint type="destinationlabel">
<x>220</x>
<y>117</y>
</hint>
</hints>
</connection>
<connection>
<sender>homezbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>zhome()</slot>
<hints>
<hint type="sourcelabel">
<x>438</x>
<y>144</y>
</hint>
<hint type="destinationlabel">
<x>209</x>
<y>199</y>
</hint>
</hints>
</connection>
<connection>
<sender>homeybtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>yhome()</slot>
<hints>
<hint type="sourcelabel">
<x>434</x>
<y>117</y>
</hint>
<hint type="destinationlabel">
<x>383</x>
<y>248</y>
</hint>
</hints>
</connection>
<connection>
<sender>eplusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>eplus()</slot>
<hints>
<hint type="sourcelabel">
<x>411</x>
<y>85</y>
</hint>
<hint type="destinationlabel">
<x>397</x>
<y>42</y>
</hint>
</hints>
</connection>
<connection>
<sender>eminusbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>eminus()</slot>
<hints>
<hint type="sourcelabel">
<x>406</x>
<y>142</y>
</hint>
<hint type="destinationlabel">
<x>475</x>
<y>173</y>
</hint>
</hints>
</connection>
<connection>
<sender>centerbtn</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>bedcenter()</slot>
<hints>
<hint type="sourcelabel">
<x>283</x>
<y>114</y>
</hint>
<hint type="destinationlabel">
<x>321</x>
<y>40</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>open()</slot>
<slot>serialupdate()</slot>
<slot>serialconnect()</slot>
<slot>xhome()</slot>
<slot>homeall()</slot>
<slot>xplus()</slot>
<slot>xminus()</slot>
<slot>yplus()</slot>
<slot>yminus()</slot>
<slot>zplus()</slot>
<slot>zminus()</slot>
<slot>zhome()</slot>
<slot>eplus()</slot>
<slot>eminus()</slot>
<slot>ezero()</slot>
<slot>yhome()</slot>
<slot>bedcenter()</slot>
</slots>
</ui>