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#
1414class 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