📄 colform.cpp
字号:
/****************************************************************************** Form implementation generated from reading ui file 'colform.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 "colform.h"#include <qvariant.h>#include <qpushbutton.h>#include <qframe.h>#include <qlineedit.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>#include "../colform.ui.h"/* * Constructs a colForm 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. */colForm::colForm( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ){ if ( !name ) setName( "colForm" ); colFormLayout = new QVBoxLayout( this, 11, 6, "colFormLayout"); frame34 = new QFrame( this, "frame34" ); frame34->setFrameShape( QFrame::StyledPanel ); frame34->setFrameShadow( QFrame::Raised ); frame34Layout = new QVBoxLayout( frame34, 11, 6, "frame34Layout"); lineEdit11 = new QLineEdit( frame34, "lineEdit11" ); frame34Layout->addWidget( lineEdit11 ); pushButton14 = new QPushButton( frame34, "pushButton14" ); frame34Layout->addWidget( pushButton14 ); colFormLayout->addWidget( frame34 ); languageChange(); resize( QSize(368, 163).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections connect( pushButton14, SIGNAL( clicked() ), this, SLOT( ButtonOK() ) );}/* * Destroys the object and frees any allocated resources */colForm::~colForm(){ // no need to delete child widgets, Qt does it all for us}/* * Sets the strings of the subwidgets using the current * language. */void colForm::languageChange(){ setCaption( tr( "Input the Col's name" ) ); pushButton14->setText( tr( "OK" ) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -