Skip to content

Commit 84e238f

Browse files
committed
First Release
1 parent a568193 commit 84e238f

3 files changed

Lines changed: 157 additions & 14 deletions

File tree

Releases/TicketCreator_v00.exe

57.3 MB
Binary file not shown.

mainLayout.ui

Lines changed: 96 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,35 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>1081</width>
10-
<height>708</height>
9+
<width>1100</width>
10+
<height>800</height>
1111
</rect>
1212
</property>
13+
<property name="sizePolicy">
14+
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15+
<horstretch>0</horstretch>
16+
<verstretch>0</verstretch>
17+
</sizepolicy>
18+
</property>
19+
<property name="minimumSize">
20+
<size>
21+
<width>1100</width>
22+
<height>800</height>
23+
</size>
24+
</property>
25+
<property name="maximumSize">
26+
<size>
27+
<width>1100</width>
28+
<height>800</height>
29+
</size>
30+
</property>
1331
<property name="windowTitle">
1432
<string>MainWindow</string>
1533
</property>
34+
<property name="windowIcon">
35+
<iconset>
36+
<normaloff>../../../InkscapeWorkspace/TheaterLogo_icon.png</normaloff>../../../InkscapeWorkspace/TheaterLogo_icon.png</iconset>
37+
</property>
1638
<widget class="QWidget" name="centralwidget">
1739
<widget class="QPushButton" name="pb_input">
1840
<property name="geometry">
@@ -41,6 +63,18 @@
4163
<height>41</height>
4264
</rect>
4365
</property>
66+
<property name="font">
67+
<font>
68+
<pointsize>14</pointsize>
69+
</font>
70+
</property>
71+
<property name="html">
72+
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
73+
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
74+
p, li { white-space: pre-wrap; }
75+
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
76+
&lt;p align=&quot;right&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
77+
</property>
4478
</widget>
4579
<widget class="QTextBrowser" name="tb_anzahl">
4680
<property name="geometry">
@@ -51,6 +85,18 @@
5185
<height>51</height>
5286
</rect>
5387
</property>
88+
<property name="font">
89+
<font>
90+
<pointsize>14</pointsize>
91+
</font>
92+
</property>
93+
<property name="html">
94+
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
95+
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
96+
p, li { white-space: pre-wrap; }
97+
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
98+
&lt;p align=&quot;center&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
99+
</property>
54100
</widget>
55101
<widget class="QLabel" name="l_anzahl">
56102
<property name="geometry">
@@ -61,6 +107,12 @@
61107
<height>51</height>
62108
</rect>
63109
</property>
110+
<property name="sizePolicy">
111+
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
112+
<horstretch>0</horstretch>
113+
<verstretch>0</verstretch>
114+
</sizepolicy>
115+
</property>
64116
<property name="font">
65117
<font>
66118
<pointsize>14</pointsize>
@@ -79,6 +131,18 @@
79131
<height>51</height>
80132
</rect>
81133
</property>
134+
<property name="font">
135+
<font>
136+
<pointsize>14</pointsize>
137+
</font>
138+
</property>
139+
<property name="html">
140+
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
141+
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
142+
p, li { white-space: pre-wrap; }
143+
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
144+
&lt;p align=&quot;center&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
145+
</property>
82146
</widget>
83147
<widget class="QLabel" name="l_leer">
84148
<property name="geometry">
@@ -130,7 +194,7 @@
130194
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
131195
p, li { white-space: pre-wrap; }
132196
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
133-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;0&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
197+
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;0&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
134198
</property>
135199
</widget>
136200
<widget class="QPushButton" name="pb_start">
@@ -160,6 +224,18 @@ p, li { white-space: pre-wrap; }
160224
<height>41</height>
161225
</rect>
162226
</property>
227+
<property name="font">
228+
<font>
229+
<pointsize>14</pointsize>
230+
</font>
231+
</property>
232+
<property name="html">
233+
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
234+
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
235+
p, li { white-space: pre-wrap; }
236+
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
237+
&lt;p align=&quot;justify&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
238+
</property>
163239
</widget>
164240
<widget class="QPushButton" name="pb_outline">
165241
<property name="geometry">
@@ -188,6 +264,18 @@ p, li { white-space: pre-wrap; }
188264
<height>41</height>
189265
</rect>
190266
</property>
267+
<property name="font">
268+
<font>
269+
<pointsize>14</pointsize>
270+
</font>
271+
</property>
272+
<property name="html">
273+
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
274+
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
275+
p, li { white-space: pre-wrap; }
276+
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
277+
&lt;p align=&quot;right&quot; style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
278+
</property>
191279
</widget>
192280
<widget class="QPushButton" name="pb_template">
193281
<property name="geometry">
@@ -260,17 +348,17 @@ p, li { white-space: pre-wrap; }
260348
</property>
261349
<item>
262350
<property name="text">
263-
<string>Name</string>
351+
<string>name</string>
264352
</property>
265353
</item>
266354
<item>
267355
<property name="text">
268-
<string>Datum</string>
356+
<string>datum</string>
269357
</property>
270358
</item>
271359
<item>
272360
<property name="text">
273-
<string>Platz</string>
361+
<string>platz</string>
274362
</property>
275363
</item>
276364
</widget>
@@ -425,7 +513,7 @@ p, li { white-space: pre-wrap; }
425513
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
426514
p, li { white-space: pre-wrap; }
427515
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
428-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;5&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
516+
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;5&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
429517
</property>
430518
</widget>
431519
<widget class="QPushButton" name="pb_new_outline">
@@ -452,7 +540,7 @@ p, li { white-space: pre-wrap; }
452540
<rect>
453541
<x>0</x>
454542
<y>0</y>
455-
<width>1081</width>
543+
<width>1100</width>
456544
<height>21</height>
457545
</rect>
458546
</property>

mainWindow.py

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
# Form implementation generated from reading ui file '.\mainLayout.ui'
3+
# Form implementation generated from reading ui file 'mainLayout.ui'
44
#
55
# Created by: PyQt5 UI code generator 5.15.2
66
#
@@ -14,7 +14,17 @@
1414
class Ui_MainWindow(object):
1515
def setupUi(self, MainWindow):
1616
MainWindow.setObjectName("MainWindow")
17-
MainWindow.resize(1081, 708)
17+
MainWindow.resize(1100, 800)
18+
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
19+
sizePolicy.setHorizontalStretch(0)
20+
sizePolicy.setVerticalStretch(0)
21+
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
22+
MainWindow.setSizePolicy(sizePolicy)
23+
MainWindow.setMinimumSize(QtCore.QSize(1100, 800))
24+
MainWindow.setMaximumSize(QtCore.QSize(1100, 800))
25+
icon = QtGui.QIcon()
26+
icon.addPixmap(QtGui.QPixmap("../../../InkscapeWorkspace/TheaterLogo_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
27+
MainWindow.setWindowIcon(icon)
1828
self.centralwidget = QtWidgets.QWidget(MainWindow)
1929
self.centralwidget.setObjectName("centralwidget")
2030
self.pb_input = QtWidgets.QPushButton(self.centralwidget)
@@ -25,18 +35,32 @@ def setupUi(self, MainWindow):
2535
self.pb_input.setObjectName("pb_input")
2636
self.te_input = QtWidgets.QTextEdit(self.centralwidget)
2737
self.te_input.setGeometry(QtCore.QRect(30, 20, 621, 41))
38+
font = QtGui.QFont()
39+
font.setPointSize(14)
40+
self.te_input.setFont(font)
2841
self.te_input.setObjectName("te_input")
2942
self.tb_anzahl = QtWidgets.QTextBrowser(self.centralwidget)
3043
self.tb_anzahl.setGeometry(QtCore.QRect(210, 200, 121, 51))
44+
font = QtGui.QFont()
45+
font.setPointSize(14)
46+
self.tb_anzahl.setFont(font)
3147
self.tb_anzahl.setObjectName("tb_anzahl")
3248
self.l_anzahl = QtWidgets.QLabel(self.centralwidget)
3349
self.l_anzahl.setGeometry(QtCore.QRect(30, 200, 171, 51))
50+
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
51+
sizePolicy.setHorizontalStretch(0)
52+
sizePolicy.setVerticalStretch(0)
53+
sizePolicy.setHeightForWidth(self.l_anzahl.sizePolicy().hasHeightForWidth())
54+
self.l_anzahl.setSizePolicy(sizePolicy)
3455
font = QtGui.QFont()
3556
font.setPointSize(14)
3657
self.l_anzahl.setFont(font)
3758
self.l_anzahl.setObjectName("l_anzahl")
3859
self.te_leer = QtWidgets.QTextEdit(self.centralwidget)
3960
self.te_leer.setGeometry(QtCore.QRect(210, 260, 121, 51))
61+
font = QtGui.QFont()
62+
font.setPointSize(14)
63+
self.te_leer.setFont(font)
4064
self.te_leer.setObjectName("te_leer")
4165
self.l_leer = QtWidgets.QLabel(self.centralwidget)
4266
self.l_leer.setGeometry(QtCore.QRect(30, 260, 171, 51))
@@ -61,6 +85,9 @@ def setupUi(self, MainWindow):
6185
self.pb_start.setObjectName("pb_start")
6286
self.te_output = QtWidgets.QTextEdit(self.centralwidget)
6387
self.te_output.setGeometry(QtCore.QRect(30, 120, 621, 41))
88+
font = QtGui.QFont()
89+
font.setPointSize(14)
90+
self.te_output.setFont(font)
6491
self.te_output.setObjectName("te_output")
6592
self.pb_outline = QtWidgets.QPushButton(self.centralwidget)
6693
self.pb_outline.setGeometry(QtCore.QRect(660, 120, 101, 41))
@@ -70,6 +97,9 @@ def setupUi(self, MainWindow):
7097
self.pb_outline.setObjectName("pb_outline")
7198
self.te_template = QtWidgets.QTextEdit(self.centralwidget)
7299
self.te_template.setGeometry(QtCore.QRect(30, 70, 621, 41))
100+
font = QtGui.QFont()
101+
font.setPointSize(14)
102+
self.te_template.setFont(font)
73103
self.te_template.setObjectName("te_template")
74104
self.pb_template = QtWidgets.QPushButton(self.centralwidget)
75105
self.pb_template.setGeometry(QtCore.QRect(660, 70, 101, 41))
@@ -80,7 +110,7 @@ def setupUi(self, MainWindow):
80110
self.ticket_preview = QtWidgets.QLabel(self.centralwidget)
81111
self.ticket_preview.setGeometry(QtCore.QRect(420, 350, 461, 261))
82112
self.ticket_preview.setText("")
83-
self.ticket_preview.setPixmap(QtGui.QPixmap(".\\../Theater/Ticket_Generator/input/ticketImage.png"))
113+
self.ticket_preview.setPixmap(QtGui.QPixmap("../Theater/Ticket_Generator/input/ticketImage.png"))
84114
self.ticket_preview.setScaledContents(True)
85115
self.ticket_preview.setObjectName("ticket_preview")
86116
self.l_status = QtWidgets.QLabel(self.centralwidget)
@@ -151,7 +181,7 @@ def setupUi(self, MainWindow):
151181
self.pb_new_outline.setObjectName("pb_new_outline")
152182
MainWindow.setCentralWidget(self.centralwidget)
153183
self.menubar = QtWidgets.QMenuBar(MainWindow)
154-
self.menubar.setGeometry(QtCore.QRect(0, 0, 1081, 21))
184+
self.menubar.setGeometry(QtCore.QRect(0, 0, 1100, 21))
155185
self.menubar.setObjectName("menubar")
156186
MainWindow.setMenuBar(self.menubar)
157187
self.statusbar = QtWidgets.QStatusBar(MainWindow)
@@ -172,16 +202,41 @@ def retranslateUi(self, MainWindow):
172202
_translate = QtCore.QCoreApplication.translate
173203
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
174204
self.pb_input.setText(_translate("MainWindow", "Input"))
205+
self.te_input.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
206+
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
207+
"p, li { white-space: pre-wrap; }\n"
208+
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
209+
"<p align=\"right\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>"))
210+
self.tb_anzahl.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
211+
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
212+
"p, li { white-space: pre-wrap; }\n"
213+
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
214+
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt;\"><br /></p></body></html>"))
175215
self.l_anzahl.setText(_translate("MainWindow", "Anzahl Tickets:"))
216+
self.te_leer.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
217+
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
218+
"p, li { white-space: pre-wrap; }\n"
219+
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
220+
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt;\"><br /></p></body></html>"))
176221
self.l_leer.setText(_translate("MainWindow", "Leere Plätze:"))
177222
self.l_bus.setText(_translate("MainWindow", "Bus Plätze:"))
178223
self.te_bus.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
179224
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
180225
"p, li { white-space: pre-wrap; }\n"
181226
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
182-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">0</span></p></body></html>"))
227+
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">0</span></p></body></html>"))
183228
self.pb_start.setText(_translate("MainWindow", "Start"))
229+
self.te_output.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
230+
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
231+
"p, li { white-space: pre-wrap; }\n"
232+
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
233+
"<p align=\"justify\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>"))
184234
self.pb_outline.setText(_translate("MainWindow", "Outline"))
235+
self.te_template.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
236+
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
237+
"p, li { white-space: pre-wrap; }\n"
238+
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
239+
"<p align=\"right\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>"))
185240
self.pb_template.setText(_translate("MainWindow", "Template"))
186241
self.l_status.setText(_translate("MainWindow", "-status-"))
187242
__sortingEnabled = self.list_toEdit.isSortingEnabled()
@@ -213,7 +268,7 @@ def retranslateUi(self, MainWindow):
213268
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
214269
"p, li { white-space: pre-wrap; }\n"
215270
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
216-
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">5</p></body></html>"))
271+
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">5</p></body></html>"))
217272
self.pb_new_outline.setText(_translate("MainWindow", "New"))
218273

219274

0 commit comments

Comments
 (0)