⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.cpp

📁 Linux程序设计权威指南代码.包含所有章节代码
💻 CPP
字号:
/***************************************************************************                          main.cpp  -  description                             -------------------    begin                : 四 09 21 05:30:27 CST 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 "kdev.h"int main(int argc, char *argv[]){  QApplication a(argc, argv);  a.setFont(QFont("helvetica", 12));  KdevApp *kdev=new KdevApp();  a.setMainWidget(kdev);  kdev->show();  if(argc>1)    kdev->openDocumentFile(argv[1]);	else	  kdev->openDocumentFile();	  return a.exec();}

⌨️ 快捷键说明

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