414 lines
24 KiB
Python
414 lines
24 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'brewpi.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.14.1
|
|
#
|
|
from PyQt5.Qwt import *
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.setEnabled(True)
|
|
MainWindow.resize(798, 705)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
|
|
MainWindow.setSizePolicy(sizePolicy)
|
|
palette = QtGui.QPalette()
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(119, 119, 119))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(159, 159, 159))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(119, 119, 119))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(159, 159, 159))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(119, 119, 119))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(119, 119, 119))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(159, 159, 159))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(119, 119, 119))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(119, 119, 119))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(239, 239, 239))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
|
|
MainWindow.setPalette(palette)
|
|
MainWindow.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
MainWindow.setAutoFillBackground(False)
|
|
MainWindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
|
|
MainWindow.setDocumentMode(False)
|
|
MainWindow.setDockOptions(QtWidgets.QMainWindow.AllowTabbedDocks|QtWidgets.QMainWindow.AnimatedDocks)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.horizontalTabWidget = QtWidgets.QTabWidget(self.centralwidget)
|
|
self.horizontalTabWidget.setEnabled(True)
|
|
self.horizontalTabWidget.setGeometry(QtCore.QRect(0, 10, 350, 353))
|
|
self.horizontalTabWidget.setObjectName("horizontalTabWidget")
|
|
self.horizontalTabWidgetPage1 = QtWidgets.QWidget()
|
|
self.horizontalTabWidgetPage1.setObjectName("horizontalTabWidgetPage1")
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalTabWidgetPage1)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.lcdNumber = QtWidgets.QLCDNumber(self.horizontalTabWidgetPage1)
|
|
self.lcdNumber.setMinimumSize(QtCore.QSize(0, 120))
|
|
palette = QtGui.QPalette()
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(198, 255, 143))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(168, 240, 97))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(69, 113, 26))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(92, 151, 34))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(196, 240, 153))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(198, 255, 143))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(168, 240, 97))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(69, 113, 26))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(92, 151, 34))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(196, 240, 153))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(69, 113, 26))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(198, 255, 143))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(168, 240, 97))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(69, 113, 26))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(92, 151, 34))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(69, 113, 26))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(69, 113, 26))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(138, 226, 52))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
|
|
self.lcdNumber.setPalette(palette)
|
|
self.lcdNumber.setFrameShape(QtWidgets.QFrame.Box)
|
|
self.lcdNumber.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
self.lcdNumber.setSmallDecimalPoint(False)
|
|
self.lcdNumber.setProperty("value", 2037.0)
|
|
self.lcdNumber.setObjectName("lcdNumber")
|
|
self.verticalLayout.addWidget(self.lcdNumber)
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout_3.setSpacing(4)
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
self.Dial = QwtDial(self.horizontalTabWidgetPage1)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.Dial.sizePolicy().hasHeightForWidth())
|
|
self.Dial.setSizePolicy(sizePolicy)
|
|
self.Dial.setMinimumSize(QtCore.QSize(0, 0))
|
|
self.Dial.setLineWidth(4)
|
|
self.Dial.setObjectName("Dial")
|
|
self.horizontalLayout_3.addWidget(self.Dial)
|
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
self.horizontalLayout.addLayout(self.verticalLayout)
|
|
self.horizontalTabWidget.addTab(self.horizontalTabWidgetPage1, "")
|
|
self.tab = QtWidgets.QWidget()
|
|
self.tab.setObjectName("tab")
|
|
self.horizontalTabWidget.addTab(self.tab, "")
|
|
self.tab_2 = QtWidgets.QWidget()
|
|
self.tab_2.setObjectName("tab_2")
|
|
self.horizontalTabWidget.addTab(self.tab_2, "")
|
|
self.Thermo = QwtThermo(self.centralwidget)
|
|
self.Thermo.setGeometry(QtCore.QRect(890, 50, 56, 201))
|
|
self.Thermo.setObjectName("Thermo")
|
|
self.Slider = QwtSlider(self.centralwidget)
|
|
self.Slider.setGeometry(QtCore.QRect(440, 110, 63, 250))
|
|
self.Slider.setObjectName("Slider")
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 798, 22))
|
|
self.menubar.setObjectName("menubar")
|
|
self.menu_File = QtWidgets.QMenu(self.menubar)
|
|
self.menu_File.setObjectName("menu_File")
|
|
self.menu_Help = QtWidgets.QMenu(self.menubar)
|
|
self.menu_Help.setObjectName("menu_Help")
|
|
MainWindow.setMenuBar(self.menubar)
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
self.statusbar.setObjectName("statusbar")
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
|
self.toolBar.setObjectName("toolBar")
|
|
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
|
self.actionStart = QtWidgets.QAction(MainWindow)
|
|
self.actionStart.setObjectName("actionStart")
|
|
self.actionPause = QtWidgets.QAction(MainWindow)
|
|
self.actionPause.setObjectName("actionPause")
|
|
self.actionStop = QtWidgets.QAction(MainWindow)
|
|
self.actionStop.setObjectName("actionStop")
|
|
self.menubar.addAction(self.menu_File.menuAction())
|
|
self.menubar.addAction(self.menu_Help.menuAction())
|
|
self.toolBar.addAction(self.actionStart)
|
|
self.toolBar.addAction(self.actionPause)
|
|
self.toolBar.addAction(self.actionStop)
|
|
|
|
self.retranslateUi(MainWindow)
|
|
self.horizontalTabWidget.setCurrentIndex(0)
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "BrewPi"))
|
|
self.horizontalTabWidget.setTabText(self.horizontalTabWidget.indexOf(self.tab), _translate("MainWindow", "Seite"))
|
|
self.horizontalTabWidget.setTabText(self.horizontalTabWidget.indexOf(self.tab_2), _translate("MainWindow", "Seite"))
|
|
self.menu_File.setTitle(_translate("MainWindow", "&File"))
|
|
self.menu_Help.setTitle(_translate("MainWindow", "&Help"))
|
|
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
|
|
self.actionStart.setText(_translate("MainWindow", "Start"))
|
|
self.actionStart.setToolTip(_translate("MainWindow", "Start"))
|
|
self.actionStart.setShortcut(_translate("MainWindow", "Ctrl+R"))
|
|
self.actionPause.setText(_translate("MainWindow", "Pause"))
|
|
self.actionPause.setToolTip(_translate("MainWindow", "Pause"))
|
|
self.actionStop.setText(_translate("MainWindow", "Stop"))
|
|
self.actionStop.setToolTip(_translate("MainWindow", "Stop"))
|