mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
438 lines
10 KiB
XML
438 lines
10 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>1441</width>
|
|
<height>859</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="CustomLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>800</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>810</x>
|
|
<y>0</y>
|
|
<width>610</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>10</y>
|
|
<width>191</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Path1</string>
|
|
</property>
|
|
<widget class="CustomButton" name="pushButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rectangle</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CustomButton" name="pushButton_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>80</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ellipse</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CustomButton" name="pushButton_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>120</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Triangle</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>250</y>
|
|
<width>63</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Coords:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>270</y>
|
|
<width>170</width>
|
|
<height>200</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSlider" name="horizontalSlider">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>230</y>
|
|
<width>160</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>200</number>
|
|
</property>
|
|
<property name="sliderPosition">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>210</y>
|
|
<width>63</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Scale:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CustomButton" name="pushButton_8">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>160</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cross</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>210</x>
|
|
<y>10</y>
|
|
<width>191</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Path2</string>
|
|
</property>
|
|
<widget class="CustomButton" name="pushButton_7">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rectangle</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CustomButton" name="pushButton_10">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>80</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ellipse</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CustomButton" name="pushButton_12">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>120</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Triangle</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>250</y>
|
|
<width>63</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Coords:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>270</y>
|
|
<width>170</width>
|
|
<height>200</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSlider" name="horizontalSlider_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>230</y>
|
|
<width>160</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>200</number>
|
|
</property>
|
|
<property name="sliderPosition">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>210</y>
|
|
<width>63</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Scale:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CustomButton" name="pushButton_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>160</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cross</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>10</y>
|
|
<width>191</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Result</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>250</y>
|
|
<width>63</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Coords:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>270</y>
|
|
<width>170</width>
|
|
<height>200</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="BooleanButton" name="pushButton_15">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>120</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Subtract</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="BooleanButton" name="pushButton_16">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>80</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Intersect</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="BooleanButton" name="pushButton_17">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>83</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Unite</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1441</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>CustomButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>mainwindow.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>BooleanButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>mainwindow.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>CustomLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>mainwindow.h</header>
|
|
<slots>
|
|
<signal>mousePress()</signal>
|
|
</slots>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>label</sender>
|
|
<signal>mousePress()</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>CheckMousePress()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>249</x>
|
|
<y>274</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>561</x>
|
|
<y>276</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>CheckMousePress()</slot>
|
|
</slots>
|
|
</ui>
|