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

📄 createdialogform.cpp

📁 本代码采用嵌入式qt编写
💻 CPP
字号:
/****************************************************************************** Form implementation generated from reading ui file 'createdialogform.ui'**** Created: Wed Apr 26 17:06:04 2006**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include "createdialogform.h"#include <qlabel.h>#include <qlineedit.h>#include <qmultilineedit.h>#include <qpushbutton.h>#include <qlayout.h>#include <qvariant.h>#include <qtooltip.h>#include <qwhatsthis.h>/*  *  Constructs a CreateDialogForm 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. */CreateDialogForm::CreateDialogForm( QWidget* parent,  const char* name, bool modal, WFlags fl )    : QDialog( parent, name, modal, fl ){    if ( !name )	setName( "CreateDialogForm" );    resize( 247, 281 );     setCaption( tr( "Create Dialog" ) );    cancelButton = new QPushButton( this, "cancelButton" );    cancelButton->setGeometry( QRect( 10, 220, 110, 50 ) );     cancelButton->setText( tr( "Cancel" ) );    okButton = new QPushButton( this, "okButton" );    okButton->setGeometry( QRect( 120, 220, 110, 50 ) );     okButton->setText( tr( "Ok" ) );    fieldNameMultiEdit = new QMultiLineEdit( this, "fieldNameMultiEdit" );    fieldNameMultiEdit->setGeometry( QRect( 80, 40, 150, 180 ) );     valuesLabel = new QLabel( this, "valuesLabel" );    valuesLabel->setGeometry( QRect( 10, 40, 64, 16 ) );     valuesLabel->setText( tr( "Field Name" ) );    tableLabel = new QLabel( this, "tableLabel" );    tableLabel->setGeometry( QRect( 12, 2, 70, 30 ) );     tableLabel->setText( tr( "Table Name" ) );    tableEdit = new QLineEdit( this, "tableEdit" );    tableEdit->setGeometry( QRect( 90, 10, 140, 30 ) ); }/*   *  Destroys the object and frees any allocated resources */CreateDialogForm::~CreateDialogForm(){    // no need to delete child widgets, Qt does it all for us}

⌨️ 快捷键说明

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