<filename>Part2/gui3.py
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'slider.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(336, 404)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalSlider = QtWidgets.QSlider(self.centralwidget)
        self.horizontalSlider.setGeometry(QtCore.QRect(20, 150, 281, 21))
        self.horizontalSlider.setMaximum(2500)
        self.horizontalSlider.setProperty("value", 500)
        self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(20, 130, 191, 16))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(270, 130, 61, 20))
        font = QtGui.QFont()
        font.setKerning(True)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(120, 40, 111, 28))
        self.pushButton.setObjectName("pushButton")
        self.comboBox = QtWidgets.QComboBox(self.centralwidget)
        self.comboBox.setGeometry(QtCore.QRect(220, 90, 73, 22))
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(40, 80, 141, 31))
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(20, 180, 181, 16))
        self.label_4.setObjectName("label_4")
        self.horizontalSlider_2 = QtWidgets.QSlider(self.centralwidget)
        self.horizontalSlider_2.setGeometry(QtCore.QRect(20, 200, 281, 21))
        self.horizontalSlider_2.setMaximum(10)
        self.horizontalSlider_2.setSingleStep(1)
        self.horizontalSlider_2.setPageStep(10)
        self.horizontalSlider_2.setProperty("value", 10)
        self.horizontalSlider_2.setSliderPosition(10)
        self.horizontalSlider_2.setTracking(True)
        self.horizontalSlider_2.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_2.setObjectName("horizontalSlider_2")
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setGeometry(QtCore.QRect(270, 180, 61, 20))
        self.label_5.setAccessibleDescription("")
        self.label_5.setObjectName("label_5")
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setGeometry(QtCore.QRect(20, 230, 201, 16))
        self.label_6.setObjectName("label_6")
        self.horizontalSlider_3 = QtWidgets.QSlider(self.centralwidget)
        self.horizontalSlider_3.setGeometry(QtCore.QRect(20, 250, 281, 21))
        self.horizontalSlider_3.setMaximum(10)
        self.horizontalSlider_3.setProperty("value", 5)
        self.horizontalSlider_3.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_3.setObjectName("horizontalSlider_3")
        self.label_7 = QtWidgets.QLabel(self.centralwidget)
        self.label_7.setGeometry(QtCore.QRect(270, 230, 61, 20))
        self.label_7.setObjectName("label_7")
        self.label_8 = QtWidgets.QLabel(self.centralwidget)
        self.label_8.setGeometry(QtCore.QRect(20, 280, 191, 16))
        self.label_8.setObjectName("label_8")
        self.horizontalSlider_4 = QtWidgets.QSlider(self.centralwidget)
        self.horizontalSlider_4.setGeometry(QtCore.QRect(20, 300, 281, 21))
        self.horizontalSlider_4.setMaximum(10)
        self.horizontalSlider_4.setProperty("value", 3)
        self.horizontalSlider_4.setSliderPosition(3)
        self.horizontalSlider_4.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_4.setObjectName("horizontalSlider_4")
        self.label_9 = QtWidgets.QLabel(self.centralwidget)
        self.label_9.setGeometry(QtCore.QRect(270, 280, 61, 20))
        self.label_9.setObjectName("label_9")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 336, 26))
        self.menubar.setObjectName("menubar")
        self.menuload_dataset = QtWidgets.QMenu(self.menubar)
        self.menuload_dataset.setObjectName("menuload_dataset")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionKlvafjl_k = QtWidgets.QAction(MainWindow)
        self.actionKlvafjl_k.setObjectName("actionKlvafjl_k")
        self.actionClose = QtWidgets.QAction(MainWindow)
        self.actionClose.setObjectName("actionClose")
        self.actionload = QtWidgets.QAction(MainWindow)
        self.actionload.setObjectName("actionload")
        self.menuload_dataset.addAction(self.actionload)
        self.menubar.addAction(self.menuload_dataset.menuAction())

        self.retranslateUi(MainWindow)
        self.horizontalSlider.sliderMoved['int'].connect(self.label_2.setNum)
        self.horizontalSlider_2.sliderMoved['int'].connect(self.label_5.setNum)
        self.horizontalSlider_3.sliderMoved['int'].connect(self.label_7.setNum)
        self.horizontalSlider_4.sliderMoved['int'].connect(self.label_9.setNum)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "GUI-Demo"))
        self.label.setText(_translate("MainWindow", "Iso value for surface rendering"))
        self.label_2.setText(_translate("MainWindow", "500"))
        self.pushButton.setText(_translate("MainWindow", "Choose Dataset"))
        self.comboBox.setItemText(0, _translate("MainWindow", "surface"))
        self.comboBox.setItemText(1, _translate("MainWindow", "ray cast"))
        self.label_3.setText(_translate("MainWindow", "Rendering Mode"))
        self.label_4.setText(_translate("MainWindow", "Red Comp. for ray casting (/10)"))
        self.label_5.setText(_translate("MainWindow", "10"))
        self.label_6.setText(_translate("MainWindow", "Green Comp. for ray casting (/10)"))
        self.label_7.setText(_translate("MainWindow", "5"))
        self.label_8.setText(_translate("MainWindow", "Blue Comp. for ray casting (/10)"))
        self.label_9.setText(_translate("MainWindow", "3"))
        self.menuload_dataset.setTitle(_translate("MainWindow", "Load"))
        self.actionKlvafjl_k.setText(_translate("MainWindow", "klvafjl k"))
        self.actionClose.setText(_translate("MainWindow", "Close"))
        self.actionload.setText(_translate("MainWindow", "Choose Dataset"))
        self.actionload.setShortcut(_translate("MainWindow", "Ctrl+1"))
