И связанное с ним событие. Хотя в целом я рассматриваю поместить label, показывающий степень свободы чертежа
144 lines
3.5 KiB
XML
144 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DRAWer_2_0Class</class>
|
|
<widget class="QMainWindow" name="DRAWer_2_0Class">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>700</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>1080</width>
|
|
<height>1080</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>DRAWer_2_0</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="bottomMargin">
|
|
<number>23</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="Line_Button">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Line</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Parallel_Button">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Parallel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Perpendicular_Button">
|
|
<property name="text">
|
|
<string>Perpendicular</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="P2P_Button">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>P2P</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Vertical_Button">
|
|
<property name="text">
|
|
<string>Vertical</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Horizontal_Button">
|
|
<property name="text">
|
|
<string>Horizontal</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="Canvas" name="widget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Canvas</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>700</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<attribute name="toolBarArea">
|
|
<enum>RightToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Canvas</class>
|
|
<extends>QWidget</extends>
|
|
<header>canvas.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|