📄 mainsub.cpp
字号:
#include "mainsub.h"MainSub::MainSub( QWidget * parent, const char * name, WFlags f ): QMainWindow( parent, name, f ){}// The only purpose of this class: to send an event in case of closing...// Sad, but I didn't see how we could do it in another way.void MainSub::closeEvent( QCloseEvent *e ){ emit closing(); e->accept();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -