record-camera-and-screen/RecordHelp.py

110 lines
4.4 KiB
Python
Raw Normal View History

2018-04-18 09:15:20 +00:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'help.ui'
#
# Created by: PyQt5 UI code generator 5.10
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QWidget
class RecordHelp(QWidget):
def __init__(self, parent = None):
super(RecordHelp, self).__init__(parent)
self.setupUi()
def setupUi(self):
self.setObjectName("Form")
self.resize(386, 238)
icon = QtGui.QIcon()
2018-06-16 14:06:56 +00:00
icon.addPixmap(QtGui.QPixmap("../record-camera-and-screen/resource/gutin.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
2018-04-18 09:15:20 +00:00
self.setWindowIcon(icon)
self.frame = QtWidgets.QFrame(self)
self.frame.setGeometry(QtCore.QRect(60, 330, 229, 10))
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
2018-06-16 14:06:56 +00:00
self.verticalLayoutWidget = QtWidgets.QWidget(self)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 391, 241))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
2018-04-18 09:15:20 +00:00
self.verticalLayout.setObjectName("verticalLayout")
2018-06-16 14:06:56 +00:00
self.label = QtWidgets.QLabel(self.verticalLayoutWidget)
2018-04-18 09:15:20 +00:00
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
2018-06-16 14:06:56 +00:00
self.label_2 = QtWidgets.QLabel(self.verticalLayoutWidget)
2018-04-18 09:15:20 +00:00
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
2018-06-16 14:06:56 +00:00
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
2018-04-18 09:15:20 +00:00
self.label_2.setObjectName("label_2")
self.verticalLayout.addWidget(self.label_2)
2018-06-16 14:06:56 +00:00
self.label_3 = QtWidgets.QLabel(self.verticalLayoutWidget)
2018-04-18 09:15:20 +00:00
font = QtGui.QFont()
2018-06-16 14:06:56 +00:00
font.setFamily("Agency FB")
2018-04-18 09:15:20 +00:00
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_3.setFont(font)
2018-06-16 14:06:56 +00:00
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
2018-04-18 09:15:20 +00:00
self.label_3.setObjectName("label_3")
self.verticalLayout.addWidget(self.label_3)
2018-06-16 14:06:56 +00:00
self.label_4 = QtWidgets.QLabel(self.verticalLayoutWidget)
self.label_4.setBaseSize(QtCore.QSize(0, 0))
2018-04-18 09:15:20 +00:00
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
2018-06-16 14:06:56 +00:00
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
2018-04-18 09:15:20 +00:00
self.label_4.setObjectName("label_4")
self.verticalLayout.addWidget(self.label_4)
2018-06-16 14:06:56 +00:00
self.label_5 = QtWidgets.QLabel(self.verticalLayoutWidget)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_5.setFont(font)
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
self.label_5.setObjectName("label_5")
self.verticalLayout.addWidget(self.label_5)
self.label_6 = QtWidgets.QLabel(self.verticalLayoutWidget)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_6.setFont(font)
self.label_6.setAlignment(QtCore.Qt.AlignCenter)
self.label_6.setObjectName("label_6")
self.verticalLayout.addWidget(self.label_6)
2018-04-18 09:15:20 +00:00
self.retranslateUi()
QtCore.QMetaObject.connectSlotsByName(self)
def retranslateUi(self):
_translate = QtCore.QCoreApplication.translate
self.setWindowTitle(_translate("Form", "帮助"))
self.label.setText(_translate("Form", "Gutin谷田会议视频录播管理系统"))
self.label_2.setText(_translate("Form", "主要功能:录制屏幕和摄像头"))
2018-06-16 14:06:56 +00:00
self.label_3.setText(_translate("Form", "默认快捷键:"))
self.label_4.setText(_translate("Form", "录制摄像头Ctrl + Shfit + Alt + A"))
self.label_5.setText(_translate("Form", "录制屏幕Ctrl + Shift + Alt + B"))
self.label_6.setText(_translate("Form", "停止录制Ctrl + Shift + Alt + C"))
2018-04-18 09:15:20 +00:00
def showWindow(self):
if not self.isVisible():
self.show()
def closeEvent(self, event):
self.setVisible(False)
event.ignore()