⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 insertdialogform.cpp

📁 本代码采用嵌入式qt编写
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'insertdialogform.ui'**** Created: Wed Apr 26 17:06:15 2006**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "insertdialogform.h"#include <qcombobox.h>#include <qheader.h>#include <qlabel.h>#include <qlistview.h>#include <qmultilineedit.h>#include <qpushbutton.h>#include <qlayout.h>#include <qvariant.h>#include <qtooltip.h>#include <qwhatsthis.h>/*  *  Constructs a InsertDialogForm which is 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. */InsertDialogForm::InsertDialogForm( QWidget* parent,  const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "InsertDialogForm" );    resize( 280, 353 );     setCaption( tr( "Insert Dialog" ) );    fieldMultiEdit = new QMultiLineEdit( this, "fieldMultiEdit" );    fieldMultiEdit->setGeometry( QRect( 140, 80, 130, 210 ) );     tableFieldLabel = new QLabel( this, "tableFieldLabel" );    tableFieldLabel->setGeometry( QRect( 20, 40, 80, 30 ) );     tableFieldLabel->setText( tr( "Table Names" ) );    tableFieldLabel->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignLeft ) );    tableListView = new QListView( this, "tableListView" );    tableListView->addColumn( tr( "Table" ) );    tableListView->setGeometry( QRect( 20, 80, 110, 210 ) );     FieldValuesLabel = new QLabel( this, "FieldValuesLabel" );    FieldValuesLabel->setGeometry( QRect( 130, 40, 121, 28 ) );     FieldValuesLabel->setText( tr( "Input Field Values" ) );    FieldValuesLabel->setAlignment( int( QLabel::AlignCenter ) );    tableComboBox = new QComboBox( FALSE, this, "tableComboBox" );    tableComboBox->setGeometry( QRect( 140, 10, 121, 27 ) );     tableLabel = new QLabel( this, "tableLabel" );    tableLabel->setGeometry( QRect( 0, 0, 121, 38 ) );     tableLabel->setText( tr( "Table Select" ) );    tableLabel->setAlignment( int( QLabel::AlignCenter ) );    okButton = new QPushButton( this, "okButton" );    okButton->setGeometry( QRect( 150, 300, 120, 40 ) );     okButton->setText( tr( "Ok" ) );    cancelButton = new QPushButton( this, "cancelButton" );    cancelButton->setGeometry( QRect( 20, 300, 120, 40 ) );     cancelButton->setText( tr( "Cancel" ) );}/*   *  Destroys the object and frees any allocated resources */InsertDialogForm::~InsertDialogForm(){    // no need to delete child widgets, Qt does it all for us}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -