1 Star 0 Fork 1

重楼/moyu

forked from 成龙/moyu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
testWin.py 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
成龙 提交于 2023-06-06 20:18 . 4
# from PyQt5.QtWidgets import QApplication, QWidget
from PySide6 import QtCore, QtWidgets, QtGui
import sys
i = 1
root = None
window = None
def openTestWin():
# global window
# print(window)
# app = QApplication(sys.argv)
# app = QtWidgets.QApplication([])
window = QtWidgets()
window.show()
# app.exec()
# window.
# A = app.destroyed
# print(A)
# <bound PYQT_SIGNAL destroyed of QApplication object at 0x00000298C6400CA0>
# app.exec()
# asd = 123
# global i
# global root
# # print(root)
# try:
# if root != None:
# # root.attributes("-topmost", True)
# # root.attributes("-topmost", False)
# root.focus_force()
# return
# except:
# print("窗口关闭了")
# print("openConfigWin",i)
# # i = i +1
# i += 1
# root = Tk()
#
# root.title('生成英语填空')
# fm1 = Frame()
# Label(fm1, text='选择文件:').grid(row=0, column=0, sticky='n')
# root.focus_force()
# root.mainloop() # 进入消息循环
# def closeConfigWin():
# global root
# try:
# if root != None:
# root.quit()
# return
# except:
# print("窗口关闭了")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/chong_lou/moyu.git
[email protected]:chong_lou/moyu.git
chong_lou
moyu
moyu
master

搜索帮助