main.cpp

来自「將Verilog設計轉成VHDL設計的程式」· C++ 代码 · 共 35 行

CPP
35
字号
/***************************************************************************                          main.cpp  -  description                             -------------------    begin                : Tue May 23 00:39:52 EEST 2000    copyright            : (C) 2000 by     email                :  ***************************************************************************//*************************************************************************** *                                                                         * *   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.                                   * *                                                                         * ***************************************************************************/#include <qapplication.h>#include <qfont.h>#include "mywindow.h"int main(int argc, char *argv[]){  QApplication a(argc, argv);  a.setFont(QFont("helvetica", 12));	MyWindow *mw=new MyWindow(NULL,"VL");	a.setMainWidget(mw);	mw->setGeometry( 100, 100, 640, 480 );	mw->init();	mw->show();  return a.exec();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?