📄 hellobase.cpp
字号:
/****************************************************************************
** Form implementation generated from reading ui file 'helloBase.ui'
**
** Created: Sat Apr 21 00:52:20 2007
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "helloBase.h"
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
/*
* Constructs a HelloBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
HelloBase::HelloBase( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
if ( !name )
setName( "HelloBase" );
resize( 232, 208 );
setCaption( tr( "Form1" ) );
ok = new QPushButton( this, "ok" );
ok->setGeometry( QRect( 60, 80, 102, 30 ) );
ok->setText( tr( "PushButton1" ) );
}
/*
* Destroys the object and frees any allocated resources
*/
HelloBase::~HelloBase()
{
// no need to delete child widgets, Qt does it all for us
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -