sipb_main.cpp
来自「sip torture test tools」· C++ 代码 · 共 45 行
CPP
45 行
//sipb_main.cpp//Copyright (C) 2003 Metalink LTD//Author: Rodionov Sergey (seger@metalinkltd.com)//This program is distributed under terms of GPL (see LICENSE)/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */#include <qtabwidget.h>#include <qapplication.h>#include <qlabel.h>#include <stdexcept>#include "qsipb_stmanager.h"#include "qsipb_handtest.h"#include "qsipb_gen.h"using namespace std;int main(int argc,char**argv){ srandom(time(NULL)); QApplication* a=new QApplication(argc,argv); qsipb_gen* gentab=new qsipb_gen(0); a->setMainWidget(gentab); gentab->resize(1024,768); gentab->show(); a->connect(a,SIGNAL(lastWindowClosed()),a,SLOT(quit())); a->connect(gentab,SIGNAL(is_want_quit()),a,SLOT(quit())); return a->exec();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?