da ich ein ähnliches Problem habe, wollte ich kein neues Thema dafür öffnen.
Ich hoffe das ist in Ordnung.
Ich habe ebenfalls mit QT ein Ui erstellt und wollte nun mit PyCharm in Python weiterarbeiten. Leider bekomme ich einige Fehlermeldungen, obwohl ich meiner Meinung nach Pyside6 und Qt installier habe.
Ich hoffe ihr könnt mir helfen. Da ich leider mit meinem Wissen am Ende bin.
Danke.
Das sind die Fehler, die mir ausgeben werden. Ich bin noch neu im Python Bereich.
Code: Alles auswählen
# Form implementation generated from reading ui file 'interface.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setEnabled(False)
MainWindow.resize(800, 470)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setAutoFillBackground(False)
MainWindow.setStyleSheet("*{\n"
" border: none;\n"
" background-color: transparent;\n"
" background: transparent;\n"
" padding: 0;\n"
" margin: 0;\n"
" color: #fff;\n"
" }\n"
"#centralwidget{\n"
" background-color: #1f232a;\n"
"}\n"
"#leftMenuSub Container{\n"
" background-color: #16191d;\n"
"} \n"
"#leftMenuSub Container QPushButton{\n"
" text-align: left; \n"
" padding: 5px 10px;\n"
" border-top-left-radius: 10px;\n"
" border-bottom-left-radius: 10px;\n"
"}\n"
"#centerSubMenuContainer, #rightMenuSubContainer{\n"
" background-color: #2c313c;\n"
"}\n"
"#frame_4, #frame_5, #popupSubContainer{\n"
" background-color: #16191d;\n"
" border-radius: 10px;\n"
"}\n"
"#headerContainer, #footerContainer{\n"
" background-color: #2c313c;\n"
"}")
self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
self.centralwidget.setSizePolicy(sizePolicy)
self.centralwidget.setAutoFillBackground(False)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.leftMenuContainer = QtWidgets.QWidget(parent=self.centralwidget)
self.leftMenuContainer.setAutoFillBackground(False)
self.leftMenuContainer.setObjectName("leftMenuContainer")
self.verticalLayout = QtWidgets.QVBoxLayout(self.leftMenuContainer)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setSpacing(0)
self.verticalLayout.setObjectName("verticalLayout")
self.leftMenuSubContainer = QtWidgets.QWidget(parent=self.leftMenuContainer)
self.leftMenuSubContainer.setAutoFillBackground(True)
self.leftMenuSubContainer.setObjectName("leftMenuSubContainer")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.leftMenuSubContainer)
self.verticalLayout_2.setContentsMargins(5, 5, 5, 5)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.frame = QtWidgets.QFrame(parent=self.leftMenuSubContainer)
self.frame.setAutoFillBackground(False)
self.frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame.setObjectName("frame")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setSpacing(0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.menuButton = QtWidgets.QPushButton(parent=self.frame)
self.menuButton.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/align-justify.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.menuButton.setIcon(icon)
self.menuButton.setIconSize(QtCore.QSize(24, 24))
self.menuButton.setObjectName("menuButton")
self.horizontalLayout_2.addWidget(self.menuButton)
self.verticalLayout_2.addWidget(self.frame, 0, QtCore.Qt.AlignmentFlag.AlignTop)
self.frame_2 = QtWidgets.QFrame(parent=self.leftMenuSubContainer)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
self.frame_2.setSizePolicy(sizePolicy)
self.frame_2.setAutoFillBackground(False)
self.frame_2.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_2.setObjectName("frame_2")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame_2)
self.verticalLayout_3.setContentsMargins(0, 10, 0, 10)
self.verticalLayout_3.setSpacing(0)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.homeButton = QtWidgets.QPushButton(parent=self.frame_2)
self.homeButton.setStyleSheet(" background-colors: #1f232a;")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/home.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.homeButton.setIcon(icon1)
self.homeButton.setIconSize(QtCore.QSize(24, 24))
self.homeButton.setObjectName("homeButton")
self.verticalLayout_3.addWidget(self.homeButton)
self.dataButton = QtWidgets.QPushButton(parent=self.frame_2)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/list.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.dataButton.setIcon(icon2)
self.dataButton.setIconSize(QtCore.QSize(24, 24))
self.dataButton.setObjectName("dataButton")
self.verticalLayout_3.addWidget(self.dataButton)
self.reportsButton = QtWidgets.QPushButton(parent=self.frame_2)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/printer.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.reportsButton.setIcon(icon3)
self.reportsButton.setIconSize(QtCore.QSize(24, 24))
self.reportsButton.setObjectName("reportsButton")
self.verticalLayout_3.addWidget(self.reportsButton)
self.verticalLayout_2.addWidget(self.frame_2, 0, QtCore.Qt.AlignmentFlag.AlignTop)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.verticalLayout_2.addItem(spacerItem)
self.frame_3 = QtWidgets.QFrame(parent=self.leftMenuSubContainer)
self.frame_3.setAutoFillBackground(False)
self.frame_3.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_3.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_3.setObjectName("frame_3")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_3)
self.verticalLayout_4.setContentsMargins(0, 10, 0, 10)
self.verticalLayout_4.setSpacing(0)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.einstellungenButton = QtWidgets.QPushButton(parent=self.frame_3)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/settings.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.einstellungenButton.setIcon(icon4)
self.einstellungenButton.setIconSize(QtCore.QSize(24, 24))
self.einstellungenButton.setObjectName("einstellungenButton")
self.verticalLayout_4.addWidget(self.einstellungenButton)
self.infoButton = QtWidgets.QPushButton(parent=self.frame_3)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/info.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.infoButton.setIcon(icon5)
self.infoButton.setIconSize(QtCore.QSize(24, 24))
self.infoButton.setObjectName("infoButton")
self.verticalLayout_4.addWidget(self.infoButton)
self.hilfeButton = QtWidgets.QPushButton(parent=self.frame_3)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/help-circle.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.hilfeButton.setIcon(icon6)
self.hilfeButton.setIconSize(QtCore.QSize(24, 24))
self.hilfeButton.setObjectName("hilfeButton")
self.verticalLayout_4.addWidget(self.hilfeButton)
self.verticalLayout_2.addWidget(self.frame_3, 0, QtCore.Qt.AlignmentFlag.AlignBottom)
self.verticalLayout.addWidget(self.leftMenuSubContainer, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
self.horizontalLayout.addWidget(self.leftMenuContainer, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
self.centerMenuContainer = QtWidgets.QWidget(parent=self.centralwidget)
self.centerMenuContainer.setEnabled(False)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.centerMenuContainer.sizePolicy().hasHeightForWidth())
self.centerMenuContainer.setSizePolicy(sizePolicy)
self.centerMenuContainer.setAutoFillBackground(False)
self.centerMenuContainer.setObjectName("centerMenuContainer")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.centerMenuContainer)
self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_5.setSpacing(0)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.centerSubMenuContainer = QtWidgets.QWidget(parent=self.centerMenuContainer)
self.centerSubMenuContainer.setMinimumSize(QtCore.QSize(200, 0))
font = QtGui.QFont()
font.setPointSize(13)
self.centerSubMenuContainer.setFont(font)
self.centerSubMenuContainer.setObjectName("centerSubMenuContainer")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.centerSubMenuContainer)
self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_6.setSpacing(0)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.frame_4 = QtWidgets.QFrame(parent=self.centerSubMenuContainer)
self.frame_4.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_4.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_4.setObjectName("frame_4")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.frame_4)
self.horizontalLayout_3.setContentsMargins(12, 12, -1, -1)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.label = QtWidgets.QLabel(parent=self.frame_4)
self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label.setObjectName("label")
self.horizontalLayout_3.addWidget(self.label, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
self.pushButton = QtWidgets.QPushButton(parent=self.frame_4)
self.pushButton.setText("")
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/x-circle.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton.setIcon(icon7)
self.pushButton.setIconSize(QtCore.QSize(24, 24))
self.pushButton.setObjectName("pushButton")
self.horizontalLayout_3.addWidget(self.pushButton, 0, QtCore.Qt.AlignmentFlag.AlignRight)
self.verticalLayout_6.addWidget(self.frame_4, 0, QtCore.Qt.AlignmentFlag.AlignTop)
self.stackedWidget = QtWidgets.QStackedWidget(parent=self.centerSubMenuContainer)
self.stackedWidget.setMinimumSize(QtCore.QSize(0, 0))
self.stackedWidget.setObjectName("stackedWidget")
self.page_5 = QtWidgets.QWidget()
self.page_5.setObjectName("page_5")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.page_5)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.label_2 = QtWidgets.QLabel(parent=self.page_5)
self.label_2.setAutoFillBackground(False)
self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_2.setObjectName("label_2")
self.verticalLayout_7.addWidget(self.label_2)
self.stackedWidget.addWidget(self.page_5)
self.page_6 = QtWidgets.QWidget()
self.page_6.setObjectName("page_6")
self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.page_6)
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.label_3 = QtWidgets.QLabel(parent=self.page_6)
self.label_3.setAutoFillBackground(False)
self.label_3.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_3.setObjectName("label_3")
self.verticalLayout_8.addWidget(self.label_3)
self.stackedWidget.addWidget(self.page_6)
self.page_7 = QtWidgets.QWidget()
self.page_7.setObjectName("page_7")
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.page_7)
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.label_4 = QtWidgets.QLabel(parent=self.page_7)
self.label_4.setAutoFillBackground(False)
self.label_4.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_4.setObjectName("label_4")
self.verticalLayout_9.addWidget(self.label_4)
self.stackedWidget.addWidget(self.page_7)
self.verticalLayout_6.addWidget(self.stackedWidget)
self.verticalLayout_5.addWidget(self.centerSubMenuContainer, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
self.horizontalLayout.addWidget(self.centerMenuContainer, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
self.mainBodyContainer = QtWidgets.QWidget(parent=self.centralwidget)
self.mainBodyContainer.setEnabled(False)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mainBodyContainer.sizePolicy().hasHeightForWidth())
self.mainBodyContainer.setSizePolicy(sizePolicy)
self.mainBodyContainer.setStyleSheet("")
self.mainBodyContainer.setObjectName("mainBodyContainer")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.mainBodyContainer)
self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_10.setSpacing(0)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.headerContainer = QtWidgets.QWidget(parent=self.mainBodyContainer)
self.headerContainer.setObjectName("headerContainer")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.headerContainer)
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_5.setSpacing(0)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.widget = QtWidgets.QWidget(parent=self.headerContainer)
self.widget.setObjectName("widget")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.widget)
self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_7.setSpacing(0)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label_6 = QtWidgets.QLabel(parent=self.widget)
font = QtGui.QFont()
font.setPointSize(13)
font.setBold(True)
self.label_6.setFont(font)
self.label_6.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_6.setObjectName("label_6")
self.horizontalLayout_7.addWidget(self.label_6)
self.label_5 = QtWidgets.QLabel(parent=self.widget)
self.label_5.setMaximumSize(QtCore.QSize(40, 40))
self.label_5.setText("")
self.label_5.setPixmap(QtGui.QPixmap(":/image/logo_coffee.png"))
self.label_5.setScaledContents(True)
self.label_5.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_5.setObjectName("label_5")
self.horizontalLayout_7.addWidget(self.label_5)
self.horizontalLayout_5.addWidget(self.widget)
self.frame_6 = QtWidgets.QFrame(parent=self.headerContainer)
self.frame_6.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_6.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_6.setObjectName("frame_6")
self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.frame_6)
self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_6.setSpacing(0)
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.pushButton_6 = QtWidgets.QPushButton(parent=self.frame_6)
self.pushButton_6.setText("")
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/more-horizontal.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_6.setIcon(icon8)
self.pushButton_6.setIconSize(QtCore.QSize(24, 24))
self.pushButton_6.setObjectName("pushButton_6")
self.horizontalLayout_6.addWidget(self.pushButton_6)
self.pushButton_5 = QtWidgets.QPushButton(parent=self.frame_6)
self.pushButton_5.setText("")
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_5.setIcon(icon9)
self.pushButton_5.setIconSize(QtCore.QSize(24, 24))
self.pushButton_5.setObjectName("pushButton_5")
self.horizontalLayout_6.addWidget(self.pushButton_5)
self.horizontalLayout_5.addWidget(self.frame_6, 0, QtCore.Qt.AlignmentFlag.AlignHCenter)
self.frame_7 = QtWidgets.QFrame(parent=self.headerContainer)
self.frame_7.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_7.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_7.setObjectName("frame_7")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.frame_7)
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_4.setSpacing(0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.pushButton_4 = QtWidgets.QPushButton(parent=self.frame_7)
self.pushButton_4.setText("")
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/minus.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_4.setIcon(icon10)
self.pushButton_4.setObjectName("pushButton_4")
self.horizontalLayout_4.addWidget(self.pushButton_4)
self.pushButton_3 = QtWidgets.QPushButton(parent=self.frame_7)
self.pushButton_3.setText("")
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/icons_ws/icons_ws/square.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.pushButton_3.setIcon(icon11)
self.pushButton_3.setObjectName("pushButton_3")
self.horizontalLayout_4.addWidget(self.pushButton_3)
self.pushButton_2 = QtWidgets.QPushButton(parent=self.frame_7)
self.pushButton_2.setText("")
self.pushButton_2.setIcon(icon7)
self.pushButton_2.setObjectName("pushButton_2")
self.horizontalLayout_4.addWidget(self.pushButton_2)
self.horizontalLayout_5.addWidget(self.frame_7, 0, QtCore.Qt.AlignmentFlag.AlignRight)
self.verticalLayout_10.addWidget(self.headerContainer, 0, QtCore.Qt.AlignmentFlag.AlignTop)
self.mainBodyContant = QtWidgets.QWidget(parent=self.mainBodyContainer)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mainBodyContant.sizePolicy().hasHeightForWidth())
self.mainBodyContant.setSizePolicy(sizePolicy)
self.mainBodyContant.setObjectName("mainBodyContant")
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.mainBodyContant)
self.horizontalLayout_8.setContentsMargins(5, 5, 5, 5)
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.mainContentContainer = QtWidgets.QWidget(parent=self.mainBodyContant)
self.mainContentContainer.setAutoFillBackground(False)
self.mainContentContainer.setObjectName("mainContentContainer")
self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.mainContentContainer)
self.verticalLayout_15.setObjectName("verticalLayout_15")
self.stackedWidget_3 = QtWidgets.QStackedWidget(parent=self.mainContentContainer)
self.stackedWidget_3.setObjectName("stackedWidget_3")
self.page_12 = QtWidgets.QWidget()
self.page_12.setObjectName("page_12")
self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.page_12)
self.verticalLayout_16.setObjectName("verticalLayout_16")
self.label_10 = QtWidgets.QLabel(parent=self.page_12)
self.label_10.setAutoFillBackground(False)
self.label_10.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_10.setObjectName("label_10")
self.verticalLayout_16.addWidget(self.label_10)
self.stackedWidget_3.addWidget(self.page_12)
self.page_13 = QtWidgets.QWidget()
self.page_13.setObjectName("page_13")
self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.page_13)
self.verticalLayout_17.setObjectName("verticalLayout_17")
self.label_11 = QtWidgets.QLabel(parent=self.page_13)
self.label_11.setAutoFillBackground(False)
self.label_11.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_11.setObjectName("label_11")
self.verticalLayout_17.addWidget(self.label_11)
self.stackedWidget_3.addWidget(self.page_13)
self.page_14 = QtWidgets.QWidget()
self.page_14.setObjectName("page_14")
self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.page_14)
self.verticalLayout_18.setObjectName("verticalLayout_18")
self.label_12 = QtWidgets.QLabel(parent=self.page_14)
self.label_12.setAutoFillBackground(False)
self.label_12.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_12.setObjectName("label_12")
self.verticalLayout_18.addWidget(self.label_12)
self.stackedWidget_3.addWidget(self.page_14)
self.verticalLayout_15.addWidget(self.stackedWidget_3)
self.horizontalLayout_8.addWidget(self.mainContentContainer)
self.rightMenuContainer = QtWidgets.QWidget(parent=self.mainBodyContant)
self.rightMenuContainer.setMinimumSize(QtCore.QSize(200, 0))
self.rightMenuContainer.setObjectName("rightMenuContainer")
self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.rightMenuContainer)
self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_11.setSpacing(0)
self.verticalLayout_11.setObjectName("verticalLayout_11")
self.rightMenuSubContainer = QtWidgets.QWidget(parent=self.rightMenuContainer)
self.rightMenuSubContainer.setMinimumSize(QtCore.QSize(200, 0))
self.rightMenuSubContainer.setAutoFillBackground(False)
self.rightMenuSubContainer.setObjectName("rightMenuSubContainer")
self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.rightMenuSubContainer)
self.verticalLayout_12.setContentsMargins(5, 5, 5, 5)
self.verticalLayout_12.setSpacing(0)
self.verticalLayout_12.setObjectName("verticalLayout_12")
self.frame_5 = QtWidgets.QFrame(parent=self.rightMenuSubContainer)
self.frame_5.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_5.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_5.setObjectName("frame_5")
self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.frame_5)
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.label_7 = QtWidgets.QLabel(parent=self.frame_5)
self.label_7.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_7.setObjectName("label_7")
self.horizontalLayout_9.addWidget(self.label_7)
self.pushButton_7 = QtWidgets.QPushButton(parent=self.frame_5)
self.pushButton_7.setText("")
self.pushButton_7.setIcon(icon7)
self.pushButton_7.setIconSize(QtCore.QSize(24, 24))
self.pushButton_7.setObjectName("pushButton_7")
self.horizontalLayout_9.addWidget(self.pushButton_7, 0, QtCore.Qt.AlignmentFlag.AlignRight)
self.verticalLayout_12.addWidget(self.frame_5)
self.stackedWidget_2 = QtWidgets.QStackedWidget(parent=self.rightMenuSubContainer)
self.stackedWidget_2.setAutoFillBackground(False)
self.stackedWidget_2.setObjectName("stackedWidget_2")
self.page_10 = QtWidgets.QWidget()
self.page_10.setObjectName("page_10")
self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.page_10)
self.verticalLayout_13.setObjectName("verticalLayout_13")
self.label_8 = QtWidgets.QLabel(parent=self.page_10)
self.label_8.setAutoFillBackground(False)
self.label_8.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_8.setObjectName("label_8")
self.verticalLayout_13.addWidget(self.label_8)
self.stackedWidget_2.addWidget(self.page_10)
self.page_11 = QtWidgets.QWidget()
self.page_11.setObjectName("page_11")
self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.page_11)
self.verticalLayout_14.setObjectName("verticalLayout_14")
self.label_9 = QtWidgets.QLabel(parent=self.page_11)
self.label_9.setAutoFillBackground(False)
self.label_9.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_9.setObjectName("label_9")
self.verticalLayout_14.addWidget(self.label_9)
self.stackedWidget_2.addWidget(self.page_11)
self.verticalLayout_12.addWidget(self.stackedWidget_2)
self.verticalLayout_11.addWidget(self.rightMenuSubContainer)
self.horizontalLayout_8.addWidget(self.rightMenuContainer, 0, QtCore.Qt.AlignmentFlag.AlignRight)
self.verticalLayout_10.addWidget(self.mainBodyContant)
self.popupContainer = QtWidgets.QWidget(parent=self.mainBodyContainer)
self.popupContainer.setObjectName("popupContainer")
self.verticalLayout_19 = QtWidgets.QVBoxLayout(self.popupContainer)
self.verticalLayout_19.setObjectName("verticalLayout_19")
self.popupSubContainer = QtWidgets.QWidget(parent=self.popupContainer)
self.popupSubContainer.setObjectName("popupSubContainer")
self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.popupSubContainer)
self.verticalLayout_20.setContentsMargins(5, 5, 5, 5)
self.verticalLayout_20.setSpacing(0)
self.verticalLayout_20.setObjectName("verticalLayout_20")
self.label_14 = QtWidgets.QLabel(parent=self.popupSubContainer)
self.label_14.setObjectName("label_14")
self.verticalLayout_20.addWidget(self.label_14)
self.frame_8 = QtWidgets.QFrame(parent=self.popupSubContainer)
self.frame_8.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_8.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_8.setObjectName("frame_8")
self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.frame_8)
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.label_13 = QtWidgets.QLabel(parent=self.frame_8)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
self.label_13.setSizePolicy(sizePolicy)
self.label_13.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.label_13.setObjectName("label_13")
self.horizontalLayout_10.addWidget(self.label_13)
self.pushButton_8 = QtWidgets.QPushButton(parent=self.frame_8)
self.pushButton_8.setText("")
self.pushButton_8.setIcon(icon7)
self.pushButton_8.setIconSize(QtCore.QSize(24, 24))
self.pushButton_8.setObjectName("pushButton_8")
self.horizontalLayout_10.addWidget(self.pushButton_8, 0, QtCore.Qt.AlignmentFlag.AlignRight)
self.verticalLayout_20.addWidget(self.frame_8)
self.verticalLayout_19.addWidget(self.popupSubContainer)
self.verticalLayout_10.addWidget(self.popupContainer)
self.footerContainer = QtWidgets.QWidget(parent=self.mainBodyContainer)
self.footerContainer.setObjectName("footerContainer")
self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.footerContainer)
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
self.frame_9 = QtWidgets.QFrame(parent=self.footerContainer)
self.frame_9.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_9.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_9.setObjectName("frame_9")
self.horizontalLayout_12 = QtWidgets.QHBoxLayout(self.frame_9)
self.horizontalLayout_12.setContentsMargins(5, 5, 5, 5)
self.horizontalLayout_12.setSpacing(0)
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
self.label_15 = QtWidgets.QLabel(parent=self.frame_9)
self.label_15.setObjectName("label_15")
self.horizontalLayout_12.addWidget(self.label_15)
self.horizontalLayout_11.addWidget(self.frame_9)
self.sizeGrip = QtWidgets.QFrame(parent=self.footerContainer)
self.sizeGrip.setMinimumSize(QtCore.QSize(10, 10))
self.sizeGrip.setMaximumSize(QtCore.QSize(10, 10))
self.sizeGrip.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.sizeGrip.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.sizeGrip.setObjectName("sizeGrip")
self.horizontalLayout_11.addWidget(self.sizeGrip)
self.verticalLayout_10.addWidget(self.footerContainer)
self.horizontalLayout.addWidget(self.mainBodyContainer)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.menuButton.setToolTip(_translate("MainWindow", "Menu"))
self.homeButton.setToolTip(_translate("MainWindow", "Home"))
self.homeButton.setText(_translate("MainWindow", "Home"))
self.dataButton.setToolTip(_translate("MainWindow", "Data"))
self.dataButton.setText(_translate("MainWindow", "Data"))
self.reportsButton.setToolTip(_translate("MainWindow", "Reports"))
self.reportsButton.setText(_translate("MainWindow", "Reports"))
self.einstellungenButton.setToolTip(_translate("MainWindow", "Zu den Einstellungen"))
self.einstellungenButton.setText(_translate("MainWindow", "Einstellungen"))
self.infoButton.setToolTip(_translate("MainWindow", "Informationen"))
self.infoButton.setText(_translate("MainWindow", "Informationen"))
self.hilfeButton.setToolTip(_translate("MainWindow", "Hilfe"))
self.hilfeButton.setText(_translate("MainWindow", "Hilfe"))
self.label.setText(_translate("MainWindow", "More Menu"))
self.pushButton.setToolTip(_translate("MainWindow", "Close Menu"))
self.label_2.setText(_translate("MainWindow", "Einstellungen"))
self.label_3.setText(_translate("MainWindow", "Information"))
self.label_4.setText(_translate("MainWindow", "Hilfe"))
self.label_6.setText(_translate("MainWindow", "Julietto"))
self.pushButton_6.setToolTip(_translate("MainWindow", "More"))
self.pushButton_5.setToolTip(_translate("MainWindow", "Profil"))
self.pushButton_4.setToolTip(_translate("MainWindow", "Minimieren"))
self.pushButton_3.setToolTip(_translate("MainWindow", "Restore Window"))
self.pushButton_2.setToolTip(_translate("MainWindow", "Close Window"))
self.label_10.setText(_translate("MainWindow", "Home"))
self.label_11.setText(_translate("MainWindow", "Data"))
self.label_12.setText(_translate("MainWindow", "Reports"))
self.label_7.setText(_translate("MainWindow", "Right Menu"))
self.pushButton_7.setToolTip(_translate("MainWindow", "Close Menu"))
self.label_8.setText(_translate("MainWindow", "Profil"))
self.label_9.setText(_translate("MainWindow", "More"))
self.label_14.setText(_translate("MainWindow", "Notification"))
self.label_13.setText(_translate("MainWindow", "Notification Message"))
self.pushButton_8.setToolTip(_translate("MainWindow", "Close Message"))
self.label_15.setText(_translate("MainWindow", "Copyright Bätz 2024"))