摘要:
程序意外崩溃或者自然关闭,执行制定函数 #include <cstdlib> #include <iostream> using namespace std; void customized_exit() { printf("exit main to execute\n"); } int main( 阅读全文
摘要:
1. 通过过滤器组合Control + Enter 按键 bool MainWindow::eventFilter(QObject *watched, QEvent *event) { if(event->type()==event->KeyPress) { QKeyEvent *keyEvent 阅读全文