当前位置:网站首页>QT sub window is blocked, and the main window cannot be clicked after the sub window pops up
QT sub window is blocked, and the main window cannot be clicked after the sub window pops up
2022-07-03 09:28:00 【Ice V Che】
Three ways
1, dialog->setWindowModality(Qt::ApplicationModal);
2, dialog->exec(); // This needs to be ordered twice , I haven't found the reason for this
3, dialog->setModal(true);// This is easy to use
But it must be placed in dialog->show(); Before
边栏推荐
- CATIA automation object architecture - detailed explanation of application objects (III) systemservice
- LeetCode每日一题(1300. Sum of Mutated Array Closest to Target)
- Vscode编辑器右键没有Open In Default Browser选项
- Jenkins learning (II) -- setting up Chinese
- LeetCode每日一题(1856. Maximum Subarray Min-Product)
- LeetCode每日一题(931. Minimum Falling Path Sum)
- [kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
- Serializer rewrite: update and create methods
- Overview of image restoration methods -- paper notes
- Problems in the implementation of lenet
猜你喜欢
[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
Install third-party libraries such as Jieba under Anaconda pytorch
【Kotlin学习】运算符重载及其他约定——重载算术运算符、比较运算符、集合与区间的约定
Hudi quick experience (including detailed operation steps and screenshots)
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
Hudi learning notes (III) analysis of core concepts
2022-2-14 learning xiangniuke project - generate verification code
[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs
Crawler career from scratch (3): crawl the photos of my little sister ③ (the website has been disabled)
随机推荐
Flink学习笔记(八)多流转换
Spark 概述
[kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
[advanced feature learning on point clouds using multi resolution features and learning]
Solve the problem of disordered code in vscode development, output Chinese and open source code
Flink-CDC实践(含实操步骤与截图)
Uc/os self-study from 0
Explanation of the answers to the three questions
LeetCode每日一题(1162. As Far from Land as Possible)
The less successful implementation and lessons of RESNET
Overview of database system
Beego learning - Tencent cloud upload pictures
[point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds
Liteide is easy to use
Database execution error: SQL_ mode only_ full_ group_ by:
LeetCode每日一题(2115. Find All Possible Recipes from Given Supplies)
【Kotlin学习】高阶函数的控制流——lambda的返回语句和匿名函数
Notes on numerical analysis (II): numerical solution of linear equations
Crawler career from scratch (V): detailed explanation of re regular expression
ERROR: certificate common name “*.” doesn’t match requested ho