This little tools helps you with getting your PCBs populated.

mainwindow.ui 4.2KB

    <?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>426</width> <height>404</height> </rect> </property> <property name="windowTitle"> <string>MainWindow</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QGridLayout" name="gridLayout"> <item row="3" column="1"> <layout class="QGridLayout" name="gridLayout_2"> <property name="sizeConstraint"> <enum>QLayout::SetMinimumSize</enum> </property> <item row="0" column="1"> <widget class="QLabel" name="label_4"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>x</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item row="0" column="0"> <widget class="QDoubleSpinBox" name="width"> <property name="maximum"> <double>999.899999999999977</double> </property> <property name="value"> <double>100.000000000000000</double> </property> </widget> </item> <item row="0" column="2"> <widget class="QDoubleSpinBox" name="height"> <property name="maximum"> <double>999.899999999999977</double> </property> <property name="value"> <double>50.000000000000000</double> </property> </widget> </item> </layout> </item> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>MNT-File</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="backgroundImage"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="2" column="2"> <widget class="QPushButton" name="SelectBackground"> <property name="text"> <string>Select</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="mntFile"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="0" column="2"> <widget class="QPushButton" name="SelectMnt"> <property name="text"> <string>Select</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QPushButton" name="SelectOutput"> <property name="text"> <string>Select</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Background Image</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Output Directory</string> </property> </widget> </item> <item row="4" column="0" colspan="3"> <widget class="QGraphicsView" name="graphicsView"/> </item> <item row="1" column="1"> <widget class="QLineEdit" name="outputDir"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="5" column="0" colspan="3"> <widget class="QPushButton" name="Make"> <property name="text"> <string>Make</string> </property> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>426</width> <height>20</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>