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

📄 form1.cpp

📁 这是一个在redhat9 linux系统中
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'form1.ui'**** Created: 四  6月 21 13:34:06 2007**      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.2   edited Dec 19 11:45 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "form1.h"#include <qvariant.h>#include <qlineedit.h>#include <qpushbutton.h>#include <qlabel.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>#include "form1.ui.h"/*  *  Constructs a Form1 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. */Form1::Form1( QWidget* parent, const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "Form1" );    QFont f( font() );    setFont( f );     lineEdit3 = new QLineEdit( this, "lineEdit3" );    lineEdit3->setGeometry( QRect( 10, 10, 230, 30 ) );    QFont lineEdit3_font(  lineEdit3->font() );    lineEdit3_font.setFamily( "Zysong18030" );    lineEdit3_font.setPointSize( 11 );    lineEdit3->setFont( lineEdit3_font );     lineEdit3->setReadOnly( TRUE );    pushButton4 = new QPushButton( this, "pushButton4" );    pushButton4->setGeometry( QRect( 10, 50, 230, 50 ) );    QFont pushButton4_font(  pushButton4->font() );    pushButton4_font.setFamily( "Zysong18030" );    pushButton4_font.setPointSize( 11 );    pushButton4->setFont( pushButton4_font );     pushButton4->setToggleButton( FALSE );    pushButton4->setDefault( TRUE );    textLabel1 = new QLabel( this, "textLabel1" );    textLabel1->setGeometry( QRect( 60, 100, 140, 20 ) );    QFont textLabel1_font(  textLabel1->font() );    textLabel1_font.setFamily( "Courier" );    textLabel1_font.setPointSize( 9 );    textLabel1->setFont( textLabel1_font );     languageChange();    resize( QSize(286, 170).expandedTo(minimumSizeHint()) );    clearWState( WState_Polished );    // signals and slots connections    connect( pushButton4, SIGNAL( clicked() ), this, SLOT( ChangeGateway() ) );    init();}/* *  Destroys the object and frees any allocated resources */Form1::~Form1(){    // no need to delete child widgets, Qt does it all for us}/* *  Sets the strings of the subwidgets using the current *  language. */void Form1::languageChange(){    setCaption( trUtf8( "网关切换" ) );    pushButton4->setText( trUtf8( "错误" ) );    textLabel1->setText( tr( "Designed for <u>ykfcof</u>" ) );}

⌨️ 快捷键说明

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