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

📄 interface-base.ui.h

📁 LinPacker是一个优化矩形布局的工具
💻 H
字号:
/*************************************************************************** *   Copyright (C) 2003 by ita                                             * *   tnagy@eleve.emn.fr                                                    * *                                                                         * *   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 <qmessagebox.h>#include "images/LP-pixmap.xpm"#include "config.h"void Form1::init(){}void Form1::fileNew(){}void Form1::fileOpen(){}void Form1::fileSave(){}void Form1::fileSaveAs(){}void Form1::filePrint(){}void Form1::fileExit(){	destroy();	exit(0);}void Form1::editUndo(){}void Form1::editRedo(){}void Form1::editCut(){}void Form1::editCopy(){}void Form1::editPaste(){}void Form1::editFind(){}void Form1::helpAbout(){	/*	   QMessageBox::information( this, tr("About LinPacker"),	   tr("LinPacker is a 2D bin packing tool<br>"	   "Copyright 2002-2003 Ita (tnagy@eleve.emn.fr)<br>"	   "Licenced under the GPL<br><br>"	   "http://linpacker.tuxfamily.org/"	   ),	   tr("Nice !")	   );	   */	QString aboutLPmsg(			tr("LinPacker is a tool for 2D bin packing<br>"				"It can be useful for cutting stocks in trucks and factories<br><br>"				"Copyright 2002-2003 Ita (tnagy@eleve.emn.fr)<br>"				"Licenced under the GPL<br><br>"				"http://linpacker.tuxfamily.org/"			  )			);	QMessageBox * aboutLP = new QMessageBox( tr("About LinPacker") , aboutLPmsg,			QMessageBox::Information,			QMessageBox::Ok,			0, 0, 0, 0 );	aboutLP->setIconPixmap ( QPixmap(LP)  );	aboutLP->setButtonText ( 0 , tr("Nice !") );	aboutLP->show();	aboutLP->raise();}void Form1::helpAboutQt(){	QMessageBox::aboutQt( this, "LinPacker" );}void Form1::dessiner(){}void Form1::redessiner(){}void Form1::confSlot(){confDialog * dlg1 = new  confDialog(this,0,1);dlg1->show();dlg1->raise();}

⌨️ 快捷键说明

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