# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_building_control.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_BuildingControl(object):
def setupUi(self, BuildingControl):
BuildingControl.setObjectName("BuildingControl")
BuildingControl.resize(360, 600)
BuildingControl.setMaximumSize(QtCore.QSize(360, 600))
self.floor_box = QtWidgets.QGroupBox(BuildingControl)
self.floor_box.setGeometry(QtCore.QRect(10, 10, 311, 331))
self.floor_box.setObjectName("floor_box")
self.gridLayoutWidget = QtWidgets.QWidget(self.floor_box)
self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 30, 291, 211))
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.spin_x = QtWidgets.QDoubleSpinBox(self.gridLayoutWidget)
self.spin_x.setMinimum(-100.0)
self.spin_x.setSingleStep(0.1)
self.spin_x.setObjectName("spin_x")
self.gridLayout.addWidget(self.spin_x, 8, 1, 1, 1)
self.spin_rotate = QtWidgets.QSpinBox(self.gridLayoutWidget)
self.spin_rotate.setMinimum(-180)
self.spin_rotate.setMaximum(180)
self.spin_rotate.setObjectName("spin_rotate")
self.gridLayout.addWidget(self.spin_rotate, 6, 2, 1, 2)
self.spin_z = QtWidgets.QDoubleSpinBox(self.gridLayoutWidget)
self.spin_z.setMinimum(-100.0)
self.spin_z.setSingleStep(0.1)
self.spin_z.setObjectName("spin_z")
self.gridLayout.addWidget(self.spin_z, 8, 3, 1, 1)
self.spin_rooms = QtWidgets.QSpinBox(self.gridLayoutWidget)
self.spin_rooms.setMinimum(1)
self.spin_rooms.setMaximum(20)
self.spin_rooms.setObjectName("spin_rooms")
self.gridLayout.addWidget(self.spin_rooms, 2, 2, 2, 2)
self.spin_floors = QtWidgets.QSpinBox(self.gridLayoutWidget)
self.spin_floors.setAccelerated(False)
self.spin_floors.setMinimum(1)
self.spin_floors.setObjectName("spin_floors")
self.gridLayout.addWidget(self.spin_floors, 0, 2, 2, 2)
self.label_floor_thickness = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_floor_thickness.setObjectName("label_floor_thickness")
self.gridLayout.addWidget(self.label_floor_thickness, 4, 0, 2, 2)
self.spin_y = QtWidgets.QDoubleSpinBox(self.gridLayoutWidget)
self.spin_y.setMinimum(-100.0)
self.spin_y.setSingleStep(0.1)
self.spin_y.setObjectName("spin_y")
self.gridLayout.addWidget(self.spin_y, 8, 2, 1, 1)
self.label_5 = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 6, 0, 1, 2)
self.label = QtWidgets.QLabel(self.gridLayoutWidget)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 7, 0, 2, 1)
self.label_3 = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 7, 3, 1, 1)
self.spin_floor_thickness = QtWidgets.QDoubleSpinBox(self.gridLayoutWidget)
self.spin_floor_thickness.setMinimum(0.1)
self.spin_floor_thickness.setMaximum(2.0)
self.spin_floor_thickness.setSingleStep(0.05)
self.spin_floor_thickness.setProperty("value", 0.3)
self.spin_floor_thickness.setObjectName("spin_floor_thickness")
self.gridLayout.addWidget(self.spin_floor_thickness, 4, 2, 2, 2)
self.label_4 = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_4.setObjectName("label_4")
self.gridLayout.addWidget(self.label_4, 7, 2, 1, 1)
self.label_rooms = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_rooms.setObjectName("label_rooms")
self.gridLayout.addWidget(self.label_rooms, 2, 0, 2, 2)
self.label_2 = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 7, 1, 1, 1)
self.label_floors = QtWidgets.QLabel(self.gridLayoutWidget)
self.label_floors.setObjectName("label_floors")
self.gridLayout.addWidget(self.label_floors, 0, 0, 2, 2)
self.show_check = QtWidgets.QCheckBox(self.floor_box)
self.show_check.setGeometry(QtCore.QRect(50, 260, 91, 19))
self.show_check.setChecked(True)
self.show_check.setObjectName("show_check")
self.lock_check = QtWidgets.QCheckBox(self.floor_box)
self.lock_check.setGeometry(QtCore.QRect(50, 290, 91, 19))
self.lock_check.setObjectName("lock_check")
self.delete_button = QtWidgets.QPushButton(self.floor_box)
self.delete_button.setGeometry(QtCore.QRect(160, 270, 93, 28))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
brush.setStyle(QtCore.Qt.SolidPattern)
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
self.delete_button.setPalette(palette)
self.delete_button.setObjectName("delete_button")
self.room_box = QtWidgets.QGroupBox(BuildingControl)
self.room_box.setGeometry(QtCore.QRect(10, 350, 311, 241))
self.room_box.setObjectName("room_box")
self.gridLayoutWidget_2 = QtWidgets.QWidget(self.room_box)
self.gridLayoutWidget_2.setGeometry(QtCore.QRect(30, 30, 251, 191))
self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget_2)
self.gridLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
self.label_room_width = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_room_width.setObjectName("label_room_width")
self.gridLayout_2.addWidget(self.label_room_width, 3, 0, 1, 1)
self.label_room_height = QtWidgets.QLabel(self.gridLayoutWidget_2)
self.label_room_height.setObjectName("label_room_height")
self.gridLayout_2.addWidget(self.label_room_height, 4, 0, 1, 1)
self.spin_room_length = QtWidgets.QDoubleSpinBox(self.gridLayoutWidget_2)
self.spin