# -*- coding: utf-8 -*-

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

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QGridLayout, QHBoxLayout, QLabel,
    QLayout, QMainWindow, QMenuBar, QPushButton,
    QSizePolicy, QSpinBox, QStatusBar, QToolBox,
    QVBoxLayout, QWidget)

from mainPainter import mainPainter

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.setEnabled(True)
        MainWindow.resize(540, 360)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.gridLayout = QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.mainSurf = mainPainter(self.centralwidget)
        self.mainSurf.setObjectName(u"mainSurf")
        self.mainSurf.setEnabled(True)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mainSurf.sizePolicy().hasHeightForWidth())
        self.mainSurf.setSizePolicy(sizePolicy)

        self.horizontalLayout.addWidget(self.mainSurf)

        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setSizeConstraint(QLayout.SetDefaultConstraint)
        self.generalInfos = QVBoxLayout()
        self.generalInfos.setObjectName(u"generalInfos")
        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.mainFps = QLabel(self.centralwidget)
        self.mainFps.setObjectName(u"mainFps")

        self.horizontalLayout_3.addWidget(self.mainFps)

        self.mainFPS_set = QSpinBox(self.centralwidget)
        self.mainFPS_set.setObjectName(u"mainFPS_set")
        self.mainFPS_set.setMaximum(500)
        self.mainFPS_set.setValue(60)

        self.horizontalLayout_3.addWidget(self.mainFPS_set)

        self.horizontalLayout_3.setStretch(0, 2)
        self.horizontalLayout_3.setStretch(1, 1)

        self.generalInfos.addLayout(self.horizontalLayout_3)

        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.physicsFPS = QLabel(self.centralwidget)
        self.physicsFPS.setObjectName(u"physicsFPS")

        self.horizontalLayout_4.addWidget(self.physicsFPS)

        self.physicsFPS_set = QSpinBox(self.centralwidget)
        self.physicsFPS_set.setObjectName(u"physicsFPS_set")
        self.physicsFPS_set.setMaximum(1000)
        self.physicsFPS_set.setValue(60)

        self.horizontalLayout_4.addWidget(self.physicsFPS_set)

        self.horizontalLayout_4.setStretch(0, 2)
        self.horizontalLayout_4.setStretch(1, 1)

        self.generalInfos.addLayout(self.horizontalLayout_4)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.startButton = QPushButton(self.centralwidget)
        self.startButton.setObjectName(u"startButton")

        self.horizontalLayout_2.addWidget(self.startButton)

        self.stopButton = QPushButton(self.centralwidget)
        self.stopButton.setObjectName(u"stopButton")

        self.horizontalLayout_2.addWidget(self.stopButton)


        self.generalInfos.addLayout(self.horizontalLayout_2)


        self.verticalLayout.addLayout(self.generalInfos)

        self.carInfos = QToolBox(self.centralwidget)
        self.carInfos.setObjectName(u"carInfos")
        self.carInfos.setEnabled(True)
        sizePolicy1 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Preferred)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.carInfos.sizePolicy().hasHeightForWidth())
        self.carInfos.setSizePolicy(sizePolicy1)

        self.verticalLayout.addWidget(self.carInfos)

        self.verticalLayout.setStretch(0, 1)
        self.verticalLayout.setStretch(1, 5)

        self.horizontalLayout.addLayout(self.verticalLayout)

        self.horizontalLayout.setStretch(0, 2)
        self.horizontalLayout.setStretch(1, 1)

        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 540, 27))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)

        self.carInfos.setCurrentIndex(-1)


        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
        self.mainFps.setText(QCoreApplication.translate("MainWindow", u"Display fps", None))
        self.physicsFPS.setText(QCoreApplication.translate("MainWindow", u"Physics FPS", None))
        self.startButton.setText(QCoreApplication.translate("MainWindow", u"Start", None))
        self.stopButton.setText(QCoreApplication.translate("MainWindow", u"Stop", None))
    # retranslateUi

