from gettext import gettext as _
# Form implementation generated from reading ui file './zapzap/view/ui/notifications_page.ui'
#
# Created by: PyQt6 UI code generator 6.7.0
#
# 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_Notifications(object):
    def setupUi(self, Notifications):
        Notifications.setObjectName("Notifications")
        Notifications.resize(421, 459)
        Notifications.setWindowTitle("")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(Notifications)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(parent=Notifications)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.notifications_scrollArea = QtWidgets.QWidget()
        self.notifications_scrollArea.setGeometry(QtCore.QRect(0, 0, 421, 459))
        self.notifications_scrollArea.setMinimumSize(QtCore.QSize(250, 0))
        self.notifications_scrollArea.setObjectName("notifications_scrollArea")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.notifications_scrollArea)
        self.verticalLayout.setContentsMargins(9, -1, 9, 9)
        self.verticalLayout.setSpacing(15)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(parent=self.notifications_scrollArea)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_2 = QtWidgets.QLabel(parent=self.notifications_scrollArea)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.notify_desktop = QtWidgets.QCheckBox(parent=self.notifications_scrollArea)
        self.notify_desktop.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.notify_desktop.setChecked(True)
        self.notify_desktop.setObjectName("notify_desktop")
        self.horizontalLayout.addWidget(self.notify_desktop)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.line = QtWidgets.QFrame(parent=self.notifications_scrollArea)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.frameNotifications = QtWidgets.QFormLayout()
        self.frameNotifications.setObjectName("frameNotifications")
        self.label_3 = QtWidgets.QLabel(parent=self.notifications_scrollArea)
        self.label_3.setObjectName("label_3")
        self.frameNotifications.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_3)
        self.label_4 = QtWidgets.QLabel(parent=self.notifications_scrollArea)
        self.label_4.setObjectName("label_4")
        self.frameNotifications.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_4)
        self.label_5 = QtWidgets.QLabel(parent=self.notifications_scrollArea)
        self.label_5.setObjectName("label_5")
        self.frameNotifications.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_5)
        self.label_show_sound = QtWidgets.QLabel(parent=self.notifications_scrollArea)
        self.label_show_sound.setObjectName("label_show_sound")
        self.frameNotifications.setWidget(3, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_show_sound)
        self.show_photo = QtWidgets.QCheckBox(parent=self.notifications_scrollArea)
        self.show_photo.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.show_photo.setChecked(True)
        self.show_photo.setObjectName("show_photo")
        self.frameNotifications.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.show_photo)
        self.show_name = QtWidgets.QCheckBox(parent=self.notifications_scrollArea)
        self.show_name.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.show_name.setChecked(True)
        self.show_name.setObjectName("show_name")
        self.frameNotifications.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.show_name)
        self.show_msg = QtWidgets.QCheckBox(parent=self.notifications_scrollArea)
        self.show_msg.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.show_msg.setChecked(True)
        self.show_msg.setObjectName("show_msg")
        self.frameNotifications.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.show_msg)
        self.show_sound = QtWidgets.QCheckBox(parent=self.notifications_scrollArea)
        self.show_sound.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.show_sound.setChecked(True)
        self.show_sound.setObjectName("show_sound")
        self.frameNotifications.setWidget(3, QtWidgets.QFormLayout.ItemRole.FieldRole, self.show_sound)
        self.verticalLayout.addLayout(self.frameNotifications)
        spacerItem = QtWidgets.QSpacerItem(20, 199, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.scrollArea.setWidget(self.notifications_scrollArea)
        self.horizontalLayout_2.addWidget(self.scrollArea)

        self.retranslateUi(Notifications)
        QtCore.QMetaObject.connectSlotsByName(Notifications)

    def retranslateUi(self, Notifications):
        
        self.label.setText(_("Notifications"))
        self.label_2.setText(_("Notifications on the desktop"))
        self.notify_desktop.setText(_("On"))
        self.label_3.setText(_("Show the photo of the sender"))
        self.label_4.setText(_("Show the sender\'s name"))
        self.label_5.setText(_("Show message preview"))
        self.label_show_sound.setText(_("Reproduce sounds when receiving messages"))
        self.show_photo.setText(_("On"))
        self.show_name.setText(_("On"))
        self.show_msg.setText(_("On"))
        self.show_sound.setText(_("On"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Notifications = QtWidgets.QWidget()
    ui = Ui_Notifications()
    ui.setupUi(Notifications)
    Notifications.show()
    sys.exit(app.exec())
