当前位置:网站首页>关闭独立窗口对其他窗口同时关闭的问题
关闭独立窗口对其他窗口同时关闭的问题
2022-07-28 14:29:00 【飞天_】
如果设置QMainWindow的flag属性有Qt::Tool,那么只要程序中出现了独立的窗口,当关闭该独立窗口的时候QMainWindow也会被关闭
解决方法:
1将独立窗口的父对象设置为QMainWindow
2不设置QMainWindow的flag属性有Qt::Tool
3不使用QMainWindow窗口,使用其他的QWidget窗口
边栏推荐
- .net core 2.2 版本跨域配置
- day 7/12
- An idea of modifying vertex height with shader vertex shader
- 2021-06-29
- Introduction to grpc
- Here comes the full open source free customer service system
- crmeb 标准版window+phpstudy8安装教程(二)
- 【通道注意力机制】SENet
- 2022-07-28日报:Science:AI设计蛋白质再获突破,可设计特定功能性蛋白质
- Installing CONDA and configuring Jupiter
猜你喜欢
随机推荐
Leetcode - sliding window extremum, search tree postorder traversal, statistical difference pairs, dividing equal subsets
Cross domain problems in the configuration of.Net core version 3.1
Understand crmeb open source online education knowledge payment system
2022-07-28日报:Science:AI设计蛋白质再获突破,可设计特定功能性蛋白质
mysql 8.0常用(持续更新)
Data synchronization of new version
7、实时数据备份和实时时钟相关定义
MySQL 8.0 common (continuous update)
知识付费开源系统
Ry-d1/1 voltage relay
What are the functions to be added in crmeb pro2.2?
PMP practice once a day | don't get lost in the exam -7.28 (including agility + multiple choices)
百度提出动态自蒸馏方法,结合交互模型与双塔模型实现稠密段落检索
3588. Permutation and binary
22、电文处理任务实现
21、电文处理任务定义
I heard that many merchants of crmeb have added the function of planting grass?
ERROR:bokeh.core.validation. check:E-1001 (BAD_COLUMN_NAME)
ERROR:bokeh.core.validation.check:E-1001 (BAD_COLUMN_NAME)
Pycharm - output exception of program run and default comment of added function









