📄 signalform.cpp
字号:
/****************************************************************************** Form implementation generated from reading ui file 'signalform.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 "signalform.h"#include <qvariant.h>#include <qlabel.h>#include <qheader.h>#include <qlistview.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>/* * Constructs a signalForm 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. */signalForm::signalForm( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ){ if ( !name ) setName( "signalForm" ); setIcon( QPixmap::fromMimeSource( "process.png" ) ); signalFormLayout = new QGridLayout( this, 1, 1, 11, 6, "signalFormLayout"); layout19 = new QHBoxLayout( 0, 0, 6, "layout19"); textLabel10 = new QLabel( this, "textLabel10" ); layout19->addWidget( textLabel10 ); signaltextLabel = new QLabel( this, "signaltextLabel" ); layout19->addWidget( signaltextLabel ); signalFormLayout->addLayout( layout19, 0, 0 ); signallistView = new QListView( this, "signallistView" ); signallistView->addColumn( trUtf8( "\xe4\xbf\xa1\xe5\x8f\xb7\x20\x20\x20\x20\x20\x20\x20\x20" ) ); signallistView->addColumn( trUtf8( "\xe5\xa4\x84\xe7\x90\x86\xe6\x96\xb9\xe5\xbc\x8f\x20\x20\x20\x20\x20\x20\x20\x20\x20" "\x20\x20" ) ); signallistView->setSorting(-1,false); signalFormLayout->addWidget( signallistView, 1, 0 ); spacer16 = new QSpacerItem( 40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); signalFormLayout->addItem( spacer16, 2, 0 ); spacer15 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); signalFormLayout->addItem( spacer15, 1, 1 ); languageChange(); resize( QSize(255, 339).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished );}/* * Destroys the object and frees any allocated resources */signalForm::~signalForm(){ // no need to delete child widgets, Qt does it all for us}/* * Sets the strings of the subwidgets using the current * language. */void signalForm::languageChange(){ setCaption( trUtf8( "\x20\xe4\xbf\xa1\xe5\x8f\xb7\x20" ) ); textLabel10->setText( trUtf8( "\xe5\xbd\x93\xe5\x89\x8d\xe8\xbf\x9b\xe7\xa8\x8b\xef\xbc\x9a" ) ); signaltextLabel->setText( tr( "textLabel11" ) ); signallistView->header()->setLabel( 0, trUtf8( "\xe4\xbf\xa1\xe5\x8f\xb7\x20\x20\x20\x20\x20\x20\x20\x20" ) ); signallistView->header()->setLabel( 1, trUtf8( "\xe5\xa4\x84\xe7\x90\x86\xe6\x96\xb9\xe5\xbc\x8f\x20\x20\x20\x20\x20\x20\x20\x20\x20" "\x20\x20" ) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -