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

📄 hello.cpp

📁 基于Linux的c语言编程_"完全手册Linux系统下C源程序开发详解"
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'hello.ui'**** Created by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "hello.h"#include <qvariant.h>#include <qlabel.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>/* *  Constructs a hello as a child of 'parent', with the *  name 'name' and widget flags set to 'f'. * *  The dialog will by default be modeless, unless you set 'modal' to *  TRUE to construct a modal dialog. */hello::hello( QWidget* parent, const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "hello" );    textLabel1 = new QLabel( this, "textLabel1" );    textLabel1->setGeometry( QRect( 30, 100, 150, 40 ) );    QFont textLabel1_font(  textLabel1->font() );    textLabel1_font.setFamily( "Baekmuk Gulim" );    textLabel1_font.setPointSize( 18 );    textLabel1->setFont( textLabel1_font );     languageChange();    resize( QSize(481, 304).expandedTo(minimumSizeHint()) );    clearWState( WState_Polished );}/* *  Destroys the object and frees any allocated resources */hello::~hello(){    // no need to delete child widgets, Qt does it all for us}/* *  Sets the strings of the subwidgets using the current *  language. */void hello::languageChange(){    setCaption( tr( "hello" ) );    textLabel1->setText( tr( "hello ,world ." ) );}

⌨️ 快捷键说明

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