📄 search2.cpp
字号:
/****************************************************************************** Form implementation generated from reading ui file 'Search2.ui'**** Created: 星期三 六月 27 07:23:39 2007** by: The User Interface Compiler ()**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "Search2.h"#include <qvariant.h>#include <qpushbutton.h>#include <qlineedit.h>#include <qlayout.h>#include <qtooltip.h>#include <qwhatsthis.h>#include <qimage.h>#include <qpixmap.h>#include "Search2.ui.h"/* * Constructs a Form6 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. */Form6::Form6( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ){ if ( !name ) setName( "Form6" ); pushButton142 = new QPushButton( this, "pushButton142" ); pushButton142->setGeometry( QRect( 170, 70, 99, 27 ) ); lineEdit97 = new QLineEdit( this, "lineEdit97" ); lineEdit97->setGeometry( QRect( 50, 20, 240, 21 ) ); lineEdit97->setFrameShape( QLineEdit::LineEditPanel ); lineEdit97->setFrameShadow( QLineEdit::Sunken ); pushButton141 = new QPushButton( this, "pushButton141" ); pushButton141->setGeometry( QRect( 60, 70, 99, 27 ) ); languageChange(); resize( QSize(334, 119).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections connect( pushButton142, SIGNAL( clicked() ), this, SLOT( close() ) ); connect( pushButton141, SIGNAL( clicked() ), this, SLOT( quitBy() ) );}/* * Destroys the object and frees any allocated resources */Form6::~Form6(){ // no need to delete child widgets, Qt does it all for us}/* * Sets the strings of the subwidgets using the current * language. */void Form6::languageChange(){ setCaption( tr( "SEARCH" ) ); pushButton142->setText( tr( "Cancel" ) ); pushButton141->setText( tr( "Search" ) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -