개정판 b8ff72eb
issue #000: change ui
DTI_PID/DTI_PID/Configuration_UI.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | 2 |
|
3 |
# Form implementation generated from reading ui file 'D:\Projects\DTIPID\DTI_PID\DTI_PID\ui\Configuration.ui'
|
|
3 |
# Form implementation generated from reading ui file './UI/Configuration.ui'
|
|
4 | 4 |
# |
5 |
# Created by: PyQt5 UI code generator 5.12
|
|
5 |
# Created by: PyQt5 UI code generator 5.11.3
|
|
6 | 6 |
# |
7 | 7 |
# WARNING! All changes made in this file will be lost! |
8 | 8 |
|
9 | 9 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 10 |
|
11 |
|
|
12 | 11 |
class Ui_ConfigurationDialog(object): |
13 | 12 |
def setupUi(self, ConfigurationDialog): |
14 | 13 |
ConfigurationDialog.setObjectName("ConfigurationDialog") |
... | ... | |
509 | 508 |
self.radioButtonProperty.setText(_translate("ConfigurationDialog", "Property")) |
510 | 509 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLineColor), _translate("ConfigurationDialog", "Line Color")) |
511 | 510 |
|
512 |
|
|
513 | 511 |
import MainWindow_rc |
514 | 512 |
|
515 |
|
|
516 | 513 |
if __name__ == "__main__": |
517 | 514 |
import sys |
518 | 515 |
app = QtWidgets.QApplication(sys.argv) |
... | ... | |
521 | 518 |
ui.setupUi(ConfigurationDialog) |
522 | 519 |
ConfigurationDialog.show() |
523 | 520 |
sys.exit(app.exec_()) |
521 |
|
DTI_PID/DTI_PID/SymbolEditorDialog.py | ||
---|---|---|
170 | 170 |
self.ui.comboBoxNormalColor.addItem(config.key, config.value) |
171 | 171 |
self.ui.comboBoxHoverColor.addItem(config.key, config.value) |
172 | 172 |
|
173 |
nomalIndex = self.ui.comboBoxNormalColor.findText('Blue', Qt.MatchExactly) |
|
174 |
if nomalIndex is not -1: |
|
175 |
self.ui.comboBoxNormalColor.setCurrentIndex(nomalIndex) |
|
176 |
hoberIndex = self.ui.comboBoxNormalColor.findText('Red', Qt.MatchExactly) |
|
177 |
if hoberIndex is not -1: |
|
178 |
self.ui.comboBoxHoverColor.setCurrentIndex(hoberIndex) |
|
179 |
|
|
173 | 180 |
''' |
174 | 181 |
@brief Init Symbol Type ComboBox Items |
175 | 182 |
@author Jeongwoo |
DTI_PID/DTI_PID/SymbolEditor_UI.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | 2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\SymbolEditor.ui'
|
|
3 |
# Form implementation generated from reading ui file './UI/SymbolEditor.ui'
|
|
4 | 4 |
# |
5 | 5 |
# Created by: PyQt5 UI code generator 5.11.3 |
6 | 6 |
# |
... | ... | |
40 | 40 |
self.toolWidget.setObjectName("toolWidget") |
41 | 41 |
self.horizontalLayout = QtWidgets.QHBoxLayout(self.toolWidget) |
42 | 42 |
self.horizontalLayout.setObjectName("horizontalLayout") |
43 |
self.gridLayout_6 = QtWidgets.QGridLayout() |
|
44 |
self.gridLayout_6.setObjectName("gridLayout_6") |
|
45 |
self.label = QtWidgets.QLabel(self.toolWidget) |
|
46 |
self.label.setObjectName("label") |
|
47 |
self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1) |
|
48 |
self.comboBoxNormalColor = QtWidgets.QComboBox(self.toolWidget) |
|
49 |
self.comboBoxNormalColor.setObjectName("comboBoxNormalColor") |
|
50 |
self.gridLayout_6.addWidget(self.comboBoxNormalColor, 0, 1, 1, 1) |
|
51 |
self.label_2 = QtWidgets.QLabel(self.toolWidget) |
|
52 |
self.label_2.setObjectName("label_2") |
|
53 |
self.gridLayout_6.addWidget(self.label_2, 1, 0, 1, 1) |
|
54 |
self.comboBoxHoverColor = QtWidgets.QComboBox(self.toolWidget) |
|
55 |
self.comboBoxHoverColor.setObjectName("comboBoxHoverColor") |
|
56 |
self.gridLayout_6.addWidget(self.comboBoxHoverColor, 1, 1, 1, 1) |
|
57 |
self.horizontalLayout.addLayout(self.gridLayout_6) |
|
58 | 43 |
self.gridLayout_5 = QtWidgets.QGridLayout() |
59 | 44 |
self.gridLayout_5.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint) |
60 | 45 |
self.gridLayout_5.setObjectName("gridLayout_5") |
61 |
self.fitImageButton = QtWidgets.QPushButton(self.toolWidget) |
|
62 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
63 |
sizePolicy.setHorizontalStretch(0) |
|
64 |
sizePolicy.setVerticalStretch(0) |
|
65 |
sizePolicy.setHeightForWidth(self.fitImageButton.sizePolicy().hasHeightForWidth()) |
|
66 |
self.fitImageButton.setSizePolicy(sizePolicy) |
|
67 |
self.fitImageButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
68 |
self.fitImageButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
69 |
self.fitImageButton.setText("") |
|
70 |
icon = QtGui.QIcon() |
|
71 |
icon.addPixmap(QtGui.QPixmap(":/newPrefix/expand.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
72 |
self.fitImageButton.setIcon(icon) |
|
73 |
self.fitImageButton.setIconSize(QtCore.QSize(20, 20)) |
|
74 |
self.fitImageButton.setObjectName("fitImageButton") |
|
75 |
self.gridLayout_5.addWidget(self.fitImageButton, 0, 6, 1, 1) |
|
76 |
self.zoomButton = QtWidgets.QPushButton(self.toolWidget) |
|
77 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
78 |
sizePolicy.setHorizontalStretch(0) |
|
79 |
sizePolicy.setVerticalStretch(0) |
|
80 |
sizePolicy.setHeightForWidth(self.zoomButton.sizePolicy().hasHeightForWidth()) |
|
81 |
self.zoomButton.setSizePolicy(sizePolicy) |
|
82 |
self.zoomButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
83 |
self.zoomButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
84 |
self.zoomButton.setObjectName("zoomButton") |
|
85 |
self.gridLayout_5.addWidget(self.zoomButton, 1, 4, 1, 1) |
|
86 | 46 |
self.penButton = QtWidgets.QPushButton(self.toolWidget) |
87 | 47 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
88 | 48 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
92 | 52 |
self.penButton.setMinimumSize(QtCore.QSize(32, 32)) |
93 | 53 |
self.penButton.setMaximumSize(QtCore.QSize(32, 32)) |
94 | 54 |
self.penButton.setText("") |
95 |
icon1 = QtGui.QIcon()
|
|
96 |
icon1.addPixmap(QtGui.QPixmap(":/newPrefix/line.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
97 |
self.penButton.setIcon(icon1)
|
|
55 |
icon = QtGui.QIcon() |
|
56 |
icon.addPixmap(QtGui.QPixmap(":/newPrefix/line.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
57 |
self.penButton.setIcon(icon) |
|
98 | 58 |
self.penButton.setIconSize(QtCore.QSize(20, 20)) |
99 | 59 |
self.penButton.setObjectName("penButton") |
100 | 60 |
self.gridLayout_5.addWidget(self.penButton, 0, 2, 1, 1) |
... | ... | |
108 | 68 |
self.handButton.setMaximumSize(QtCore.QSize(32, 32)) |
109 | 69 |
self.handButton.setObjectName("handButton") |
110 | 70 |
self.gridLayout_5.addWidget(self.handButton, 0, 0, 1, 1) |
111 |
self.flipVerticalButton = QtWidgets.QPushButton(self.toolWidget)
|
|
71 |
self.fitImageButton = QtWidgets.QPushButton(self.toolWidget)
|
|
112 | 72 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
113 | 73 |
sizePolicy.setHorizontalStretch(0) |
114 | 74 |
sizePolicy.setVerticalStretch(0) |
115 |
sizePolicy.setHeightForWidth(self.flipVerticalButton.sizePolicy().hasHeightForWidth()) |
|
116 |
self.flipVerticalButton.setSizePolicy(sizePolicy) |
|
117 |
self.flipVerticalButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
118 |
self.flipVerticalButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
119 |
self.flipVerticalButton.setText("") |
|
120 |
icon2 = QtGui.QIcon() |
|
121 |
icon2.addPixmap(QtGui.QPixmap(":/newPrefix/flip.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
122 |
self.flipVerticalButton.setIcon(icon2) |
|
123 |
self.flipVerticalButton.setIconSize(QtCore.QSize(20, 20)) |
|
124 |
self.flipVerticalButton.setObjectName("flipVerticalButton") |
|
125 |
self.gridLayout_5.addWidget(self.flipVerticalButton, 1, 3, 1, 1) |
|
75 |
sizePolicy.setHeightForWidth(self.fitImageButton.sizePolicy().hasHeightForWidth()) |
|
76 |
self.fitImageButton.setSizePolicy(sizePolicy) |
|
77 |
self.fitImageButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
78 |
self.fitImageButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
79 |
self.fitImageButton.setText("") |
|
80 |
icon1 = QtGui.QIcon() |
|
81 |
icon1.addPixmap(QtGui.QPixmap(":/newPrefix/expand.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
82 |
self.fitImageButton.setIcon(icon1) |
|
83 |
self.fitImageButton.setIconSize(QtCore.QSize(20, 20)) |
|
84 |
self.fitImageButton.setObjectName("fitImageButton") |
|
85 |
self.gridLayout_5.addWidget(self.fitImageButton, 0, 6, 1, 1) |
|
86 |
self.zoomButton = QtWidgets.QPushButton(self.toolWidget) |
|
87 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
88 |
sizePolicy.setHorizontalStretch(0) |
|
89 |
sizePolicy.setVerticalStretch(0) |
|
90 |
sizePolicy.setHeightForWidth(self.zoomButton.sizePolicy().hasHeightForWidth()) |
|
91 |
self.zoomButton.setSizePolicy(sizePolicy) |
|
92 |
self.zoomButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
93 |
self.zoomButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
94 |
self.zoomButton.setObjectName("zoomButton") |
|
95 |
self.gridLayout_5.addWidget(self.zoomButton, 1, 4, 1, 1) |
|
126 | 96 |
self.areaZoomButton = QtWidgets.QPushButton(self.toolWidget) |
127 | 97 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
128 | 98 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
132 | 102 |
self.areaZoomButton.setMinimumSize(QtCore.QSize(32, 32)) |
133 | 103 |
self.areaZoomButton.setMaximumSize(QtCore.QSize(32, 32)) |
134 | 104 |
self.areaZoomButton.setText("") |
135 |
icon3 = QtGui.QIcon()
|
|
136 |
icon3.addPixmap(QtGui.QPixmap(":/newPrefix/zoom-in-tool.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
137 |
self.areaZoomButton.setIcon(icon3)
|
|
105 |
icon2 = QtGui.QIcon()
|
|
106 |
icon2.addPixmap(QtGui.QPixmap(":/newPrefix/zoom-in-tool.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
107 |
self.areaZoomButton.setIcon(icon2)
|
|
138 | 108 |
self.areaZoomButton.setIconSize(QtCore.QSize(20, 20)) |
139 | 109 |
self.areaZoomButton.setObjectName("areaZoomButton") |
140 | 110 |
self.gridLayout_5.addWidget(self.areaZoomButton, 1, 5, 1, 1) |
141 |
self.penWidthSpinBox = QtWidgets.QSpinBox(self.toolWidget)
|
|
111 |
self.cropButton = QtWidgets.QPushButton(self.toolWidget)
|
|
142 | 112 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
143 |
sizePolicy.setHorizontalStretch(0) |
|
144 |
sizePolicy.setVerticalStretch(0) |
|
145 |
sizePolicy.setHeightForWidth(self.penWidthSpinBox.sizePolicy().hasHeightForWidth()) |
|
146 |
self.penWidthSpinBox.setSizePolicy(sizePolicy) |
|
147 |
self.penWidthSpinBox.setMinimumSize(QtCore.QSize(32, 32)) |
|
148 |
self.penWidthSpinBox.setMaximumSize(QtCore.QSize(16777215, 32)) |
|
149 |
self.penWidthSpinBox.setMinimum(1) |
|
150 |
self.penWidthSpinBox.setMaximum(5) |
|
151 |
self.penWidthSpinBox.setObjectName("penWidthSpinBox") |
|
152 |
self.gridLayout_5.addWidget(self.penWidthSpinBox, 0, 3, 1, 1) |
|
113 |
sizePolicy.setHorizontalStretch(32) |
|
114 |
sizePolicy.setVerticalStretch(32) |
|
115 |
sizePolicy.setHeightForWidth(self.cropButton.sizePolicy().hasHeightForWidth()) |
|
116 |
self.cropButton.setSizePolicy(sizePolicy) |
|
117 |
self.cropButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
118 |
self.cropButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
119 |
self.cropButton.setText("") |
|
120 |
icon3 = QtGui.QIcon() |
|
121 |
icon3.addPixmap(QtGui.QPixmap(":/newPrefix/crop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
122 |
self.cropButton.setIcon(icon3) |
|
123 |
self.cropButton.setIconSize(QtCore.QSize(20, 20)) |
|
124 |
self.cropButton.setObjectName("cropButton") |
|
125 |
self.gridLayout_5.addWidget(self.cropButton, 0, 1, 1, 1) |
|
153 | 126 |
self.rotateLeftButton = QtWidgets.QPushButton(self.toolWidget) |
154 | 127 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
155 | 128 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
165 | 138 |
self.rotateLeftButton.setIconSize(QtCore.QSize(20, 20)) |
166 | 139 |
self.rotateLeftButton.setObjectName("rotateLeftButton") |
167 | 140 |
self.gridLayout_5.addWidget(self.rotateLeftButton, 1, 0, 1, 1) |
168 |
self.areaEraserButton = QtWidgets.QPushButton(self.toolWidget)
|
|
141 |
self.rotateRightButton = QtWidgets.QPushButton(self.toolWidget)
|
|
169 | 142 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
170 | 143 |
sizePolicy.setHorizontalStretch(0) |
171 | 144 |
sizePolicy.setVerticalStretch(0) |
172 |
sizePolicy.setHeightForWidth(self.areaEraserButton.sizePolicy().hasHeightForWidth())
|
|
173 |
self.areaEraserButton.setSizePolicy(sizePolicy)
|
|
174 |
self.areaEraserButton.setMinimumSize(QtCore.QSize(32, 32))
|
|
175 |
self.areaEraserButton.setMaximumSize(QtCore.QSize(32, 32))
|
|
176 |
self.areaEraserButton.setText("")
|
|
145 |
sizePolicy.setHeightForWidth(self.rotateRightButton.sizePolicy().hasHeightForWidth())
|
|
146 |
self.rotateRightButton.setSizePolicy(sizePolicy)
|
|
147 |
self.rotateRightButton.setMinimumSize(QtCore.QSize(32, 32))
|
|
148 |
self.rotateRightButton.setMaximumSize(QtCore.QSize(32, 32))
|
|
149 |
self.rotateRightButton.setText("")
|
|
177 | 150 |
icon5 = QtGui.QIcon() |
178 |
icon5.addPixmap(QtGui.QPixmap(":/newPrefix/eraser_area.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
179 |
self.areaEraserButton.setIcon(icon5) |
|
180 |
self.areaEraserButton.setIconSize(QtCore.QSize(20, 20)) |
|
181 |
self.areaEraserButton.setObjectName("areaEraserButton") |
|
182 |
self.gridLayout_5.addWidget(self.areaEraserButton, 0, 7, 1, 1) |
|
151 |
icon5.addPixmap(QtGui.QPixmap(":/newPrefix/Rotate_Plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
152 |
self.rotateRightButton.setIcon(icon5) |
|
153 |
self.rotateRightButton.setIconSize(QtCore.QSize(20, 20)) |
|
154 |
self.rotateRightButton.setObjectName("rotateRightButton") |
|
155 |
self.gridLayout_5.addWidget(self.rotateRightButton, 1, 1, 1, 1) |
|
156 |
self.flipVerticalButton = QtWidgets.QPushButton(self.toolWidget) |
|
157 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
158 |
sizePolicy.setHorizontalStretch(0) |
|
159 |
sizePolicy.setVerticalStretch(0) |
|
160 |
sizePolicy.setHeightForWidth(self.flipVerticalButton.sizePolicy().hasHeightForWidth()) |
|
161 |
self.flipVerticalButton.setSizePolicy(sizePolicy) |
|
162 |
self.flipVerticalButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
163 |
self.flipVerticalButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
164 |
self.flipVerticalButton.setText("") |
|
165 |
icon6 = QtGui.QIcon() |
|
166 |
icon6.addPixmap(QtGui.QPixmap(":/newPrefix/flip.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
167 |
self.flipVerticalButton.setIcon(icon6) |
|
168 |
self.flipVerticalButton.setIconSize(QtCore.QSize(20, 20)) |
|
169 |
self.flipVerticalButton.setObjectName("flipVerticalButton") |
|
170 |
self.gridLayout_5.addWidget(self.flipVerticalButton, 1, 3, 1, 1) |
|
171 |
self.initZoomButton = QtWidgets.QPushButton(self.toolWidget) |
|
172 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
173 |
sizePolicy.setHorizontalStretch(0) |
|
174 |
sizePolicy.setVerticalStretch(0) |
|
175 |
sizePolicy.setHeightForWidth(self.initZoomButton.sizePolicy().hasHeightForWidth()) |
|
176 |
self.initZoomButton.setSizePolicy(sizePolicy) |
|
177 |
self.initZoomButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
178 |
self.initZoomButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
179 |
self.initZoomButton.setObjectName("initZoomButton") |
|
180 |
self.gridLayout_5.addWidget(self.initZoomButton, 1, 6, 1, 1) |
|
183 | 181 |
self.removeTextButton = QtWidgets.QPushButton(self.toolWidget) |
184 | 182 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
185 | 183 |
sizePolicy.setHorizontalStretch(0) |
186 | 184 |
sizePolicy.setVerticalStretch(0) |
187 | 185 |
sizePolicy.setHeightForWidth(self.removeTextButton.sizePolicy().hasHeightForWidth()) |
188 | 186 |
self.removeTextButton.setSizePolicy(sizePolicy) |
189 |
self.removeTextButton.setMinimumSize(QtCore.QSize(0, 32)) |
|
187 |
self.removeTextButton.setMinimumSize(QtCore.QSize(150, 32))
|
|
190 | 188 |
self.removeTextButton.setMaximumSize(QtCore.QSize(16777215, 32)) |
191 | 189 |
self.removeTextButton.setObjectName("removeTextButton") |
192 | 190 |
self.gridLayout_5.addWidget(self.removeTextButton, 0, 12, 1, 1) |
193 |
self.cropButton = QtWidgets.QPushButton(self.toolWidget) |
|
194 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
195 |
sizePolicy.setHorizontalStretch(32) |
|
196 |
sizePolicy.setVerticalStretch(32) |
|
197 |
sizePolicy.setHeightForWidth(self.cropButton.sizePolicy().hasHeightForWidth()) |
|
198 |
self.cropButton.setSizePolicy(sizePolicy) |
|
199 |
self.cropButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
200 |
self.cropButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
201 |
self.cropButton.setText("") |
|
202 |
icon6 = QtGui.QIcon() |
|
203 |
icon6.addPixmap(QtGui.QPixmap(":/newPrefix/crop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
204 |
self.cropButton.setIcon(icon6) |
|
205 |
self.cropButton.setIconSize(QtCore.QSize(20, 20)) |
|
206 |
self.cropButton.setObjectName("cropButton") |
|
207 |
self.gridLayout_5.addWidget(self.cropButton, 0, 1, 1, 1) |
|
208 |
self.eraserButton = QtWidgets.QPushButton(self.toolWidget) |
|
209 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
210 |
sizePolicy.setHorizontalStretch(0) |
|
211 |
sizePolicy.setVerticalStretch(0) |
|
212 |
sizePolicy.setHeightForWidth(self.eraserButton.sizePolicy().hasHeightForWidth()) |
|
213 |
self.eraserButton.setSizePolicy(sizePolicy) |
|
214 |
self.eraserButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
215 |
self.eraserButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
216 |
self.eraserButton.setText("") |
|
217 |
icon7 = QtGui.QIcon() |
|
218 |
icon7.addPixmap(QtGui.QPixmap(":/newPrefix/eraser.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
219 |
self.eraserButton.setIcon(icon7) |
|
220 |
self.eraserButton.setIconSize(QtCore.QSize(20, 20)) |
|
221 |
self.eraserButton.setObjectName("eraserButton") |
|
222 |
self.gridLayout_5.addWidget(self.eraserButton, 0, 4, 1, 1) |
|
223 |
self.rotateRightButton = QtWidgets.QPushButton(self.toolWidget) |
|
191 |
self.penWidthSpinBox = QtWidgets.QSpinBox(self.toolWidget) |
|
224 | 192 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
225 | 193 |
sizePolicy.setHorizontalStretch(0) |
226 | 194 |
sizePolicy.setVerticalStretch(0) |
227 |
sizePolicy.setHeightForWidth(self.rotateRightButton.sizePolicy().hasHeightForWidth()) |
|
228 |
self.rotateRightButton.setSizePolicy(sizePolicy) |
|
229 |
self.rotateRightButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
230 |
self.rotateRightButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
231 |
self.rotateRightButton.setText("") |
|
232 |
icon8 = QtGui.QIcon() |
|
233 |
icon8.addPixmap(QtGui.QPixmap(":/newPrefix/Rotate_Plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
234 |
self.rotateRightButton.setIcon(icon8) |
|
235 |
self.rotateRightButton.setIconSize(QtCore.QSize(20, 20)) |
|
236 |
self.rotateRightButton.setObjectName("rotateRightButton") |
|
237 |
self.gridLayout_5.addWidget(self.rotateRightButton, 1, 1, 1, 1) |
|
195 |
sizePolicy.setHeightForWidth(self.penWidthSpinBox.sizePolicy().hasHeightForWidth()) |
|
196 |
self.penWidthSpinBox.setSizePolicy(sizePolicy) |
|
197 |
self.penWidthSpinBox.setMinimumSize(QtCore.QSize(32, 32)) |
|
198 |
self.penWidthSpinBox.setMaximumSize(QtCore.QSize(16777215, 32)) |
|
199 |
self.penWidthSpinBox.setMinimum(1) |
|
200 |
self.penWidthSpinBox.setMaximum(5) |
|
201 |
self.penWidthSpinBox.setObjectName("penWidthSpinBox") |
|
202 |
self.gridLayout_5.addWidget(self.penWidthSpinBox, 0, 3, 1, 1) |
|
238 | 203 |
self.flipHorizontalButton = QtWidgets.QPushButton(self.toolWidget) |
239 | 204 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
240 | 205 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
244 | 209 |
self.flipHorizontalButton.setMinimumSize(QtCore.QSize(32, 32)) |
245 | 210 |
self.flipHorizontalButton.setMaximumSize(QtCore.QSize(32, 32)) |
246 | 211 |
self.flipHorizontalButton.setText("") |
247 |
icon9 = QtGui.QIcon()
|
|
248 |
icon9.addPixmap(QtGui.QPixmap(":/newPrefix/flip_horizontal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
249 |
self.flipHorizontalButton.setIcon(icon9)
|
|
212 |
icon7 = QtGui.QIcon()
|
|
213 |
icon7.addPixmap(QtGui.QPixmap(":/newPrefix/flip_horizontal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
214 |
self.flipHorizontalButton.setIcon(icon7)
|
|
250 | 215 |
self.flipHorizontalButton.setIconSize(QtCore.QSize(20, 20)) |
251 | 216 |
self.flipHorizontalButton.setObjectName("flipHorizontalButton") |
252 | 217 |
self.gridLayout_5.addWidget(self.flipHorizontalButton, 1, 2, 1, 1) |
... | ... | |
262 | 227 |
self.eraserSpinBox.setMaximum(5) |
263 | 228 |
self.eraserSpinBox.setObjectName("eraserSpinBox") |
264 | 229 |
self.gridLayout_5.addWidget(self.eraserSpinBox, 0, 5, 1, 1) |
265 |
self.initZoomButton = QtWidgets.QPushButton(self.toolWidget)
|
|
230 |
self.eraserButton = QtWidgets.QPushButton(self.toolWidget)
|
|
266 | 231 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
267 | 232 |
sizePolicy.setHorizontalStretch(0) |
268 | 233 |
sizePolicy.setVerticalStretch(0) |
269 |
sizePolicy.setHeightForWidth(self.initZoomButton.sizePolicy().hasHeightForWidth()) |
|
270 |
self.initZoomButton.setSizePolicy(sizePolicy) |
|
271 |
self.initZoomButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
272 |
self.initZoomButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
273 |
self.initZoomButton.setObjectName("initZoomButton") |
|
274 |
self.gridLayout_5.addWidget(self.initZoomButton, 1, 6, 1, 1) |
|
234 |
sizePolicy.setHeightForWidth(self.eraserButton.sizePolicy().hasHeightForWidth()) |
|
235 |
self.eraserButton.setSizePolicy(sizePolicy) |
|
236 |
self.eraserButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
237 |
self.eraserButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
238 |
self.eraserButton.setText("") |
|
239 |
icon8 = QtGui.QIcon() |
|
240 |
icon8.addPixmap(QtGui.QPixmap(":/newPrefix/eraser.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
241 |
self.eraserButton.setIcon(icon8) |
|
242 |
self.eraserButton.setIconSize(QtCore.QSize(20, 20)) |
|
243 |
self.eraserButton.setObjectName("eraserButton") |
|
244 |
self.gridLayout_5.addWidget(self.eraserButton, 0, 4, 1, 1) |
|
245 |
self.areaEraserButton = QtWidgets.QPushButton(self.toolWidget) |
|
246 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
|
247 |
sizePolicy.setHorizontalStretch(0) |
|
248 |
sizePolicy.setVerticalStretch(0) |
|
249 |
sizePolicy.setHeightForWidth(self.areaEraserButton.sizePolicy().hasHeightForWidth()) |
|
250 |
self.areaEraserButton.setSizePolicy(sizePolicy) |
|
251 |
self.areaEraserButton.setMinimumSize(QtCore.QSize(32, 32)) |
|
252 |
self.areaEraserButton.setMaximumSize(QtCore.QSize(32, 32)) |
|
253 |
self.areaEraserButton.setText("") |
|
254 |
icon9 = QtGui.QIcon() |
|
255 |
icon9.addPixmap(QtGui.QPixmap(":/newPrefix/eraser_area.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
256 |
self.areaEraserButton.setIcon(icon9) |
|
257 |
self.areaEraserButton.setIconSize(QtCore.QSize(20, 20)) |
|
258 |
self.areaEraserButton.setObjectName("areaEraserButton") |
|
259 |
self.gridLayout_5.addWidget(self.areaEraserButton, 0, 7, 1, 1) |
|
275 | 260 |
self.guidelineCheckbox = QtWidgets.QCheckBox(self.toolWidget) |
276 | 261 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) |
277 | 262 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
283 | 268 |
self.guidelineCheckbox.setObjectName("guidelineCheckbox") |
284 | 269 |
self.gridLayout_5.addWidget(self.guidelineCheckbox, 1, 12, 1, 1) |
285 | 270 |
self.horizontalLayout.addLayout(self.gridLayout_5) |
271 |
self.gridLayout_6 = QtWidgets.QGridLayout() |
|
272 |
self.gridLayout_6.setObjectName("gridLayout_6") |
|
273 |
self.label = QtWidgets.QLabel(self.toolWidget) |
|
274 |
self.label.setMaximumSize(QtCore.QSize(100, 16777215)) |
|
275 |
self.label.setObjectName("label") |
|
276 |
self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1) |
|
277 |
self.comboBoxNormalColor = QtWidgets.QComboBox(self.toolWidget) |
|
278 |
self.comboBoxNormalColor.setMaximumSize(QtCore.QSize(100, 16777215)) |
|
279 |
self.comboBoxNormalColor.setObjectName("comboBoxNormalColor") |
|
280 |
self.gridLayout_6.addWidget(self.comboBoxNormalColor, 0, 1, 1, 1) |
|
281 |
self.label_2 = QtWidgets.QLabel(self.toolWidget) |
|
282 |
self.label_2.setMaximumSize(QtCore.QSize(100, 16777215)) |
|
283 |
self.label_2.setObjectName("label_2") |
|
284 |
self.gridLayout_6.addWidget(self.label_2, 1, 0, 1, 1) |
|
285 |
self.comboBoxHoverColor = QtWidgets.QComboBox(self.toolWidget) |
|
286 |
self.comboBoxHoverColor.setMaximumSize(QtCore.QSize(100, 16777215)) |
|
287 |
self.comboBoxHoverColor.setObjectName("comboBoxHoverColor") |
|
288 |
self.gridLayout_6.addWidget(self.comboBoxHoverColor, 1, 1, 1, 1) |
|
289 |
self.horizontalLayout.addLayout(self.gridLayout_6) |
|
286 | 290 |
self.verticalLayout_2.addWidget(self.toolWidget) |
287 | 291 |
self.imageViewContainer = QtWidgets.QWidget(self.widget_3) |
288 | 292 |
self.imageViewContainer.setObjectName("imageViewContainer") |
... | ... | |
527 | 531 |
def retranslateUi(self, Dialog): |
528 | 532 |
_translate = QtCore.QCoreApplication.translate |
529 | 533 |
Dialog.setWindowTitle(_translate("Dialog", "Dialog")) |
530 |
self.label.setText(_translate("Dialog", "Normal Color :")) |
|
531 |
self.label_2.setText(_translate("Dialog", "Highlight Color :")) |
|
532 |
self.zoomButton.setText(_translate("Dialog", "Zoom")) |
|
533 | 534 |
self.handButton.setText(_translate("Dialog", "Hand")) |
534 |
self.removeTextButton.setText(_translate("Dialog", "Remove Text"))
|
|
535 |
self.zoomButton.setText(_translate("Dialog", "Zoom"))
|
|
535 | 536 |
self.initZoomButton.setText(_translate("Dialog", "Init Zoom")) |
537 |
self.removeTextButton.setText(_translate("Dialog", "Remove Text")) |
|
536 | 538 |
self.guidelineCheckbox.setText(_translate("Dialog", "Show Guideline")) |
539 |
self.label.setText(_translate("Dialog", "Normal Color :")) |
|
540 |
self.label_2.setText(_translate("Dialog", "Highlight Color :")) |
|
537 | 541 |
self.nameLabel.setText(_translate("Dialog", "Symbol Name")) |
538 | 542 |
self.thresholdLabel.setText(_translate("Dialog", "Threshold(%)")) |
539 | 543 |
self.minMatchPointLabel.setText(_translate("Dialog", "Min Feature Count")) |
DTI_PID/DTI_PID/UI/SymbolEditor.ui | ||
---|---|---|
62 | 62 |
</property> |
63 | 63 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
64 | 64 |
<item> |
65 |
<layout class="QGridLayout" name="gridLayout_6"> |
|
66 |
<item row="0" column="0"> |
|
67 |
<widget class="QLabel" name="label"> |
|
68 |
<property name="text"> |
|
69 |
<string>Normal Color :</string> |
|
70 |
</property> |
|
71 |
</widget> |
|
72 |
</item> |
|
73 |
<item row="0" column="1"> |
|
74 |
<widget class="QComboBox" name="comboBoxNormalColor"/> |
|
75 |
</item> |
|
76 |
<item row="1" column="0"> |
|
77 |
<widget class="QLabel" name="label_2"> |
|
78 |
<property name="text"> |
|
79 |
<string>Highlight Color :</string> |
|
80 |
</property> |
|
81 |
</widget> |
|
82 |
</item> |
|
83 |
<item row="1" column="1"> |
|
84 |
<widget class="QComboBox" name="comboBoxHoverColor"/> |
|
85 |
</item> |
|
86 |
</layout> |
|
87 |
</item> |
|
88 |
<item> |
|
89 | 65 |
<layout class="QGridLayout" name="gridLayout_5"> |
90 | 66 |
<property name="sizeConstraint"> |
91 | 67 |
<enum>QLayout::SetDefaultConstraint</enum> |
92 | 68 |
</property> |
93 |
<item row="0" column="6">
|
|
94 |
<widget class="QPushButton" name="fitImageButton">
|
|
69 |
<item row="0" column="2">
|
|
70 |
<widget class="QPushButton" name="penButton">
|
|
95 | 71 |
<property name="sizePolicy"> |
96 | 72 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
97 | 73 |
<horstretch>0</horstretch> |
... | ... | |
115 | 91 |
</property> |
116 | 92 |
<property name="icon"> |
117 | 93 |
<iconset resource="../res/MainWindow.qrc"> |
118 |
<normaloff>:/newPrefix/expand.png</normaloff>:/newPrefix/expand.png</iconset>
|
|
94 |
<normaloff>:/newPrefix/line.png</normaloff>:/newPrefix/line.png</iconset>
|
|
119 | 95 |
</property> |
120 | 96 |
<property name="iconSize"> |
121 | 97 |
<size> |
... | ... | |
125 | 101 |
</property> |
126 | 102 |
</widget> |
127 | 103 |
</item> |
128 |
<item row="1" column="4">
|
|
129 |
<widget class="QPushButton" name="zoomButton">
|
|
104 |
<item row="0" column="0">
|
|
105 |
<widget class="QPushButton" name="handButton">
|
|
130 | 106 |
<property name="sizePolicy"> |
131 | 107 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
132 | 108 |
<horstretch>0</horstretch> |
... | ... | |
146 | 122 |
</size> |
147 | 123 |
</property> |
148 | 124 |
<property name="text"> |
149 |
<string>Zoom</string>
|
|
125 |
<string>Hand</string>
|
|
150 | 126 |
</property> |
151 | 127 |
</widget> |
152 | 128 |
</item> |
153 |
<item row="0" column="2">
|
|
154 |
<widget class="QPushButton" name="penButton">
|
|
129 |
<item row="0" column="6">
|
|
130 |
<widget class="QPushButton" name="fitImageButton">
|
|
155 | 131 |
<property name="sizePolicy"> |
156 | 132 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
157 | 133 |
<horstretch>0</horstretch> |
... | ... | |
175 | 151 |
</property> |
176 | 152 |
<property name="icon"> |
177 | 153 |
<iconset resource="../res/MainWindow.qrc"> |
178 |
<normaloff>:/newPrefix/line.png</normaloff>:/newPrefix/line.png</iconset>
|
|
154 |
<normaloff>:/newPrefix/expand.png</normaloff>:/newPrefix/expand.png</iconset>
|
|
179 | 155 |
</property> |
180 | 156 |
<property name="iconSize"> |
181 | 157 |
<size> |
... | ... | |
185 | 161 |
</property> |
186 | 162 |
</widget> |
187 | 163 |
</item> |
188 |
<item row="0" column="0">
|
|
189 |
<widget class="QPushButton" name="handButton">
|
|
164 |
<item row="1" column="4">
|
|
165 |
<widget class="QPushButton" name="zoomButton">
|
|
190 | 166 |
<property name="sizePolicy"> |
191 | 167 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
192 | 168 |
<horstretch>0</horstretch> |
... | ... | |
206 | 182 |
</size> |
207 | 183 |
</property> |
208 | 184 |
<property name="text"> |
209 |
<string>Hand</string>
|
|
185 |
<string>Zoom</string>
|
|
210 | 186 |
</property> |
211 | 187 |
</widget> |
212 | 188 |
</item> |
213 |
<item row="1" column="3">
|
|
214 |
<widget class="QPushButton" name="flipVerticalButton">
|
|
189 |
<item row="1" column="5">
|
|
190 |
<widget class="QPushButton" name="areaZoomButton">
|
|
215 | 191 |
<property name="sizePolicy"> |
216 | 192 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
217 | 193 |
<horstretch>0</horstretch> |
... | ... | |
235 | 211 |
</property> |
236 | 212 |
<property name="icon"> |
237 | 213 |
<iconset resource="../res/MainWindow.qrc"> |
238 |
<normaloff>:/newPrefix/flip.png</normaloff>:/newPrefix/flip.png</iconset>
|
|
214 |
<normaloff>:/newPrefix/zoom-in-tool.png</normaloff>:/newPrefix/zoom-in-tool.png</iconset>
|
|
239 | 215 |
</property> |
240 | 216 |
<property name="iconSize"> |
241 | 217 |
<size> |
... | ... | |
245 | 221 |
</property> |
246 | 222 |
</widget> |
247 | 223 |
</item> |
248 |
<item row="1" column="5">
|
|
249 |
<widget class="QPushButton" name="areaZoomButton">
|
|
224 |
<item row="0" column="1">
|
|
225 |
<widget class="QPushButton" name="cropButton">
|
|
250 | 226 |
<property name="sizePolicy"> |
251 | 227 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
252 |
<horstretch>0</horstretch>
|
|
253 |
<verstretch>0</verstretch>
|
|
228 |
<horstretch>32</horstretch>
|
|
229 |
<verstretch>32</verstretch>
|
|
254 | 230 |
</sizepolicy> |
255 | 231 |
</property> |
256 | 232 |
<property name="minimumSize"> |
... | ... | |
270 | 246 |
</property> |
271 | 247 |
<property name="icon"> |
272 | 248 |
<iconset resource="../res/MainWindow.qrc"> |
273 |
<normaloff>:/newPrefix/zoom-in-tool.png</normaloff>:/newPrefix/zoom-in-tool.png</iconset>
|
|
249 |
<normaloff>:/newPrefix/crop.png</normaloff>:/newPrefix/crop.png</iconset>
|
|
274 | 250 |
</property> |
275 | 251 |
<property name="iconSize"> |
276 | 252 |
<size> |
... | ... | |
280 | 256 |
</property> |
281 | 257 |
</widget> |
282 | 258 |
</item> |
283 |
<item row="0" column="3">
|
|
284 |
<widget class="QSpinBox" name="penWidthSpinBox">
|
|
259 |
<item row="1" column="0">
|
|
260 |
<widget class="QPushButton" name="rotateLeftButton">
|
|
285 | 261 |
<property name="sizePolicy"> |
286 | 262 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
287 | 263 |
<horstretch>0</horstretch> |
... | ... | |
296 | 272 |
</property> |
297 | 273 |
<property name="maximumSize"> |
298 | 274 |
<size> |
299 |
<width>16777215</width>
|
|
275 |
<width>32</width>
|
|
300 | 276 |
<height>32</height> |
301 | 277 |
</size> |
302 | 278 |
</property> |
303 |
<property name="minimum">
|
|
304 |
<number>1</number>
|
|
279 |
<property name="text">
|
|
280 |
<string/>
|
|
305 | 281 |
</property> |
306 |
<property name="maximum"> |
|
307 |
<number>5</number> |
|
282 |
<property name="icon"> |
|
283 |
<iconset resource="../res/MainWindow.qrc"> |
|
284 |
<normaloff>:/newPrefix/Rotate_Minus.png</normaloff>:/newPrefix/Rotate_Minus.png</iconset> |
|
285 |
</property> |
|
286 |
<property name="iconSize"> |
|
287 |
<size> |
|
288 |
<width>20</width> |
|
289 |
<height>20</height> |
|
290 |
</size> |
|
308 | 291 |
</property> |
309 | 292 |
</widget> |
310 | 293 |
</item> |
311 |
<item row="1" column="0">
|
|
312 |
<widget class="QPushButton" name="rotateLeftButton">
|
|
294 |
<item row="1" column="1">
|
|
295 |
<widget class="QPushButton" name="rotateRightButton">
|
|
313 | 296 |
<property name="sizePolicy"> |
314 | 297 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
315 | 298 |
<horstretch>0</horstretch> |
... | ... | |
333 | 316 |
</property> |
334 | 317 |
<property name="icon"> |
335 | 318 |
<iconset resource="../res/MainWindow.qrc"> |
336 |
<normaloff>:/newPrefix/Rotate_Minus.png</normaloff>:/newPrefix/Rotate_Minus.png</iconset>
|
|
319 |
<normaloff>:/newPrefix/Rotate_Plus.png</normaloff>:/newPrefix/Rotate_Plus.png</iconset>
|
|
337 | 320 |
</property> |
338 | 321 |
<property name="iconSize"> |
339 | 322 |
<size> |
... | ... | |
343 | 326 |
</property> |
344 | 327 |
</widget> |
345 | 328 |
</item> |
346 |
<item row="0" column="7">
|
|
347 |
<widget class="QPushButton" name="areaEraserButton">
|
|
329 |
<item row="1" column="3">
|
|
330 |
<widget class="QPushButton" name="flipVerticalButton">
|
|
348 | 331 |
<property name="sizePolicy"> |
349 | 332 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
350 | 333 |
<horstretch>0</horstretch> |
... | ... | |
368 | 351 |
</property> |
369 | 352 |
<property name="icon"> |
370 | 353 |
<iconset resource="../res/MainWindow.qrc"> |
371 |
<normaloff>:/newPrefix/eraser_area.png</normaloff>:/newPrefix/eraser_area.png</iconset>
|
|
354 |
<normaloff>:/newPrefix/flip.png</normaloff>:/newPrefix/flip.png</iconset>
|
|
372 | 355 |
</property> |
373 | 356 |
<property name="iconSize"> |
374 | 357 |
<size> |
... | ... | |
378 | 361 |
</property> |
379 | 362 |
</widget> |
380 | 363 |
</item> |
364 |
<item row="1" column="6"> |
|
365 |
<widget class="QPushButton" name="initZoomButton"> |
|
366 |
<property name="sizePolicy"> |
|
367 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
|
368 |
<horstretch>0</horstretch> |
|
369 |
<verstretch>0</verstretch> |
|
370 |
</sizepolicy> |
|
371 |
</property> |
|
372 |
<property name="minimumSize"> |
|
373 |
<size> |
|
374 |
<width>32</width> |
|
375 |
<height>32</height> |
|
376 |
</size> |
|
377 |
</property> |
|
378 |
<property name="maximumSize"> |
|
379 |
<size> |
|
380 |
<width>32</width> |
|
381 |
<height>32</height> |
|
382 |
</size> |
|
383 |
</property> |
|
384 |
<property name="text"> |
|
385 |
<string>Init Zoom</string> |
|
386 |
</property> |
|
387 |
</widget> |
|
388 |
</item> |
|
381 | 389 |
<item row="0" column="12"> |
382 | 390 |
<widget class="QPushButton" name="removeTextButton"> |
383 | 391 |
<property name="sizePolicy"> |
... | ... | |
388 | 396 |
</property> |
389 | 397 |
<property name="minimumSize"> |
390 | 398 |
<size> |
391 |
<width>0</width> |
|
399 |
<width>150</width>
|
|
392 | 400 |
<height>32</height> |
393 | 401 |
</size> |
394 | 402 |
</property> |
... | ... | |
403 | 411 |
</property> |
404 | 412 |
</widget> |
405 | 413 |
</item> |
406 |
<item row="0" column="1">
|
|
407 |
<widget class="QPushButton" name="cropButton">
|
|
414 |
<item row="0" column="3">
|
|
415 |
<widget class="QSpinBox" name="penWidthSpinBox">
|
|
408 | 416 |
<property name="sizePolicy"> |
409 | 417 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
410 |
<horstretch>32</horstretch>
|
|
411 |
<verstretch>32</verstretch>
|
|
418 |
<horstretch>0</horstretch>
|
|
419 |
<verstretch>0</verstretch>
|
|
412 | 420 |
</sizepolicy> |
413 | 421 |
</property> |
414 | 422 |
<property name="minimumSize"> |
... | ... | |
419 | 427 |
</property> |
420 | 428 |
<property name="maximumSize"> |
421 | 429 |
<size> |
422 |
<width>32</width>
|
|
430 |
<width>16777215</width>
|
|
423 | 431 |
<height>32</height> |
424 | 432 |
</size> |
425 | 433 |
</property> |
426 |
<property name="text"> |
|
427 |
<string/> |
|
428 |
</property> |
|
429 |
<property name="icon"> |
|
430 |
<iconset resource="../res/MainWindow.qrc"> |
|
431 |
<normaloff>:/newPrefix/crop.png</normaloff>:/newPrefix/crop.png</iconset> |
|
434 |
<property name="minimum"> |
|
435 |
<number>1</number> |
|
432 | 436 |
</property> |
433 |
<property name="iconSize"> |
|
434 |
<size> |
|
435 |
<width>20</width> |
|
436 |
<height>20</height> |
|
437 |
</size> |
|
437 |
<property name="maximum"> |
|
438 |
<number>5</number> |
|
438 | 439 |
</property> |
439 | 440 |
</widget> |
440 | 441 |
</item> |
441 |
<item row="0" column="4">
|
|
442 |
<widget class="QPushButton" name="eraserButton">
|
|
442 |
<item row="1" column="2">
|
|
443 |
<widget class="QPushButton" name="flipHorizontalButton">
|
|
443 | 444 |
<property name="sizePolicy"> |
444 | 445 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
445 | 446 |
<horstretch>0</horstretch> |
... | ... | |
463 | 464 |
</property> |
464 | 465 |
<property name="icon"> |
465 | 466 |
<iconset resource="../res/MainWindow.qrc"> |
466 |
<normaloff>:/newPrefix/eraser.png</normaloff>:/newPrefix/eraser.png</iconset>
|
|
467 |
<normaloff>:/newPrefix/flip_horizontal.png</normaloff>:/newPrefix/flip_horizontal.png</iconset>
|
|
467 | 468 |
</property> |
468 | 469 |
<property name="iconSize"> |
469 | 470 |
<size> |
... | ... | |
473 | 474 |
</property> |
474 | 475 |
</widget> |
475 | 476 |
</item> |
476 |
<item row="1" column="1">
|
|
477 |
<widget class="QPushButton" name="rotateRightButton">
|
|
477 |
<item row="0" column="5">
|
|
478 |
<widget class="QSpinBox" name="eraserSpinBox">
|
|
478 | 479 |
<property name="sizePolicy"> |
479 | 480 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
480 | 481 |
<horstretch>0</horstretch> |
... | ... | |
483 | 484 |
</property> |
484 | 485 |
<property name="minimumSize"> |
485 | 486 |
<size> |
486 |
<width>32</width>
|
|
487 |
<width>0</width>
|
|
487 | 488 |
<height>32</height> |
488 | 489 |
</size> |
489 | 490 |
</property> |
490 | 491 |
<property name="maximumSize"> |
491 | 492 |
<size> |
492 |
<width>32</width>
|
|
493 |
<width>16777215</width>
|
|
493 | 494 |
<height>32</height> |
494 | 495 |
</size> |
495 | 496 |
</property> |
496 |
<property name="text"> |
|
497 |
<string/> |
|
498 |
</property> |
|
499 |
<property name="icon"> |
|
500 |
<iconset resource="../res/MainWindow.qrc"> |
|
501 |
<normaloff>:/newPrefix/Rotate_Plus.png</normaloff>:/newPrefix/Rotate_Plus.png</iconset> |
|
497 |
<property name="minimum"> |
|
498 |
<number>1</number> |
|
502 | 499 |
</property> |
503 |
<property name="iconSize"> |
|
504 |
<size> |
|
505 |
<width>20</width> |
|
506 |
<height>20</height> |
|
507 |
</size> |
|
500 |
<property name="maximum"> |
|
501 |
<number>5</number> |
|
508 | 502 |
</property> |
509 | 503 |
</widget> |
510 | 504 |
</item> |
511 |
<item row="1" column="2">
|
|
512 |
<widget class="QPushButton" name="flipHorizontalButton">
|
|
505 |
<item row="0" column="4">
|
|
506 |
<widget class="QPushButton" name="eraserButton">
|
|
513 | 507 |
<property name="sizePolicy"> |
514 | 508 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
515 | 509 |
<horstretch>0</horstretch> |
... | ... | |
533 | 527 |
</property> |
534 | 528 |
<property name="icon"> |
535 | 529 |
<iconset resource="../res/MainWindow.qrc"> |
536 |
<normaloff>:/newPrefix/flip_horizontal.png</normaloff>:/newPrefix/flip_horizontal.png</iconset>
|
|
530 |
<normaloff>:/newPrefix/eraser.png</normaloff>:/newPrefix/eraser.png</iconset>
|
|
537 | 531 |
</property> |
538 | 532 |
<property name="iconSize"> |
539 | 533 |
<size> |
... | ... | |
543 | 537 |
</property> |
544 | 538 |
</widget> |
545 | 539 |
</item> |
546 |
<item row="0" column="5">
|
|
547 |
<widget class="QSpinBox" name="eraserSpinBox">
|
|
540 |
<item row="0" column="7">
|
|
541 |
<widget class="QPushButton" name="areaEraserButton">
|
|
548 | 542 |
<property name="sizePolicy"> |
549 | 543 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
550 | 544 |
<horstretch>0</horstretch> |
... | ... | |
553 | 547 |
</property> |
554 | 548 |
<property name="minimumSize"> |
555 | 549 |
<size> |
556 |
<width>0</width>
|
|
550 |
<width>32</width>
|
|
557 | 551 |
<height>32</height> |
558 | 552 |
</size> |
559 | 553 |
</property> |
560 | 554 |
<property name="maximumSize"> |
561 | 555 |
<size> |
562 |
<width>16777215</width>
|
|
556 |
<width>32</width>
|
|
563 | 557 |
<height>32</height> |
564 | 558 |
</size> |
565 | 559 |
</property> |
566 |
<property name="minimum">
|
|
567 |
<number>1</number>
|
|
560 |
<property name="text">
|
|
561 |
<string/>
|
|
568 | 562 |
</property> |
569 |
<property name="maximum"> |
|
570 |
<number>5</number> |
|
563 |
<property name="icon"> |
|
564 |
<iconset resource="../res/MainWindow.qrc"> |
|
565 |
<normaloff>:/newPrefix/eraser_area.png</normaloff>:/newPrefix/eraser_area.png</iconset> |
|
566 |
</property> |
|
567 |
<property name="iconSize"> |
|
568 |
<size> |
|
569 |
<width>20</width> |
|
570 |
<height>20</height> |
|
571 |
</size> |
|
571 | 572 |
</property> |
572 | 573 |
</widget> |
573 | 574 |
</item> |
574 |
<item row="1" column="6">
|
|
575 |
<widget class="QPushButton" name="initZoomButton">
|
|
575 |
<item row="1" column="12">
|
|
576 |
<widget class="QCheckBox" name="guidelineCheckbox">
|
|
576 | 577 |
<property name="sizePolicy"> |
577 | 578 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
578 | 579 |
<horstretch>0</horstretch> |
... | ... | |
581 | 582 |
</property> |
582 | 583 |
<property name="minimumSize"> |
583 | 584 |
<size> |
584 |
<width>32</width>
|
|
585 |
<width>0</width>
|
|
585 | 586 |
<height>32</height> |
586 | 587 |
</size> |
587 | 588 |
</property> |
588 | 589 |
<property name="maximumSize"> |
589 | 590 |
<size> |
590 |
<width>32</width>
|
|
591 |
<width>16777215</width>
|
|
591 | 592 |
<height>32</height> |
592 | 593 |
</size> |
593 | 594 |
</property> |
594 | 595 |
<property name="text"> |
595 |
<string>Init Zoom</string>
|
|
596 |
<string>Show Guideline</string>
|
|
596 | 597 |
</property> |
597 | 598 |
</widget> |
598 | 599 |
</item> |
599 |
<item row="1" column="12"> |
|
600 |
<widget class="QCheckBox" name="guidelineCheckbox"> |
|
601 |
<property name="sizePolicy"> |
|
602 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
|
603 |
<horstretch>0</horstretch> |
|
604 |
<verstretch>0</verstretch> |
|
605 |
</sizepolicy> |
|
600 |
</layout> |
|
601 |
</item> |
|
602 |
<item> |
|
603 |
<layout class="QGridLayout" name="gridLayout_6"> |
|
604 |
<item row="0" column="0"> |
|
605 |
<widget class="QLabel" name="label"> |
|
606 |
<property name="maximumSize"> |
|
607 |
<size> |
|
608 |
<width>100</width> |
|
609 |
<height>16777215</height> |
|
610 |
</size> |
|
606 | 611 |
</property> |
607 |
<property name="minimumSize"> |
|
612 |
<property name="text"> |
|
613 |
<string>Normal Color :</string> |
|
614 |
</property> |
|
615 |
</widget> |
|
616 |
</item> |
|
617 |
<item row="0" column="1"> |
|
618 |
<widget class="QComboBox" name="comboBoxNormalColor"> |
|
619 |
<property name="maximumSize"> |
|
608 | 620 |
<size> |
609 |
<width>0</width> |
|
610 |
<height>32</height>
|
|
621 |
<width>100</width>
|
|
622 |
<height>16777215</height>
|
|
611 | 623 |
</size> |
612 | 624 |
</property> |
625 |
</widget> |
|
626 |
</item> |
|
627 |
<item row="1" column="0"> |
|
628 |
<widget class="QLabel" name="label_2"> |
|
613 | 629 |
<property name="maximumSize"> |
614 | 630 |
<size> |
615 |
<width>16777215</width>
|
|
616 |
<height>32</height>
|
|
631 |
<width>100</width>
|
|
632 |
<height>16777215</height>
|
|
617 | 633 |
</size> |
618 | 634 |
</property> |
619 | 635 |
<property name="text"> |
620 |
<string>Show Guideline</string> |
|
636 |
<string>Highlight Color :</string> |
|
637 |
</property> |
|
638 |
</widget> |
|
639 |
</item> |
|
640 |
<item row="1" column="1"> |
|
641 |
<widget class="QComboBox" name="comboBoxHoverColor"> |
|
642 |
<property name="maximumSize"> |
|
643 |
<size> |
|
644 |
<width>100</width> |
|
645 |
<height>16777215</height> |
|
646 |
</size> |
|
621 | 647 |
</property> |
622 | 648 |
</widget> |
623 | 649 |
</item> |
내보내기 Unified diff