hellobase.cpp
来自「Qtopia链接Sqlite3数据库 Qtopia 2.2.0 Sqlite」· C++ 代码 · 共 42 行
CPP
42 行
/****************************************************************************
** 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 + =
减小字号Ctrl + -
显示快捷键?