# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'guajiv3.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.
import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import QDateTime, Qt
from PyQt5.QtGui import QPalette, QBrush, QPixmap
from PyQt5.QtWidgets import QMessageBox
import PyHook3
import os
# 判断当前目录内有没有background文件夹,如果没有则创建
path1 = './background/'
lujing = os.path.exists(path1)
if not lujing:
os.mkdir(path1)
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(300, 120)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("./background/suo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Form.setWindowIcon(icon)
self.verticalLayout = QtWidgets.QVBoxLayout(Form)
self.verticalLayout.setObjectName("verticalLayout")
spacerItem = QtWidgets.QSpacerItem(17, 427, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem1)
self.label_6 = QtWidgets.QLabel(Form)
self.label_6.setStyleSheet("font: 28pt \"Arial\";\n"
"color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0 rgba(0, 0, 0, 255), "
"stop:0.19397 rgba(0, 0, 0, 255), stop:0.202312 rgba(122, 97, 0, 255), stop:0.495514 rgba(76, 58, 0, 255), "
"stop:0.504819 rgba(255, 255, 255, 255), stop:0.79 rgba(255, 255, 255, 255), stop:1 rgba(255, 158, 158, 255));")
self.label_6.setObjectName("label_6")
self.horizontalLayout_5.addWidget(self.label_6)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem2)
self.verticalLayout.addLayout(self.horizontalLayout_5)
spacerItem3 = QtWidgets.QSpacerItem(20, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem3)
self.label = QtWidgets.QLabel(Form)
self.label.setText("")
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.label_7 = QtWidgets.QLabel(Form)
self.label_7.setObjectName("label_7")
self.horizontalLayout_6.addWidget(self.label_7)
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem4)
self.pushButton_3 = QtWidgets.QPushButton(Form)
self.pushButton_3.setObjectName("pushButton_3")
self.horizontalLayout_6.addWidget(self.pushButton_3)
self.label_8 = QtWidgets.QLabel(Form)
self.label_8.setObjectName("label_8")
self.label_8.setStyleSheet("font: 18pt \"Arial\";""color: rgb(200, 0, 0);")
self.horizontalLayout_6.addWidget(self.label_8)
self.verticalLayout.addLayout(self.horizontalLayout_6)
self.horizontalScrollBar = QtWidgets.QScrollBar(Form)
self.horizontalScrollBar.setOrientation(QtCore.Qt.Horizontal)
self.horizontalScrollBar.setObjectName("horizontalScrollBar")
self.verticalLayout.addWidget(self.horizontalScrollBar)
self.groupBox = QtWidgets.QGroupBox(Form)
self.groupBox.setStyleSheet("font: 18pt \"Arial\";"
"color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(9, 41, 4, 255), "
"background-color: rgb(230, 230, 255);"
)
self.groupBox.setTitle("")
self.groupBox.setObjectName("groupBox")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
self.label_2 = QtWidgets.QLabel(self.groupBox)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
self.lineEdit = QtWidgets.QLineEdit(self.groupBox)
self.lineEdit.setEchoMode(QtWidgets.QLineEdit.Password)
self.lineEdit.setObjectName("lineEdit")
self.gridLayout.addWidget(self.lineEdit, 0, 1, 1, 1)
self.label_3 = QtWidgets.QLabel(self.groupBox)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox)
self.lineEdit_2.setEchoMode(QtWidgets.QLineEdit.Password)
self.lineEdit_2.setObjectName("lineEdit_2")
self.gridLayout.addWidget(self.lineEdit_2, 1, 1, 1, 1)
self.horizontalLayout.addLayout(self.gridLayout)
self.label_5 = QtWidgets.QLabel(self.groupBox)
self.label_5.setObjectName("label_5")
self.horizontalLayout.addWidget(self.label_5)
self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox)
self.lineEdit_4.setObjectName("lineEdit_4")
self.horizontalLayout.addWidget(self.lineEdit_4)
self.pushButton = QtWidgets.QPushButton(self.groupBox)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(16)
font.setBold(True)
font.setWeight(75)
self.pushButton.setFont(font)
self.pushButton.setStyleSheet("color: rgb(200, 0, 0);")
self.pushButton.setShortcut("")
self.pushButton.setCheckable(False)
self.pushButton.setObjectName("pushButton")
self.horizontalLayout.addWidget(self.pushButton)
self.horizontalLayout_3.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_4 = QtWidgets.QLabel(self.groupBox)
self.label_4.setObjectName("label_4")
self.horizontalLayout_2.addWidget(self.label_4)
self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox)
self.lineEdit_3.setEchoMode(QtWidgets.QLineEdit.Password)
self.lineEdit_3.setObjectName("lineEdit_3")
self.horizontalLayout_2.addWidget(self.lineEdit_3)
self.pushButton_2 = QtWidgets.QPushButton(self.groupBox)
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.pushButton_2.setFont(font)
self.pushButton_2.setStyleSheet("color: rgb(0, 0, 200);")
self.pushButton_2.setObjectName("pushButton_2")
self.label_4.setStyleSheet("font: 18pt \"Arial\";""color: rgb(200, 0, 0);")
self.label_5.setStyleSheet("font: 18pt \"Arial\";""color: rgb(200, 0, 0);")
self.label_7.setStyleSheet("font: 10pt \"Arial\";""color: rgb(200, 150, 200);")
self.lineEdit_3.setStyleSheet("font: 20pt \"Arial\";""color: rgb(150, 0, 0);")
self.lineEdit_4.setStyleSheet("
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
python3+pyqt5 源码 python挂机锁源码网络上不多,很有参考价值 注释超多,一看就懂 屏蔽按键 窗口背景更换 窗口透明设置 文件包含源码 及打包好的exe,背景图片 一个py文件,一个窗口搞定,不浪费资源。
资源推荐
资源详情
资源评论
收起资源包目录
guaji.rar (18个子文件)
guaji
guajiv3.exe 34.66MB
background
2.jpeg 292KB
rizhao.jpg 215KB
xkong.jpg 607KB
5.jpeg 120KB
装鬼.jpg 24KB
夜景.jpg 76KB
suo.ico 65KB
3.jpeg 393KB
4.jpeg 63KB
form.jpg 676KB
1u.jpg 113KB
7.jpeg 36KB
6.jpeg 85KB
dlksl.jpg 181KB
黑色.jpg 15KB
guajiv3.py 18KB
guajiv3.py 18KB
共 18 条
- 1
资源评论
- 陈怪兽S2022-11-26资源内容详尽,对我有使用价值,谢谢资源主的分享。
- m0_744171052023-07-20感谢大佬分享的资源给了我灵感,果断支持!感谢分享~
- abc2589891652023-04-14资源和描述一致,质量不错,解决了我的问题,感谢资源主。
jiang99357
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功