2022-05-03 10:25:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>Dialog_ImageEditor</class>
|
|
|
|
<widget class="QDialog" name="Dialog_ImageEditor">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2023-08-04 09:47:00 +00:00
|
|
|
<width>1383</width>
|
2022-05-03 10:25:52 +00:00
|
|
|
<height>378</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Dialog_ImageEditor</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2022-08-12 08:03:33 +00:00
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QGraphicsView" name="graphicsView"/>
|
|
|
|
</item>
|
2022-05-03 10:25:52 +00:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_rect">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>rect</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Rect</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_ellipse">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>ellipse</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Ellipse</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_line">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>line</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Line</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_pen">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Pen</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_arrow">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>arrow</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Arrow</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_text">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>text</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Text</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Color</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_color">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>30</width>
|
|
|
|
<height>30</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>color</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>LineWidth</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="comboBox_lineWidth">
|
2023-08-04 09:47:00 +00:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2022-05-03 10:25:52 +00:00
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1 pix</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>3 pix</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>5 pix</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>8 pix</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>TextSize</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="comboBox_textSize">
|
2023-08-04 09:47:00 +00:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>70</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2022-05-03 10:25:52 +00:00
|
|
|
<property name="currentIndex">
|
2022-10-24 06:36:13 +00:00
|
|
|
<number>0</number>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>20</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>26</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>36</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>48</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>72</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>96</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>128</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>160</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2022-10-24 06:36:13 +00:00
|
|
|
<string>200</string>
|
2022-05-03 10:25:52 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2022-08-12 08:03:33 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_zoomIn">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>zoomin</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Zoomin</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_fit">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>fit</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Fit</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_zoom">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>100%</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>1:1</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_zoomOut">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>zoomout</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Zoomout</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_4">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2022-05-03 10:25:52 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_undo">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>undo</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Undo</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+Z</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_ok">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>ok</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Ok</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_cancel">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>cancel</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Cancel</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|