📄 jbxxbase.cpp
字号:
/****************************************************************************
** Form implementation generated from reading ui file 'jbxxBase.ui'
**
** Created: Mon Mar 5 14:25:03 2007
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "jbxxBase.h"
#include <qcombobox.h>
#include <qheader.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>
/*
* Constructs a JbxxBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
JbxxBase::JbxxBase( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
if ( !name )
setName( "JbxxBase" );
resize( 272, 335 );
setSizeIncrement( QSize( 0, 0 ) );
setCaption( tr( "JiBenXinXi" ) );
le_CheCi = new QLineEdit( this, "le_CheCi" );
le_CheCi->setGeometry( QRect( 60, 50, 60, 23 ) );
TextLabel3 = new QLabel( this, "TextLabel3" );
TextLabel3->setGeometry( QRect( 10, 50, 40, 20 ) );
TextLabel3->setText( tr( "CheCi:" ) );
TextLabel5 = new QLabel( this, "TextLabel5" );
TextLabel5->setGeometry( QRect( 130, 80, 30, 20 ) );
TextLabel5->setText( tr( "Sw:" ) );
le_CheHao = new QLineEdit( this, "le_CheHao" );
le_CheHao->setGeometry( QRect( 60, 80, 60, 23 ) );
TextLabel4 = new QLabel( this, "TextLabel4" );
TextLabel4->setGeometry( QRect( 10, 80, 50, 20 ) );
TextLabel4->setText( tr( "CheHao:" ) );
TextLabel2 = new QLabel( this, "TextLabel2" );
TextLabel2->setGeometry( QRect( 110, 10, 30, 20 ) );
TextLabel2->setText( tr( "Gd:" ) );
TextLabel1 = new QLabel( this, "TextLabel1" );
TextLabel1->setGeometry( QRect( 10, 10, 30, 20 ) );
TextLabel1->setText( tr( "Jjss:" ) );
pb_NewCheCi = new QPushButton( this, "pb_NewCheCi" );
pb_NewCheCi->setGeometry( QRect( 20, 250, 90, 32 ) );
pb_NewCheCi->setText( tr( "New CheCi" ) );
pb_NewCheHao = new QPushButton( this, "pb_NewCheHao" );
pb_NewCheHao->setGeometry( QRect( 120, 250, 90, 32 ) );
pb_NewCheHao->setText( tr( "New CheHao" ) );
le_Jjss = new QLineEdit( this, "le_Jjss" );
le_Jjss->setGeometry( QRect( 60, 10, 50, 23 ) );
cb_Sw = new QComboBox( FALSE, this, "cb_Sw" );
cb_Sw->setGeometry( QRect( 160, 80, 60, 27 ) );
le_Gd = new QLineEdit( this, "le_Gd" );
le_Gd->setGeometry( QRect( 140, 10, 80, 23 ) );
lv_Sxff = new QListView( this, "lv_Sxff" );
lv_Sxff->addColumn( tr( "ID" ) );
lv_Sxff->addColumn( tr( "Name" ) );
QListViewItem * item = new QListViewItem( lv_Sxff, 0 );
item->setText( 0, tr( "0" ) );
item->setText( 1, tr( "00" ) );
item = new QListViewItem( lv_Sxff, item );
item->setText( 0, tr( "1" ) );
item->setText( 1, tr( "11" ) );
lv_Sxff->setGeometry( QRect( 10, 110, 220, 130 ) );
// tab order
setTabOrder( le_Jjss, le_Gd );
setTabOrder( le_Gd, le_CheCi );
setTabOrder( le_CheCi, le_CheHao );
setTabOrder( le_CheHao, cb_Sw );
setTabOrder( cb_Sw, pb_NewCheCi );
setTabOrder( pb_NewCheCi, pb_NewCheHao );
}
/*
* Destroys the object and frees any allocated resources
*/
JbxxBase::~JbxxBase()
{
// no need to delete child widgets, Qt does it all for us
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -