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

# Form implementation generated from reading ui file 'android_quiz.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(962, 572)
        Form.setStyleSheet("#widgetFrameOuter{\n"
"background-color: rgb(54, 129, 130);\n"
"}")
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.frame = QtWidgets.QFrame(Form)
        self.frame.setStyleSheet("#frame{background: #eee}")
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridLayout = QtWidgets.QGridLayout(self.frame)
        self.gridLayout.setContentsMargins(1, 1, 1, 1)
        self.gridLayout.setObjectName("gridLayout")
        self.reloadFrame = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.reloadFrame.sizePolicy().hasHeightForWidth())
        self.reloadFrame.setSizePolicy(sizePolicy)
        self.reloadFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.reloadFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.reloadFrame.setObjectName("reloadFrame")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.reloadFrame)
        self.horizontalLayout_3.setContentsMargins(2, 2, 2, 2)
        self.horizontalLayout_3.setSpacing(2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(self.reloadFrame)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.reloadLabel = QtWidgets.QLabel(self.reloadFrame)
        self.reloadLabel.setObjectName("reloadLabel")
        self.horizontalLayout_3.addWidget(self.reloadLabel)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.pushButton = QtWidgets.QPushButton(self.reloadFrame)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_3.addWidget(self.pushButton)
        self.pushButton_2 = QtWidgets.QPushButton(self.reloadFrame)
        self.pushButton_2.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/control/close.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon)
        self.pushButton_2.setObjectName("pushButton_2")
        self.horizontalLayout_3.addWidget(self.pushButton_2)
        self.gridLayout.addWidget(self.reloadFrame, 2, 0, 1, 1)
        self.frame_4 = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_4.sizePolicy().hasHeightForWidth())
        self.frame_4.setSizePolicy(sizePolicy)
        self.frame_4.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_4.setObjectName("frame_4")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.frame_4)
        self.horizontalLayout_5.setContentsMargins(2, 2, 2, 2)
        self.horizontalLayout_5.setSpacing(2)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.fileMenuButton = QtWidgets.QPushButton(self.frame_4)
        self.fileMenuButton.setObjectName("fileMenuButton")
        self.horizontalLayout_5.addWidget(self.fileMenuButton)
        self.editMenuButton = QtWidgets.QPushButton(self.frame_4)
        self.editMenuButton.setObjectName("editMenuButton")
        self.horizontalLayout_5.addWidget(self.editMenuButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem1)
        self.uploadButton = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.uploadButton.sizePolicy().hasHeightForWidth())
        self.uploadButton.setSizePolicy(sizePolicy)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/control/download.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.uploadButton.setIcon(icon1)
        self.uploadButton.setObjectName("uploadButton")
        self.horizontalLayout_5.addWidget(self.uploadButton)
        self.gridLayout.addWidget(self.frame_4, 0, 0, 1, 1)
        self.frame_2 = QtWidgets.QFrame(self.frame)
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame_2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.frame_3 = QtWidgets.QFrame(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_3.sizePolicy().hasHeightForWidth())
        self.frame_3.setSizePolicy(sizePolicy)
        self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.responsesLayout = QtWidgets.QGridLayout(self.frame_3)
        self.responsesLayout.setContentsMargins(2, 2, 2, 2)
        self.responsesLayout.setSpacing(2)
        self.responsesLayout.setObjectName("responsesLayout")
        self.verticalLayout_2.addWidget(self.frame_3)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.gridLayout.addWidget(self.frame_2, 0, 1, 4, 1)
        self.codingTabs = QtWidgets.QTabWidget(self.frame)
        self.codingTabs.setTabsClosable(True)
        self.codingTabs.setMovable(True)
        self.codingTabs.setObjectName("codingTabs")
        self.gridLayout.addWidget(self.codingTabs, 3, 0, 1, 1)
        self.frame_5 = QtWidgets.QFrame(self.frame)
        self.frame_5.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_5.setObjectName("frame_5")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.frame_5)
        self.gridLayout_2.setContentsMargins(2, 2, 2, 20)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.connectServerButton = QtWidgets.QPushButton(self.frame_5)
        self.connectServerButton.setObjectName("connectServerButton")
        self.gridLayout_2.addWidget(self.connectServerButton, 0, 2, 1, 1)
        self.teacherName = QtWidgets.QLineEdit(self.frame_5)
        self.teacherName.setObjectName("teacherName")
        self.gridLayout_2.addWidget(self.teacherName, 1, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.frame_5)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.roomPassword = QtWidgets.QLineEdit(self.frame_5)
        self.roomPassword.setObjectName("roomPassword")
        self.gridLayout_2.addWidget(self.roomPassword, 1, 2, 1, 1)
        self.serverName = QtWidgets.QLineEdit(self.frame_5)
        self.serverName.setObjectName("serverName")
        self.gridLayout_2.addWidget(self.serverName, 0, 1, 1, 1)
        self.roomName = QtWidgets.QLineEdit(self.frame_5)
        self.roomName.setObjectName("roomName")
        self.gridLayout_2.addWidget(self.roomName, 1, 1, 1, 1)
        self.serverMessage = QtWidgets.QLabel(self.frame_5)
        self.serverMessage.setObjectName("serverMessage")
        self.gridLayout_2.addWidget(self.serverMessage, 2, 0, 1, 3)
        self.gridLayout.addWidget(self.frame_5, 1, 0, 1, 1)
        self.verticalLayout.addWidget(self.frame)

        self.retranslateUi(Form)
        self.codingTabs.setCurrentIndex(-1)
        self.uploadButton.clicked.connect(Form.upload) # type: ignore
        self.pushButton.clicked.connect(Form.reloadFile) # type: ignore
        self.pushButton_2.clicked.connect(Form.cancelReload) # type: ignore
        self.connectServerButton.clicked.connect(Form.connectServer) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.label_2.setText(_translate("Form", "File Changed:"))
        self.reloadLabel.setText(_translate("Form", ".."))
        self.pushButton.setText(_translate("Form", "RELOAD"))
        self.fileMenuButton.setText(_translate("Form", "File"))
        self.editMenuButton.setText(_translate("Form", "Edit"))
        self.uploadButton.setText(_translate("Form", "SEND !"))
        self.uploadButton.setShortcut(_translate("Form", "U"))
        self.frame_3.setProperty("class", _translate("Form", "dirFrame"))
        self.connectServerButton.setText(_translate("Form", "CONNECT"))
        self.teacherName.setText(_translate("Form", "teacher"))
        self.teacherName.setPlaceholderText(_translate("Form", "your name"))
        self.label_4.setText(_translate("Form", "Server"))
        self.roomPassword.setText(_translate("Form", "newpass"))
        self.roomPassword.setPlaceholderText(_translate("Form", "password"))
        self.serverName.setText(_translate("Form", "http://localhost:8000"))
        self.roomName.setText(_translate("Form", "newroom"))
        self.roomName.setPlaceholderText(_translate("Form", "room name"))
        self.serverMessage.setText(_translate("Form", "."))
from . import resplus_rc
