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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/segment_display_4x7_v2/ui/segment_display_4x7_v2.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_SegmentDisplay4x7V2(object):
    def setupUi(self, SegmentDisplay4x7V2):
        SegmentDisplay4x7V2.setObjectName("SegmentDisplay4x7V2")
        SegmentDisplay4x7V2.resize(878, 396)
        self.verticalLayout = QtWidgets.QVBoxLayout(SegmentDisplay4x7V2)
        self.verticalLayout.setObjectName("verticalLayout")
        spacerItem = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setSpacing(2)
        self.gridLayout.setObjectName("gridLayout")
        self.digit0_segment4 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment4.sizePolicy().hasHeightForWidth())
        self.digit0_segment4.setSizePolicy(sizePolicy)
        self.digit0_segment4.setMinimumSize(QtCore.QSize(25, 80))
        self.digit0_segment4.setMaximumSize(QtCore.QSize(25, 80))
        self.digit0_segment4.setText("")
        self.digit0_segment4.setObjectName("digit0_segment4")
        self.gridLayout.addWidget(self.digit0_segment4, 3, 0, 1, 1)
        self.digit0_segment5 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment5.sizePolicy().hasHeightForWidth())
        self.digit0_segment5.setSizePolicy(sizePolicy)
        self.digit0_segment5.setMinimumSize(QtCore.QSize(25, 80))
        self.digit0_segment5.setMaximumSize(QtCore.QSize(25, 80))
        self.digit0_segment5.setText("")
        self.digit0_segment5.setObjectName("digit0_segment5")
        self.gridLayout.addWidget(self.digit0_segment5, 1, 0, 1, 1)
        self.digit0_segment6 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment6.sizePolicy().hasHeightForWidth())
        self.digit0_segment6.setSizePolicy(sizePolicy)
        self.digit0_segment6.setMinimumSize(QtCore.QSize(80, 25))
        self.digit0_segment6.setMaximumSize(QtCore.QSize(80, 25))
        self.digit0_segment6.setText("")
        self.digit0_segment6.setObjectName("digit0_segment6")
        self.gridLayout.addWidget(self.digit0_segment6, 2, 1, 1, 1)
        self.digit0_segment0 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment0.sizePolicy().hasHeightForWidth())
        self.digit0_segment0.setSizePolicy(sizePolicy)
        self.digit0_segment0.setMinimumSize(QtCore.QSize(80, 25))
        self.digit0_segment0.setMaximumSize(QtCore.QSize(80, 25))
        self.digit0_segment0.setText("")
        self.digit0_segment0.setObjectName("digit0_segment0")
        self.gridLayout.addWidget(self.digit0_segment0, 0, 1, 1, 1)
        self.digit0_segment3 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment3.sizePolicy().hasHeightForWidth())
        self.digit0_segment3.setSizePolicy(sizePolicy)
        self.digit0_segment3.setMinimumSize(QtCore.QSize(80, 25))
        self.digit0_segment3.setMaximumSize(QtCore.QSize(80, 25))
        self.digit0_segment3.setText("")
        self.digit0_segment3.setObjectName("digit0_segment3")
        self.gridLayout.addWidget(self.digit0_segment3, 4, 1, 1, 1)
        self.digit0_segment1 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment1.sizePolicy().hasHeightForWidth())
        self.digit0_segment1.setSizePolicy(sizePolicy)
        self.digit0_segment1.setMinimumSize(QtCore.QSize(25, 80))
        self.digit0_segment1.setMaximumSize(QtCore.QSize(25, 80))
        self.digit0_segment1.setText("")
        self.digit0_segment1.setObjectName("digit0_segment1")
        self.gridLayout.addWidget(self.digit0_segment1, 1, 2, 1, 1)
        self.digit0_segment2 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment2.sizePolicy().hasHeightForWidth())
        self.digit0_segment2.setSizePolicy(sizePolicy)
        self.digit0_segment2.setMinimumSize(QtCore.QSize(25, 80))
        self.digit0_segment2.setMaximumSize(QtCore.QSize(25, 80))
        self.digit0_segment2.setText("")
        self.digit0_segment2.setCheckable(False)
        self.digit0_segment2.setObjectName("digit0_segment2")
        self.gridLayout.addWidget(self.digit0_segment2, 3, 2, 1, 1)
        self.digit0_segment7 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit0_segment7.sizePolicy().hasHeightForWidth())
        self.digit0_segment7.setSizePolicy(sizePolicy)
        self.digit0_segment7.setMinimumSize(QtCore.QSize(25, 25))
        self.digit0_segment7.setMaximumSize(QtCore.QSize(25, 25))
        self.digit0_segment7.setText("")
        self.digit0_segment7.setObjectName("digit0_segment7")
        self.gridLayout.addWidget(self.digit0_segment7, 4, 4, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(10, -1, -1, -1)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.gridLayout.addLayout(self.horizontalLayout_4, 4, 3, 1, 1)
        self.horizontalLayout.addLayout(self.gridLayout)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setContentsMargins(25, -1, -1, -1)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setSpacing(2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.digit1_segment4 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment4.sizePolicy().hasHeightForWidth())
        self.digit1_segment4.setSizePolicy(sizePolicy)
        self.digit1_segment4.setMinimumSize(QtCore.QSize(25, 80))
        self.digit1_segment4.setMaximumSize(QtCore.QSize(25, 80))
        self.digit1_segment4.setText("")
        self.digit1_segment4.setObjectName("digit1_segment4")
        self.gridLayout_2.addWidget(self.digit1_segment4, 3, 0, 1, 1)
        self.digit1_segment5 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment5.sizePolicy().hasHeightForWidth())
        self.digit1_segment5.setSizePolicy(sizePolicy)
        self.digit1_segment5.setMinimumSize(QtCore.QSize(25, 80))
        self.digit1_segment5.setMaximumSize(QtCore.QSize(25, 80))
        self.digit1_segment5.setText("")
        self.digit1_segment5.setObjectName("digit1_segment5")
        self.gridLayout_2.addWidget(self.digit1_segment5, 1, 0, 1, 1)
        self.digit1_segment6 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment6.sizePolicy().hasHeightForWidth())
        self.digit1_segment6.setSizePolicy(sizePolicy)
        self.digit1_segment6.setMinimumSize(QtCore.QSize(80, 25))
        self.digit1_segment6.setMaximumSize(QtCore.QSize(80, 25))
        self.digit1_segment6.setText("")
        self.digit1_segment6.setObjectName("digit1_segment6")
        self.gridLayout_2.addWidget(self.digit1_segment6, 2, 1, 1, 1)
        self.digit1_segment0 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment0.sizePolicy().hasHeightForWidth())
        self.digit1_segment0.setSizePolicy(sizePolicy)
        self.digit1_segment0.setMinimumSize(QtCore.QSize(80, 25))
        self.digit1_segment0.setMaximumSize(QtCore.QSize(80, 25))
        self.digit1_segment0.setText("")
        self.digit1_segment0.setObjectName("digit1_segment0")
        self.gridLayout_2.addWidget(self.digit1_segment0, 0, 1, 1, 1)
        self.digit1_segment3 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment3.sizePolicy().hasHeightForWidth())
        self.digit1_segment3.setSizePolicy(sizePolicy)
        self.digit1_segment3.setMinimumSize(QtCore.QSize(80, 25))
        self.digit1_segment3.setMaximumSize(QtCore.QSize(80, 25))
        self.digit1_segment3.setText("")
        self.digit1_segment3.setObjectName("digit1_segment3")
        self.gridLayout_2.addWidget(self.digit1_segment3, 4, 1, 1, 1)
        self.digit1_segment1 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment1.sizePolicy().hasHeightForWidth())
        self.digit1_segment1.setSizePolicy(sizePolicy)
        self.digit1_segment1.setMinimumSize(QtCore.QSize(25, 80))
        self.digit1_segment1.setMaximumSize(QtCore.QSize(25, 80))
        self.digit1_segment1.setText("")
        self.digit1_segment1.setObjectName("digit1_segment1")
        self.gridLayout_2.addWidget(self.digit1_segment1, 1, 2, 1, 1)
        self.digit1_segment2 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment2.sizePolicy().hasHeightForWidth())
        self.digit1_segment2.setSizePolicy(sizePolicy)
        self.digit1_segment2.setMinimumSize(QtCore.QSize(25, 80))
        self.digit1_segment2.setMaximumSize(QtCore.QSize(25, 80))
        self.digit1_segment2.setText("")
        self.digit1_segment2.setCheckable(False)
        self.digit1_segment2.setObjectName("digit1_segment2")
        self.gridLayout_2.addWidget(self.digit1_segment2, 3, 2, 1, 1)
        self.digit1_segment7 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit1_segment7.sizePolicy().hasHeightForWidth())
        self.digit1_segment7.setSizePolicy(sizePolicy)
        self.digit1_segment7.setMinimumSize(QtCore.QSize(25, 25))
        self.digit1_segment7.setMaximumSize(QtCore.QSize(25, 25))
        self.digit1_segment7.setText("")
        self.digit1_segment7.setObjectName("digit1_segment7")
        self.gridLayout_2.addWidget(self.digit1_segment7, 4, 4, 1, 1)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setContentsMargins(10, -1, -1, -1)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.gridLayout_2.addLayout(self.horizontalLayout_5, 4, 3, 1, 1)
        self.horizontalLayout.addLayout(self.gridLayout_2)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.colon0 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colon0.sizePolicy().hasHeightForWidth())
        self.colon0.setSizePolicy(sizePolicy)
        self.colon0.setMinimumSize(QtCore.QSize(25, 25))
        self.colon0.setMaximumSize(QtCore.QSize(25, 25))
        self.colon0.setText("")
        self.colon0.setObjectName("colon0")
        self.verticalLayout_2.addWidget(self.colon0)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem3)
        self.colon1 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.colon1.sizePolicy().hasHeightForWidth())
        self.colon1.setSizePolicy(sizePolicy)
        self.colon1.setMinimumSize(QtCore.QSize(25, 25))
        self.colon1.setMaximumSize(QtCore.QSize(25, 25))
        self.colon1.setText("")
        self.colon1.setObjectName("colon1")
        self.verticalLayout_2.addWidget(self.colon1)
        spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem4)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setContentsMargins(10, -1, -1, -1)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.horizontalLayout.addLayout(self.horizontalLayout_9)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setSpacing(2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.digit2_segment4 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment4.sizePolicy().hasHeightForWidth())
        self.digit2_segment4.setSizePolicy(sizePolicy)
        self.digit2_segment4.setMinimumSize(QtCore.QSize(25, 80))
        self.digit2_segment4.setMaximumSize(QtCore.QSize(25, 80))
        self.digit2_segment4.setText("")
        self.digit2_segment4.setObjectName("digit2_segment4")
        self.gridLayout_3.addWidget(self.digit2_segment4, 3, 0, 1, 1)
        self.digit2_segment5 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment5.sizePolicy().hasHeightForWidth())
        self.digit2_segment5.setSizePolicy(sizePolicy)
        self.digit2_segment5.setMinimumSize(QtCore.QSize(25, 80))
        self.digit2_segment5.setMaximumSize(QtCore.QSize(25, 80))
        self.digit2_segment5.setText("")
        self.digit2_segment5.setObjectName("digit2_segment5")
        self.gridLayout_3.addWidget(self.digit2_segment5, 1, 0, 1, 1)
        self.digit2_segment6 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment6.sizePolicy().hasHeightForWidth())
        self.digit2_segment6.setSizePolicy(sizePolicy)
        self.digit2_segment6.setMinimumSize(QtCore.QSize(80, 25))
        self.digit2_segment6.setMaximumSize(QtCore.QSize(80, 25))
        self.digit2_segment6.setText("")
        self.digit2_segment6.setObjectName("digit2_segment6")
        self.gridLayout_3.addWidget(self.digit2_segment6, 2, 1, 1, 1)
        self.digit2_segment0 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment0.sizePolicy().hasHeightForWidth())
        self.digit2_segment0.setSizePolicy(sizePolicy)
        self.digit2_segment0.setMinimumSize(QtCore.QSize(80, 25))
        self.digit2_segment0.setMaximumSize(QtCore.QSize(80, 25))
        self.digit2_segment0.setText("")
        self.digit2_segment0.setObjectName("digit2_segment0")
        self.gridLayout_3.addWidget(self.digit2_segment0, 0, 1, 1, 1)
        self.digit2_segment3 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment3.sizePolicy().hasHeightForWidth())
        self.digit2_segment3.setSizePolicy(sizePolicy)
        self.digit2_segment3.setMinimumSize(QtCore.QSize(80, 25))
        self.digit2_segment3.setMaximumSize(QtCore.QSize(80, 25))
        self.digit2_segment3.setText("")
        self.digit2_segment3.setObjectName("digit2_segment3")
        self.gridLayout_3.addWidget(self.digit2_segment3, 4, 1, 1, 1)
        self.digit2_segment1 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment1.sizePolicy().hasHeightForWidth())
        self.digit2_segment1.setSizePolicy(sizePolicy)
        self.digit2_segment1.setMinimumSize(QtCore.QSize(25, 80))
        self.digit2_segment1.setMaximumSize(QtCore.QSize(25, 80))
        self.digit2_segment1.setText("")
        self.digit2_segment1.setObjectName("digit2_segment1")
        self.gridLayout_3.addWidget(self.digit2_segment1, 1, 2, 1, 1)
        self.digit2_segment2 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment2.sizePolicy().hasHeightForWidth())
        self.digit2_segment2.setSizePolicy(sizePolicy)
        self.digit2_segment2.setMinimumSize(QtCore.QSize(25, 80))
        self.digit2_segment2.setMaximumSize(QtCore.QSize(25, 80))
        self.digit2_segment2.setText("")
        self.digit2_segment2.setCheckable(False)
        self.digit2_segment2.setObjectName("digit2_segment2")
        self.gridLayout_3.addWidget(self.digit2_segment2, 3, 2, 1, 1)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setContentsMargins(10, -1, -1, -1)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 4, 3, 1, 1)
        self.digit2_segment7 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit2_segment7.sizePolicy().hasHeightForWidth())
        self.digit2_segment7.setSizePolicy(sizePolicy)
        self.digit2_segment7.setMinimumSize(QtCore.QSize(25, 25))
        self.digit2_segment7.setMaximumSize(QtCore.QSize(25, 25))
        self.digit2_segment7.setText("")
        self.digit2_segment7.setObjectName("digit2_segment7")
        self.gridLayout_3.addWidget(self.digit2_segment7, 4, 4, 1, 1)
        self.tick = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tick.sizePolicy().hasHeightForWidth())
        self.tick.setSizePolicy(sizePolicy)
        self.tick.setMinimumSize(QtCore.QSize(25, 25))
        self.tick.setMaximumSize(QtCore.QSize(25, 25))
        self.tick.setText("")
        self.tick.setObjectName("tick")
        self.gridLayout_3.addWidget(self.tick, 0, 5, 1, 1)
        self.horizontalLayout.addLayout(self.gridLayout_3)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setContentsMargins(10, -1, -1, -1)
        self.verticalLayout_4.setSpacing(6)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout.addLayout(self.verticalLayout_4)
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setSpacing(2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.digit3_segment4 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment4.sizePolicy().hasHeightForWidth())
        self.digit3_segment4.setSizePolicy(sizePolicy)
        self.digit3_segment4.setMinimumSize(QtCore.QSize(25, 80))
        self.digit3_segment4.setMaximumSize(QtCore.QSize(25, 80))
        self.digit3_segment4.setText("")
        self.digit3_segment4.setObjectName("digit3_segment4")
        self.gridLayout_4.addWidget(self.digit3_segment4, 3, 0, 1, 1)
        self.digit3_segment5 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment5.sizePolicy().hasHeightForWidth())
        self.digit3_segment5.setSizePolicy(sizePolicy)
        self.digit3_segment5.setMinimumSize(QtCore.QSize(25, 80))
        self.digit3_segment5.setMaximumSize(QtCore.QSize(25, 80))
        self.digit3_segment5.setText("")
        self.digit3_segment5.setObjectName("digit3_segment5")
        self.gridLayout_4.addWidget(self.digit3_segment5, 1, 0, 1, 1)
        self.digit3_segment6 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment6.sizePolicy().hasHeightForWidth())
        self.digit3_segment6.setSizePolicy(sizePolicy)
        self.digit3_segment6.setMinimumSize(QtCore.QSize(80, 25))
        self.digit3_segment6.setMaximumSize(QtCore.QSize(80, 25))
        self.digit3_segment6.setText("")
        self.digit3_segment6.setObjectName("digit3_segment6")
        self.gridLayout_4.addWidget(self.digit3_segment6, 2, 1, 1, 1)
        self.digit3_segment0 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment0.sizePolicy().hasHeightForWidth())
        self.digit3_segment0.setSizePolicy(sizePolicy)
        self.digit3_segment0.setMinimumSize(QtCore.QSize(80, 25))
        self.digit3_segment0.setMaximumSize(QtCore.QSize(80, 25))
        self.digit3_segment0.setText("")
        self.digit3_segment0.setObjectName("digit3_segment0")
        self.gridLayout_4.addWidget(self.digit3_segment0, 0, 1, 1, 1)
        self.digit3_segment3 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment3.sizePolicy().hasHeightForWidth())
        self.digit3_segment3.setSizePolicy(sizePolicy)
        self.digit3_segment3.setMinimumSize(QtCore.QSize(80, 25))
        self.digit3_segment3.setMaximumSize(QtCore.QSize(80, 25))
        self.digit3_segment3.setText("")
        self.digit3_segment3.setObjectName("digit3_segment3")
        self.gridLayout_4.addWidget(self.digit3_segment3, 4, 1, 1, 1)
        self.digit3_segment1 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment1.sizePolicy().hasHeightForWidth())
        self.digit3_segment1.setSizePolicy(sizePolicy)
        self.digit3_segment1.setMinimumSize(QtCore.QSize(25, 80))
        self.digit3_segment1.setMaximumSize(QtCore.QSize(25, 80))
        self.digit3_segment1.setText("")
        self.digit3_segment1.setObjectName("digit3_segment1")
        self.gridLayout_4.addWidget(self.digit3_segment1, 1, 2, 1, 1)
        self.digit3_segment2 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment2.sizePolicy().hasHeightForWidth())
        self.digit3_segment2.setSizePolicy(sizePolicy)
        self.digit3_segment2.setMinimumSize(QtCore.QSize(25, 80))
        self.digit3_segment2.setMaximumSize(QtCore.QSize(25, 80))
        self.digit3_segment2.setText("")
        self.digit3_segment2.setCheckable(False)
        self.digit3_segment2.setObjectName("digit3_segment2")
        self.gridLayout_4.addWidget(self.digit3_segment2, 3, 2, 1, 1)
        self.digit3_segment7 = ColorButton(SegmentDisplay4x7V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.digit3_segment7.sizePolicy().hasHeightForWidth())
        self.digit3_segment7.setSizePolicy(sizePolicy)
        self.digit3_segment7.setMinimumSize(QtCore.QSize(25, 25))
        self.digit3_segment7.setMaximumSize(QtCore.QSize(25, 25))
        self.digit3_segment7.setText("")
        self.digit3_segment7.setObjectName("digit3_segment7")
        self.gridLayout_4.addWidget(self.digit3_segment7, 4, 4, 1, 1)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setContentsMargins(10, -1, -1, -1)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.gridLayout_4.addLayout(self.horizontalLayout_7, 4, 3, 1, 1)
        self.horizontalLayout.addLayout(self.gridLayout_4)
        spacerItem5 = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem5)
        self.verticalLayout.addLayout(self.horizontalLayout)
        spacerItem6 = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem6)
        self.line = QtWidgets.QFrame(SegmentDisplay4x7V2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(SegmentDisplay4x7V2)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.box_brightness = QtWidgets.QComboBox(SegmentDisplay4x7V2)
        self.box_brightness.setMinimumSize(QtCore.QSize(100, 0))
        self.box_brightness.setObjectName("box_brightness")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.box_brightness.addItem("")
        self.horizontalLayout_2.addWidget(self.box_brightness)
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem7)
        self.button_all_segments_on = QtWidgets.QPushButton(SegmentDisplay4x7V2)
        self.button_all_segments_on.setObjectName("button_all_segments_on")
        self.horizontalLayout_2.addWidget(self.button_all_segments_on)
        self.button_all_segments_off = QtWidgets.QPushButton(SegmentDisplay4x7V2)
        self.button_all_segments_off.setObjectName("button_all_segments_off")
        self.horizontalLayout_2.addWidget(self.button_all_segments_off)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(SegmentDisplay4x7V2)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.box_from = QtWidgets.QSpinBox(SegmentDisplay4x7V2)
        self.box_from.setMinimum(-999)
        self.box_from.setMaximum(9999)
        self.box_from.setObjectName("box_from")
        self.horizontalLayout_3.addWidget(self.box_from)
        self.label_3 = QtWidgets.QLabel(SegmentDisplay4x7V2)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.box_to = QtWidgets.QSpinBox(SegmentDisplay4x7V2)
        self.box_to.setMinimum(-999)
        self.box_to.setMaximum(9999)
        self.box_to.setProperty("value", 1000)
        self.box_to.setObjectName("box_to")
        self.horizontalLayout_3.addWidget(self.box_to)
        self.label_4 = QtWidgets.QLabel(SegmentDisplay4x7V2)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_3.addWidget(self.label_4)
        self.box_increment = QtWidgets.QSpinBox(SegmentDisplay4x7V2)
        self.box_increment.setMinimum(-999)
        self.box_increment.setMaximum(9999)
        self.box_increment.setSingleStep(1)
        self.box_increment.setProperty("value", 1)
        self.box_increment.setObjectName("box_increment")
        self.horizontalLayout_3.addWidget(self.box_increment)
        self.label_5 = QtWidgets.QLabel(SegmentDisplay4x7V2)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        self.box_length = QtWidgets.QSpinBox(SegmentDisplay4x7V2)
        self.box_length.setMaximum(65535)
        self.box_length.setProperty("value", 100)
        self.box_length.setObjectName("box_length")
        self.horizontalLayout_3.addWidget(self.box_length)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem8)
        self.button_start = QtWidgets.QPushButton(SegmentDisplay4x7V2)
        self.button_start.setObjectName("button_start")
        self.horizontalLayout_3.addWidget(self.button_start)
        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.retranslateUi(SegmentDisplay4x7V2)
        self.box_brightness.setCurrentIndex(7)
        QtCore.QMetaObject.connectSlotsByName(SegmentDisplay4x7V2)

    def retranslateUi(self, SegmentDisplay4x7V2):
        _translate = QtCore.QCoreApplication.translate
        SegmentDisplay4x7V2.setWindowTitle(_translate("SegmentDisplay4x7V2", "Form"))
        self.label.setText(_translate("SegmentDisplay4x7V2", "Brightness:"))
        self.box_brightness.setItemText(0, _translate("SegmentDisplay4x7V2", "0 (dark)"))
        self.box_brightness.setItemText(1, _translate("SegmentDisplay4x7V2", "1"))
        self.box_brightness.setItemText(2, _translate("SegmentDisplay4x7V2", "2"))
        self.box_brightness.setItemText(3, _translate("SegmentDisplay4x7V2", "3"))
        self.box_brightness.setItemText(4, _translate("SegmentDisplay4x7V2", "4"))
        self.box_brightness.setItemText(5, _translate("SegmentDisplay4x7V2", "5"))
        self.box_brightness.setItemText(6, _translate("SegmentDisplay4x7V2", "6"))
        self.box_brightness.setItemText(7, _translate("SegmentDisplay4x7V2", "7 (bright)"))
        self.button_all_segments_on.setText(_translate("SegmentDisplay4x7V2", "All Segments On"))
        self.button_all_segments_off.setText(_translate("SegmentDisplay4x7V2", "All Segments Off"))
        self.label_2.setText(_translate("SegmentDisplay4x7V2", "Counter From:"))
        self.label_3.setText(_translate("SegmentDisplay4x7V2", "To:"))
        self.label_4.setText(_translate("SegmentDisplay4x7V2", "Increment:"))
        self.label_5.setText(_translate("SegmentDisplay4x7V2", "Length [ms]:"))
        self.button_start.setText(_translate("SegmentDisplay4x7V2", "Start"))
from brickv.colorbutton import ColorButton
