
################################################################################
## Form generated from reading UI file 'details.ui'
##
## Created by: Qt User Interface Compiler version 6.10.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import QCoreApplication, QRect, QSize, Qt
from PySide6.QtGui import QFont
from PySide6.QtWidgets import (
    QFormLayout,
    QFrame,
    QGridLayout,
    QGroupBox,
    QHBoxLayout,
    QLabel,
    QProgressBar,
    QPushButton,
    QSizePolicy,
    QSpacerItem,
    QStackedWidget,
    QTextBrowser,
    QToolBox,
    QVBoxLayout,
    QWidget,
)


class Ui_GameDetails:
    def setupUi(self, GameDetails):
        if not GameDetails.objectName():
            GameDetails.setObjectName("GameDetails")
        GameDetails.resize(870, 601)
        GameDetails.setWindowTitle("GameDetails")
        self.main_layout = QHBoxLayout(GameDetails)
        self.main_layout.setObjectName("main_layout")
        self.left_layout = QVBoxLayout()
        self.left_layout.setObjectName("left_layout")
        self.tags_group = QGroupBox(GameDetails)
        self.tags_group.setObjectName("tags_group")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tags_group.sizePolicy().hasHeightForWidth())
        self.tags_group.setSizePolicy(sizePolicy)
        self.tags_group_layout = QVBoxLayout(self.tags_group)
        self.tags_group_layout.setObjectName("tags_group_layout")
        self.add_tag_button = QPushButton(self.tags_group)
        self.add_tag_button.setObjectName("add_tag_button")
        sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.add_tag_button.sizePolicy().hasHeightForWidth())
        self.add_tag_button.setSizePolicy(sizePolicy1)

        self.tags_group_layout.addWidget(self.add_tag_button, 0, Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTop)

        self.tags_vlayout = QVBoxLayout()
        self.tags_vlayout.setObjectName("tags_vlayout")

        self.tags_group_layout.addLayout(self.tags_vlayout)


        self.left_layout.addWidget(self.tags_group)


        self.main_layout.addLayout(self.left_layout)

        self.right_layout = QGridLayout()
        self.right_layout.setSpacing(24)
        self.right_layout.setObjectName("right_layout")
        self.description_field = QTextBrowser(GameDetails)
        self.description_field.setObjectName("description_field")
        self.description_field.setMinimumSize(QSize(450, 0))
        self.description_field.setOpenExternalLinks(True)

        self.right_layout.addWidget(self.description_field, 1, 0, 1, 1)

        self.requirements_group = QFrame(GameDetails)
        self.requirements_group.setObjectName("requirements_group")
        self.requirements_group.setFrameShape(QFrame.Shape.StyledPanel)
        self.requirements_group.setFrameShadow(QFrame.Shadow.Sunken)
        self.requirements_layout = QHBoxLayout(self.requirements_group)
        self.requirements_layout.setObjectName("requirements_layout")

        self.right_layout.addWidget(self.requirements_group, 2, 0, 2, 2)

        self.achievements_group = QWidget(GameDetails)
        self.achievements_group.setObjectName("achievements_group")
        self.achievements_layout = QVBoxLayout(self.achievements_group)
        self.achievements_layout.setObjectName("achievements_layout")
        self.achievements_layout.setContentsMargins(0, 0, 0, 0)
        self.achievement_stats_layout = QHBoxLayout()
        self.achievement_stats_layout.setObjectName("achievement_stats_layout")
        self.achievement_stats_layout.setContentsMargins(0, -1, 0, -1)
        self.progress_label = QLabel(self.achievements_group)
        self.progress_label.setObjectName("progress_label")
        font = QFont()
        font.setBold(True)
        self.progress_label.setFont(font)

        self.achievement_stats_layout.addWidget(self.progress_label)

        self.progress_field = QLabel(self.achievements_group)
        self.progress_field.setObjectName("progress_field")

        self.achievement_stats_layout.addWidget(self.progress_field)

        self.exp_label = QLabel(self.achievements_group)
        self.exp_label.setObjectName("exp_label")
        self.exp_label.setFont(font)

        self.achievement_stats_layout.addWidget(self.exp_label)

        self.exp_field = QLabel(self.achievements_group)
        self.exp_field.setObjectName("exp_field")

        self.achievement_stats_layout.addWidget(self.exp_field)

        self.achievement_stats_layout.setStretch(1, 1)
        self.achievement_stats_layout.setStretch(3, 1)

        self.achievements_layout.addLayout(self.achievement_stats_layout)

        self.achievements_toolbox = QToolBox(self.achievements_group)
        self.achievements_toolbox.setObjectName("achievements_toolbox")
        self.ach_progress_page = QWidget()
        self.ach_progress_page.setObjectName("ach_progress_page")
        self.ach_progress_page.setGeometry(QRect(0, 0, 274, 417))
        self.achievements_toolbox.addItem(self.ach_progress_page, "In progress")
        self.ach_completed_page = QWidget()
        self.ach_completed_page.setObjectName("ach_completed_page")
        self.ach_completed_page.setGeometry(QRect(0, 0, 274, 417))
        self.achievements_toolbox.addItem(self.ach_completed_page, "Completed")
        self.ach_uninitiated_page = QWidget()
        self.ach_uninitiated_page.setObjectName("ach_uninitiated_page")
        self.ach_uninitiated_page.setGeometry(QRect(0, 0, 274, 417))
        self.achievements_toolbox.addItem(self.ach_uninitiated_page, "Uninitiated")
        self.ach_hidden_page = QWidget()
        self.ach_hidden_page.setObjectName("ach_hidden_page")
        self.ach_hidden_page.setGeometry(QRect(0, 0, 274, 417))
        self.achievements_toolbox.addItem(self.ach_hidden_page, "Hidden")

        self.achievements_layout.addWidget(self.achievements_toolbox)


        self.right_layout.addWidget(self.achievements_group, 0, 1, 2, 1)

        self.details_widget = QWidget(GameDetails)
        self.details_widget.setObjectName("details_widget")
        sizePolicy.setHeightForWidth(self.details_widget.sizePolicy().hasHeightForWidth())
        self.details_widget.setSizePolicy(sizePolicy)
        self.details_widget.setMinimumSize(QSize(450, 0))
        self.details_layout = QFormLayout(self.details_widget)
        self.details_layout.setObjectName("details_layout")
        self.details_layout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow)
        self.details_layout.setLabelAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
        self.details_layout.setHorizontalSpacing(12)
        self.details_layout.setVerticalSpacing(12)
        self.details_layout.setContentsMargins(12, 0, 0, 0)
        self.dev_label = QLabel(self.details_widget)
        self.dev_label.setObjectName("dev_label")
        sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.dev_label.sizePolicy().hasHeightForWidth())
        self.dev_label.setSizePolicy(sizePolicy2)
        self.dev_label.setFont(font)
        self.dev_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.dev_label)

        self.dev = QLabel(self.details_widget)
        self.dev.setObjectName("dev")
        self.dev.setText("dev_error")
        self.dev.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)

        self.details_layout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.dev)

        self.app_name_label = QLabel(self.details_widget)
        self.app_name_label.setObjectName("app_name_label")
        sizePolicy2.setHeightForWidth(self.app_name_label.sizePolicy().hasHeightForWidth())
        self.app_name_label.setSizePolicy(sizePolicy2)
        self.app_name_label.setFont(font)
        self.app_name_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.app_name_label)

        self.app_name = QLabel(self.details_widget)
        self.app_name.setObjectName("app_name")
        self.app_name.setText("app_name_error")
        self.app_name.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)

        self.details_layout.setWidget(1, QFormLayout.ItemRole.FieldRole, self.app_name)

        self.version_label = QLabel(self.details_widget)
        self.version_label.setObjectName("version_label")
        sizePolicy2.setHeightForWidth(self.version_label.sizePolicy().hasHeightForWidth())
        self.version_label.setSizePolicy(sizePolicy2)
        self.version_label.setFont(font)
        self.version_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.version_label)

        self.grade_label = QLabel(self.details_widget)
        self.grade_label.setObjectName("grade_label")
        sizePolicy2.setHeightForWidth(self.grade_label.sizePolicy().hasHeightForWidth())
        self.grade_label.setSizePolicy(sizePolicy2)
        self.grade_label.setFont(font)
        self.grade_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(3, QFormLayout.ItemRole.LabelRole, self.grade_label)

        self.grade = QLabel(self.details_widget)
        self.grade.setObjectName("grade")
        self.grade.setText("grade_error")
        self.grade.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)

        self.details_layout.setWidget(3, QFormLayout.ItemRole.FieldRole, self.grade)

        self.platform_label = QLabel(self.details_widget)
        self.platform_label.setObjectName("platform_label")
        sizePolicy2.setHeightForWidth(self.platform_label.sizePolicy().hasHeightForWidth())
        self.platform_label.setSizePolicy(sizePolicy2)
        self.platform_label.setFont(font)
        self.platform_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(4, QFormLayout.ItemRole.LabelRole, self.platform_label)

        self.platform = QLabel(self.details_widget)
        self.platform.setObjectName("platform")
        self.platform.setText("platform_error")

        self.details_layout.setWidget(4, QFormLayout.ItemRole.FieldRole, self.platform)

        self.install_path_label = QLabel(self.details_widget)
        self.install_path_label.setObjectName("install_path_label")
        sizePolicy2.setHeightForWidth(self.install_path_label.sizePolicy().hasHeightForWidth())
        self.install_path_label.setSizePolicy(sizePolicy2)
        self.install_path_label.setFont(font)
        self.install_path_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(5, QFormLayout.ItemRole.LabelRole, self.install_path_label)

        self.install_path = QLabel(self.details_widget)
        self.install_path.setObjectName("install_path")
        self.install_path.setText("install_path_error")
        self.install_path.setWordWrap(True)
        self.install_path.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)

        self.details_layout.setWidget(5, QFormLayout.ItemRole.FieldRole, self.install_path)

        self.install_size_label = QLabel(self.details_widget)
        self.install_size_label.setObjectName("install_size_label")
        sizePolicy2.setHeightForWidth(self.install_size_label.sizePolicy().hasHeightForWidth())
        self.install_size_label.setSizePolicy(sizePolicy2)
        self.install_size_label.setFont(font)
        self.install_size_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(6, QFormLayout.ItemRole.LabelRole, self.install_size_label)

        self.install_size = QLabel(self.details_widget)
        self.install_size.setObjectName("install_size")
        self.install_size.setText("install_size_error")
        self.install_size.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)

        self.details_layout.setWidget(6, QFormLayout.ItemRole.FieldRole, self.install_size)

        self.actions_label = QLabel(self.details_widget)
        self.actions_label.setObjectName("actions_label")
        sizePolicy2.setHeightForWidth(self.actions_label.sizePolicy().hasHeightForWidth())
        self.actions_label.setSizePolicy(sizePolicy2)
        self.actions_label.setFont(font)
        self.actions_label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.details_layout.setWidget(7, QFormLayout.ItemRole.LabelRole, self.actions_label)

        self.actions_stack = QStackedWidget(self.details_widget)
        self.actions_stack.setObjectName("actions_stack")
        self.actions_stack.setMinimumSize(QSize(300, 0))
        self.installed_page = QWidget()
        self.installed_page.setObjectName("installed_page")
        self.installed_layout = QVBoxLayout(self.installed_page)
        self.installed_layout.setObjectName("installed_layout")
        self.installed_layout.setContentsMargins(0, 0, 0, 0)
        self.modify_button = QPushButton(self.installed_page)
        self.modify_button.setObjectName("modify_button")

        self.installed_layout.addWidget(self.modify_button)

        self.verify_stack = QStackedWidget(self.installed_page)
        self.verify_stack.setObjectName("verify_stack")
        self.verify_button_page = QWidget()
        self.verify_button_page.setObjectName("verify_button_page")
        self.verify_page_layout = QHBoxLayout(self.verify_button_page)
        self.verify_page_layout.setSpacing(0)
        self.verify_page_layout.setObjectName("verify_page_layout")
        self.verify_page_layout.setContentsMargins(0, 0, 0, 0)
        self.verify_button = QPushButton(self.verify_button_page)
        self.verify_button.setObjectName("verify_button")

        self.verify_page_layout.addWidget(self.verify_button)

        self.verify_stack.addWidget(self.verify_button_page)
        self.verify_progress_page = QWidget()
        self.verify_progress_page.setObjectName("verify_progress_page")
        self.verify_progress_layout = QHBoxLayout(self.verify_progress_page)
        self.verify_progress_layout.setSpacing(0)
        self.verify_progress_layout.setObjectName("verify_progress_layout")
        self.verify_progress_layout.setContentsMargins(0, 0, 0, 0)
        self.verify_progress = QProgressBar(self.verify_progress_page)
        self.verify_progress.setObjectName("verify_progress")
        self.verify_progress.setValue(24)

        self.verify_progress_layout.addWidget(self.verify_progress)

        self.verify_stack.addWidget(self.verify_progress_page)

        self.installed_layout.addWidget(self.verify_stack)

        self.repair_button = QPushButton(self.installed_page)
        self.repair_button.setObjectName("repair_button")

        self.installed_layout.addWidget(self.repair_button)

        self.move_stack = QStackedWidget(self.installed_page)
        self.move_stack.setObjectName("move_stack")
        self.move_button_page = QWidget()
        self.move_button_page.setObjectName("move_button_page")
        self.move_button_layout = QHBoxLayout(self.move_button_page)
        self.move_button_layout.setSpacing(0)
        self.move_button_layout.setObjectName("move_button_layout")
        self.move_button_layout.setContentsMargins(0, 0, 0, 0)
        self.move_button = QPushButton(self.move_button_page)
        self.move_button.setObjectName("move_button")
        sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.move_button.sizePolicy().hasHeightForWidth())
        self.move_button.setSizePolicy(sizePolicy3)

        self.move_button_layout.addWidget(self.move_button)

        self.move_stack.addWidget(self.move_button_page)
        self.move_progress_page = QWidget()
        self.move_progress_page.setObjectName("move_progress_page")
        self.move_progress_layout = QHBoxLayout(self.move_progress_page)
        self.move_progress_layout.setSpacing(0)
        self.move_progress_layout.setObjectName("move_progress_layout")
        self.move_progress_layout.setContentsMargins(0, 0, 0, 0)
        self.move_progress = QProgressBar(self.move_progress_page)
        self.move_progress.setObjectName("move_progress")
        self.move_progress.setValue(24)

        self.move_progress_layout.addWidget(self.move_progress)

        self.move_stack.addWidget(self.move_progress_page)

        self.installed_layout.addWidget(self.move_stack)

        self.uninstall_button = QPushButton(self.installed_page)
        self.uninstall_button.setObjectName("uninstall_button")

        self.installed_layout.addWidget(self.uninstall_button)

        self.actions_stack.addWidget(self.installed_page)
        self.uninstalled_page = QWidget()
        self.uninstalled_page.setObjectName("uninstalled_page")
        self.uninstalled_layout = QVBoxLayout(self.uninstalled_page)
        self.uninstalled_layout.setObjectName("uninstalled_layout")
        self.uninstalled_layout.setContentsMargins(0, 0, 0, 0)
        self.install_button = QPushButton(self.uninstalled_page)
        self.install_button.setObjectName("install_button")

        self.uninstalled_layout.addWidget(self.install_button)

        self.import_button = QPushButton(self.uninstalled_page)
        self.import_button.setObjectName("import_button")

        self.uninstalled_layout.addWidget(self.import_button)

        self.uninstalled_page_bot_vspacer = QSpacerItem(0, 0, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.uninstalled_layout.addItem(self.uninstalled_page_bot_vspacer)

        self.actions_stack.addWidget(self.uninstalled_page)

        self.details_layout.setWidget(7, QFormLayout.ItemRole.FieldRole, self.actions_stack)


        self.right_layout.addWidget(self.details_widget, 0, 0, 1, 1)

        self.right_layout.setRowStretch(1, 1)
        self.right_layout.setColumnStretch(1, 1)

        self.main_layout.addLayout(self.right_layout)

        self.main_layout.setStretch(1, 1)

        self.retranslateUi(GameDetails)

        self.achievements_toolbox.setCurrentIndex(0)
        self.actions_stack.setCurrentIndex(1)
        self.verify_stack.setCurrentIndex(0)
        self.move_stack.setCurrentIndex(0)

    # setupUi

    def retranslateUi(self, GameDetails):
        self.tags_group.setTitle(QCoreApplication.translate("GameDetails", "Tags", None))
#if QT_CONFIG(tooltip)
        self.add_tag_button.setToolTip(QCoreApplication.translate("GameDetails", "Add custom tag", None))
#endif // QT_CONFIG(tooltip)
        self.add_tag_button.setText(QCoreApplication.translate("GameDetails", "Add tag", None))
        self.progress_label.setText(QCoreApplication.translate("GameDetails", "Progress:", None))
        self.progress_field.setText(QCoreApplication.translate("GameDetails", "progress_error", None))
        self.exp_label.setText(QCoreApplication.translate("GameDetails", "Experience:", None))
        self.exp_field.setText(QCoreApplication.translate("GameDetails", "xp_error", None))
        self.achievements_toolbox.setItemText(self.achievements_toolbox.indexOf(self.ach_progress_page), QCoreApplication.translate("GameDetails", "In progress", None))
        self.achievements_toolbox.setItemText(self.achievements_toolbox.indexOf(self.ach_completed_page), QCoreApplication.translate("GameDetails", "Completed", None))
        self.achievements_toolbox.setItemText(self.achievements_toolbox.indexOf(self.ach_uninitiated_page), QCoreApplication.translate("GameDetails", "Uninitiated", None))
        self.achievements_toolbox.setItemText(self.achievements_toolbox.indexOf(self.ach_hidden_page), QCoreApplication.translate("GameDetails", "Hidden", None))
        self.dev_label.setText(QCoreApplication.translate("GameDetails", "Developer", None))
        self.app_name_label.setText(QCoreApplication.translate("GameDetails", "Application name", None))
        self.version_label.setText(QCoreApplication.translate("GameDetails", "Version", None))
        self.grade_label.setText(QCoreApplication.translate("GameDetails", "ProtonDB grade", None))
        self.platform_label.setText(QCoreApplication.translate("GameDetails", "Platform", None))
        self.install_path_label.setText(QCoreApplication.translate("GameDetails", "Installation path", None))
        self.install_size_label.setText(QCoreApplication.translate("GameDetails", "Installation size", None))
        self.actions_label.setText(QCoreApplication.translate("GameDetails", "Actions", None))
        self.modify_button.setText(QCoreApplication.translate("GameDetails", "Modify", None))
        self.verify_button.setText(QCoreApplication.translate("GameDetails", "Verify", None))
        self.repair_button.setText(QCoreApplication.translate("GameDetails", "Repair", None))
        self.move_button.setText(QCoreApplication.translate("GameDetails", "Move", None))
        self.uninstall_button.setText(QCoreApplication.translate("GameDetails", "Uninstall", None))
        self.install_button.setText(QCoreApplication.translate("GameDetails", "Install", None))
        self.import_button.setText(QCoreApplication.translate("GameDetails", "Import", None))
        pass
    # retranslateUi

