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

📄 about.cpp

📁 一个linux进程管理器,具有以下功能: 管理系统的进程
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'about.ui'**** Created by: The User Interface Compiler ($Id: qt/main.cpp   3.3.6   edited Aug 31 2005 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "about.h"#include <qvariant.h>#include <qpushbutton.h>#include <qlabel.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>/* *  Constructs a About 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. */About::About( QWidget* parent, const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "About" );    AboutLayout = new QGridLayout( this, 1, 1, 11, 6, "AboutLayout");     spacer6 = new QSpacerItem( 40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );    AboutLayout->addItem( spacer6, 1, 0 );    spacer7 = new QSpacerItem( 20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );    AboutLayout->addItem( spacer7, 0, 1 );    spacer4 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );    AboutLayout->addItem( spacer4, 2, 1 );    spacer5 = new QSpacerItem( 40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );    AboutLayout->addItem( spacer5, 1, 2 );    layout5 = new QVBoxLayout( 0, 0, 6, "layout5");     layout2 = new QHBoxLayout( 0, 0, 6, "layout2");     textLabel5 = new QLabel( this, "textLabel5" );    QFont textLabel5_font(  textLabel5->font() );    textLabel5_font.setPointSize( 12 );    textLabel5->setFont( textLabel5_font );     layout2->addWidget( textLabel5 );    textLabel1 = new QLabel( this, "textLabel1" );    QFont textLabel1_font(  textLabel1->font() );    textLabel1_font.setPointSize( 12 );    textLabel1->setFont( textLabel1_font );     layout2->addWidget( textLabel1 );    layout5->addLayout( layout2 );    layout4 = new QVBoxLayout( 0, 0, 6, "layout4");     spacer13 = new QSpacerItem( 20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );    layout4->addItem( spacer13 );    layout3 = new QHBoxLayout( 0, 0, 6, "layout3");     textLabel2 = new QLabel( this, "textLabel2" );    QFont textLabel2_font(  textLabel2->font() );    textLabel2_font.setPointSize( 12 );    textLabel2->setFont( textLabel2_font );     layout3->addWidget( textLabel2 );    textLabel3 = new QLabel( this, "textLabel3" );    QFont textLabel3_font(  textLabel3->font() );    textLabel3_font.setPointSize( 12 );    textLabel3->setFont( textLabel3_font );     layout3->addWidget( textLabel3 );    layout4->addLayout( layout3 );    layout5->addLayout( layout4 );    AboutLayout->addLayout( layout5, 1, 1 );    languageChange();    resize( QSize(321, 160).expandedTo(minimumSizeHint()) );    clearWState( WState_Polished );}/* *  Destroys the object and frees any allocated resources */About::~About(){    // no need to delete child widgets, Qt does it all for us}/* *  Sets the strings of the subwidgets using the current *  language. */void About::languageChange(){    setCaption( trUtf8( "\xe5\x85\xb3\xe4\xba\x8e\x20" ) );    textLabel5->setText( trUtf8( "\xe5\x88\xb6\xe4\xbd\x9c\xe8\x80\x85\x3a" ) );    textLabel1->setText( trUtf8( "\xe8\x94\xa1\xe8\x85\xbe\xe8\x9b\x9f\x20\xe8\xb5\xb5\xe5\xb3\xb0" ) );    textLabel2->setText( tr( "2008-1-1" ) );    textLabel3->setText( trUtf8( "\xe7\x89\x88\xe6\x9d\x83\xe6\x89\x80\xe6\x9c\x89\x20" ) );}

⌨️ 快捷键说明

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