Frontend to the famous GRBL.

mainwindow.ui 14KB

    <?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>762</width> <height>650</height> </rect> </property> <property name="windowTitle"> <string>2.5d Grbl-Commander</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QSplitter" name="splitter"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <widget class="QWidget" name="verticalLayoutWidget"> <layout class="QVBoxLayout" name="verticalLayout" stretch="0"> <item> <widget class="QGraphicsView" name="graphicsView"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>2</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="dragMode"> <enum>QGraphicsView::RubberBandDrag</enum> </property> </widget> </item> </layout> </widget> <widget class="QWidget" name="layoutWidget"> <layout class="QVBoxLayout" name="verticalLayout_3" stretch="1,1,1,0,1"> <item> <widget class="QGroupBox" name="groupBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Input File</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="1" column="0"> <widget class="QPushButton" name="selectInputFileButton"> <property name="text"> <string>Open GCode</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QPushButton" name="selectHPGLInputFileButton"> <property name="text"> <string>Open HPGL</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QPushButton" name="selectEagleBrdFileButton"> <property name="text"> <string>Open Eagle Brd-File</string> </property> </widget> </item> <item row="0" column="0" colspan="2"> <widget class="QLineEdit" name="inputFileEdit"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="dimensionsGroup"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Dimensions</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="2" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>y</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="minX"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="1" column="2"> <widget class="QLineEdit" name="maxX"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="minY"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="2" column="2"> <widget class="QLineEdit" name="maxY"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>x</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLabel" name="label_7"> <property name="text"> <string>min</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="label_8"> <property name="text"> <string>max</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="execGroup"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Execution</string> </property> <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QPushButton" name="runButton"> <property name="text"> <string>Run</string> </property> </widget> </item> <item> <widget class="QProgressBar" name="progressBar"> <property name="value"> <number>24</number> </property> </widget> </item> <item> <widget class="QCheckBox" name="probeZ"> <property name="text"> <string>Probe &amp;&amp; Adjust Z</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QLabel" name="progressText"> <property name="text"> <string/> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="execGroup_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Manual Movement</string> </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="3" column="1"> <widget class="QPushButton" name="ManualHome"> <property name="text"> <string>Home</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/go-home.png</normaloff>:/Icons/Icons/go-home.png</iconset> </property> </widget> </item> <item row="2" column="4"> <widget class="QPushButton" name="ManualZPlus"> <property name="text"> <string>Z+</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/go-up.png</normaloff>:/Icons/Icons/go-up.png</iconset> </property> </widget> </item> <item row="3" column="3"> <widget class="QPushButton" name="ManualXPlus"> <property name="text"> <string>X+</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/arrow-right.png</normaloff>:/Icons/Icons/arrow-right.png</iconset> </property> </widget> </item> <item row="3" column="0"> <widget class="QPushButton" name="ManualXMinus"> <property name="text"> <string>X-</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/arrow-left.png</normaloff>:/Icons/Icons/arrow-left.png</iconset> </property> </widget> </item> <item row="5" column="1"> <widget class="QPushButton" name="ManualYPlus"> <property name="text"> <string>Y+</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/arrow-down.png</normaloff>:/Icons/Icons/arrow-down.png</iconset> </property> </widget> </item> <item row="5" column="4"> <widget class="QPushButton" name="ManualZMinus"> <property name="text"> <string>Z-</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/go-down.png</normaloff>:/Icons/Icons/go-down.png</iconset> </property> </widget> </item> <item row="2" column="1"> <widget class="QPushButton" name="ManualYMinus"> <property name="text"> <string>Y-</string> </property> <property name="icon"> <iconset resource="Icons.qrc"> <normaloff>:/Icons/Icons/arrow-up.png</normaloff>:/Icons/Icons/arrow-up.png</iconset> </property> </widget> </item> <item row="7" column="0"> <widget class="QDoubleSpinBox" name="ManualStep"> <property name="decimals"> <number>3</number> </property> <property name="minimum"> <double>0.001000000000000</double> </property> <property name="maximum"> <double>1000.000000000000000</double> </property> </widget> </item> <item row="8" column="0"> <widget class="QPushButton" name="ManualDefineOrigin"> <property name="text"> <string>Define Origin</string> </property> </widget> </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> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>762</width> <height>20</height> </rect> </property> <widget class="QMenu" name="menuView"> <property name="title"> <string>View</string> </property> <addaction name="actionFit_Preview"/> <addaction name="separator"/> <addaction name="actionScale"/> <addaction name="actionScale_2"/> </widget> <widget class="QMenu" name="menuGrbl"> <property name="title"> <string>Grbl</string> </property> <addaction name="actionConnect"/> <addaction name="actionOptions"/> </widget> <widget class="QMenu" name="menuOptions"> <property name="title"> <string>Options</string> </property> <addaction name="actionProbing"/> <addaction name="actionMilling"/> </widget> <addaction name="menuView"/> <addaction name="menuGrbl"/> <addaction name="menuOptions"/> </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"/> <action name="actionFit_Preview"> <property name="text"> <string>Fit Preview</string> </property> </action> <action name="actionScale"> <property name="text"> <string>Scale+</string> </property> </action> <action name="actionScale_2"> <property name="text"> <string>Scale-</string> </property> </action> <action name="actionOptions"> <property name="text"> <string>Options</string> </property> </action> <action name="actionConnect"> <property name="checkable"> <bool>true</bool> </property> <property name="text"> <string>Connect</string> </property> </action> <action name="actionProbing"> <property name="text"> <string>Probing</string> </property> </action> <action name="actionMilling"> <property name="text"> <string>Milling</string> </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> <resources> <include location="Icons.qrc"/> </resources> <connections/> </ui>