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

# Form implementation generated from reading ui file 'layout_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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(985, 565)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/control/kuttypy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setStyleSheet("")
        MainWindow.setDockOptions(QtWidgets.QMainWindow.AnimatedDocks)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.frame)
        self.gridLayout_6.setContentsMargins(2, 2, 2, 2)
        self.gridLayout_6.setSpacing(2)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.reloadFrame = QtWidgets.QFrame(self.frame)
        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("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/control/close.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName("pushButton_2")
        self.horizontalLayout_3.addWidget(self.pushButton_2)
        self.gridLayout_6.addWidget(self.reloadFrame, 2, 0, 1, 1)
        self.codingTabs = QtWidgets.QTabWidget(self.frame)
        self.codingTabs.setTabsClosable(True)
        self.codingTabs.setMovable(True)
        self.codingTabs.setObjectName("codingTabs")
        self.gridLayout_6.addWidget(self.codingTabs, 3, 0, 1, 1)
        self.frame_4 = QtWidgets.QFrame(self.frame)
        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)
        self.ipLabel = QtWidgets.QLabel(self.frame_4)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.ipLabel.setFont(font)
        self.ipLabel.setStyleSheet("color:darkgreen")
        self.ipLabel.setObjectName("ipLabel")
        self.horizontalLayout_5.addWidget(self.ipLabel)
        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)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/control/download.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.uploadButton.setIcon(icon2)
        self.uploadButton.setObjectName("uploadButton")
        self.horizontalLayout_5.addWidget(self.uploadButton)
        self.gridLayout_6.addWidget(self.frame_4, 1, 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_3 = QtWidgets.QGridLayout(self.frame_5)
        self.gridLayout_3.setContentsMargins(2, 2, 2, 2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.teacherName = QtWidgets.QLineEdit(self.frame_5)
        self.teacherName.setObjectName("teacherName")
        self.gridLayout_3.addWidget(self.teacherName, 1, 0, 1, 1)
        self.roomPassword = QtWidgets.QLineEdit(self.frame_5)
        self.roomPassword.setObjectName("roomPassword")
        self.gridLayout_3.addWidget(self.roomPassword, 1, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.frame_5)
        self.label_4.setObjectName("label_4")
        self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
        self.roomName = QtWidgets.QLineEdit(self.frame_5)
        self.roomName.setObjectName("roomName")
        self.gridLayout_3.addWidget(self.roomName, 1, 1, 1, 1)
        self.connectServerButton = QtWidgets.QPushButton(self.frame_5)
        self.connectServerButton.setObjectName("connectServerButton")
        self.gridLayout_3.addWidget(self.connectServerButton, 0, 2, 1, 1)
        self.serverName = QtWidgets.QLineEdit(self.frame_5)
        self.serverName.setObjectName("serverName")
        self.gridLayout_3.addWidget(self.serverName, 0, 1, 1, 1)
        self.gridLayout_6.addWidget(self.frame_5, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.frame, 0, 0, 3, 1)
        self.frame_3 = QtWidgets.QFrame(self.centralwidget)
        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.gridLayout_2.addWidget(self.frame_3, 1, 1, 1, 1)
        self.termFrame = QtWidgets.QFrame(self.centralwidget)
        self.termFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.termFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.termFrame.setObjectName("termFrame")
        self.termLayout = QtWidgets.QVBoxLayout(self.termFrame)
        self.termLayout.setContentsMargins(0, 0, 0, 0)
        self.termLayout.setSpacing(0)
        self.termLayout.setObjectName("termLayout")
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.termLayout.addItem(spacerItem2)
        self.gridLayout_2.addWidget(self.termFrame, 2, 1, 1, 1)
        self.gridLayout_2.setColumnStretch(0, 5)
        self.gridLayout_2.setColumnStretch(1, 5)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "KuttyPy Quiz Responses Window"))
        self.label_2.setText(_translate("MainWindow", "File Changed:"))
        self.reloadLabel.setText(_translate("MainWindow", ".."))
        self.pushButton.setText(_translate("MainWindow", "RELOAD"))
        self.fileMenuButton.setText(_translate("MainWindow", "File"))
        self.editMenuButton.setText(_translate("MainWindow", "Edit"))
        self.ipLabel.setText(_translate("MainWindow", "."))
        self.uploadButton.setText(_translate("MainWindow", "SEND !"))
        self.uploadButton.setShortcut(_translate("MainWindow", "U"))
        self.teacherName.setText(_translate("MainWindow", "teacher"))
        self.teacherName.setPlaceholderText(_translate("MainWindow", "your name"))
        self.roomPassword.setText(_translate("MainWindow", "newpass"))
        self.roomPassword.setPlaceholderText(_translate("MainWindow", "password"))
        self.label_4.setText(_translate("MainWindow", "Server"))
        self.roomName.setText(_translate("MainWindow", "newroom"))
        self.roomName.setPlaceholderText(_translate("MainWindow", "room name"))
        self.connectServerButton.setText(_translate("MainWindow", "CONNECT"))
        self.serverName.setText(_translate("MainWindow", "http://expeyes.scischool.in:4000"))
        self.frame_3.setProperty("class", _translate("MainWindow", "dirFrame"))
from . import resplus_rc
