Qt防连点 Author: 蒋胜达 Date: 七月 27, 2023 20:41 Category: 开发笔记 1234567891011// 避免连续点击static DWORD tick1 = 0;DWORD tick2 = GetTickCount();if (tick2 - tick1 > 200){ tick1 = tick2;}else{ return;} Tag(s): # Qt # C++ back · home Qt模态窗口点击窗外消失 Qt设置窗口居中显示