1 Star 0 Fork 1

robin6974/QSweepTerminal

forked from FiberCOMM/QSweepTerminal 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
QSweepTerminal.py 754 Bytes
一键复制 编辑 原始数据 按行查看 历史
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'QSweepTerminal'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!
import sys
import mainwindow
from PyQt5.QtWidgets import QApplication
from PyQt5.QtGui import QIcon, QPixmap
def readQSS(file):
with open(file, 'r') as f:
return f.read()
if __name__ == '__main__':
app = QApplication(sys.argv)
qss_file = "./qss/Obit.qss"
qss = readQSS(qss_file)
app.setStyleSheet(qss)
MainWindow = mainwindow.MainWindow()
icon = QIcon()
icon.addPixmap(QPixmap("logo.ico"), QIcon.Normal, QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.showMaximized()
sys.exit(app.exec_())
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/robin6974/QSweepTerminal.git
git@gitee.com:robin6974/QSweepTerminal.git
robin6974
QSweepTerminal
QSweepTerminal
master

搜索帮助