# Form implementation generated from reading ui file 'self.ui'
#
# Created by: PyQt6 UI code generator 6.4.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_ScreenWindow(object):
    def setupUi(self, ScreenWindow):
        ScreenWindow.setObjectName("ScreenWindow")
        ScreenWindow.resize(960, 626)
        self.centralwidget = QtWidgets.QWidget(ScreenWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
        self.scrollArea.setMinimumSize(QtCore.QSize(804, 604))
        self.scrollArea.setAutoFillBackground(True)
        self.scrollArea.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents)
        self.scrollArea.setObjectName("scrollArea")
        self.w_canvas = QtWidgets.QWidget()
        self.w_canvas.setGeometry(QtCore.QRect(0, 0, 639, 439))
        self.w_canvas.setObjectName("w_canvas")
        self.scrollArea.setWidget(self.w_canvas)
        self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
        ScreenWindow.setCentralWidget(self.centralwidget)
        self.menuBar = QtWidgets.QMenuBar(ScreenWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 960, 22))
        self.menuBar.setObjectName("menuBar")
        self.m_main = QtWidgets.QMenu(self.menuBar)
        self.m_main.setObjectName("m_main")
        self.m_rect = QtWidgets.QMenu(self.m_main)
        self.m_rect.setObjectName("m_rect")
        self.m_blend = QtWidgets.QMenu(self.m_main)
        self.m_blend.setObjectName("m_blend")
        ScreenWindow.setMenuBar(self.menuBar)
        self.a_close = QtGui.QAction(ScreenWindow)
        self.a_close.setObjectName("a_close")
        self.a_rect = QtGui.QAction(ScreenWindow)
        self.a_rect.setObjectName("a_rect")
        self.a_blend = QtGui.QAction(ScreenWindow)
        self.a_blend.setObjectName("a_blend")
        self.a_rect_draw = QtGui.QAction(ScreenWindow)
        self.a_rect_draw.setCheckable(True)
        self.a_rect_draw.setObjectName("a_rect_draw")
        self.a_rect_color = QtGui.QAction(ScreenWindow)
        self.a_rect_color.setObjectName("a_rect_color")
        self.a_blend_normal = QtGui.QAction(ScreenWindow)
        self.a_blend_normal.setCheckable(True)
        self.a_blend_normal.setChecked(True)
        self.a_blend_normal.setObjectName("a_blend_normal")
        self.actionBlend_add = QtGui.QAction(ScreenWindow)
        self.actionBlend_add.setObjectName("actionBlend_add")
        self.actionBlend_plus = QtGui.QAction(ScreenWindow)
        self.actionBlend_plus.setObjectName("actionBlend_plus")
        self.a_blend_plus = QtGui.QAction(ScreenWindow)
        self.a_blend_plus.setCheckable(True)
        self.a_blend_plus.setObjectName("a_blend_plus")
        self.a_bg_color = QtGui.QAction(ScreenWindow)
        self.a_bg_color.setObjectName("a_bg_color")
        self.m_rect.addAction(self.a_rect_draw)
        self.m_rect.addAction(self.a_rect_color)
        self.m_blend.addAction(self.a_blend_normal)
        self.m_blend.addAction(self.a_blend_plus)
        self.m_main.addAction(self.m_blend.menuAction())
        self.m_main.addAction(self.m_rect.menuAction())
        self.m_main.addAction(self.a_bg_color)
        self.m_main.addSeparator()
        self.m_main.addAction(self.a_close)
        self.menuBar.addAction(self.m_main.menuAction())

        self.retranslateUi(ScreenWindow)
        self.a_close.triggered.connect(ScreenWindow.close) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ScreenWindow)

    def retranslateUi(self, ScreenWindow):
        _translate = QtCore.QCoreApplication.translate
        ScreenWindow.setWindowTitle(_translate("ScreenWindow", "屏幕窗口"))
        self.m_main.setTitle(_translate("ScreenWindow", "主菜单"))
        self.m_rect.setTitle(_translate("ScreenWindow", "矩形"))
        self.m_blend.setTitle(_translate("ScreenWindow", "混合模式"))
        self.a_close.setText(_translate("ScreenWindow", "关闭"))
        self.a_close.setShortcut(_translate("ScreenWindow", "Ctrl+W"))
        self.a_rect.setText(_translate("ScreenWindow", "图像矩形"))
        self.a_blend.setText(_translate("ScreenWindow", "混合模式"))
        self.a_rect_draw.setText(_translate("ScreenWindow", "是否显示"))
        self.a_rect_color.setText(_translate("ScreenWindow", "设置颜色"))
        self.a_blend_normal.setText(_translate("ScreenWindow", "普通"))
        self.actionBlend_add.setText(_translate("ScreenWindow", "blend_add"))
        self.actionBlend_plus.setText(_translate("ScreenWindow", "blend_plus"))
        self.a_blend_plus.setText(_translate("ScreenWindow", "颜色加"))
        self.a_bg_color.setText(_translate("ScreenWindow", "设置背景色"))
