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

📄 aboutdlg.cpp

📁 Linux下的C、C++ IDE
💻 CPP
字号:
#include "aboutdlg.h"#include "portdef.h"#include <qpushbutton.h>#include <qlayout.h>#include <qhbox.h>#include <qpixmap.h>#include <qlabel.h>AboutDlg::AboutDlg(QWidget *parent, const char *name)	: QDialog(parent, name){	QVBoxLayout *vbox = new QVBoxLayout(this);	vbox->setSpacing(5);	QPixmap pm((QString) getenv("HIDEPATH") + FILE_SEP +		"img" + FILE_SEP + "logo.jpg");	QLabel *lblSplash = new QLabel("", this);	lblSplash->setPixmap(pm);	vbox->addWidget(lblSplash);	QHBox *hbox = new QHBox(this);	hbox->setMaximumWidth(100);	QString msg = (QString)		"<br>" +		"<b>Developed By:</b><br>" +		"James Martin (boolean_machine@yahoo.com)<br><br>" +		"<b>Special Thanx...</b><br><br>" +		"<ul>" +		"<li>SourceForge.net for hosting the project." +		"<li>All the programmer\'s from Yahoo! Programming:1<br>" +		"for their feature suggestions\\complaints." +		"<li>Maxwell House coffee, hIDE would not exist<br>" +		"without that =)";		"</ul>";	QLabel *lblMsg = new QLabel(msg, this);	lblMsg->setTextFormat(Qt::RichText);	vbox->addWidget(lblMsg);	QPushButton *ok = new QPushButton("Close", hbox);	ok->setDefault(true);	QObject::connect(ok, SIGNAL(clicked()), this, SLOT(verify()));	vbox->addWidget(hbox);	setCaption("About hIDE");}int AboutDlg::exec(){	return QDialog::exec();}void AboutDlg::verify(){	accept();}

⌨️ 快捷键说明

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