mainsub.cpp
来自「This a framework to test new ideas in tr」· C++ 代码 · 共 15 行
CPP
15 行
#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 + =
减小字号Ctrl + -
显示快捷键?