25 lines
704 B
C++
25 lines
704 B
C++
#include "CreateDatabaseDialog.h"
|
|
#include "ui_CreateDatabaseDialog.h"
|
|
|
|
CreateDatabaseDialog::CreateDatabaseDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::CreateDatabaseDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
CreateDatabaseDialog::~CreateDatabaseDialog()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
//CREATE DATABASE name
|
|
// [ [ WITH ] [ OWNER [=] user_name ]
|
|
// [ TEMPLATE [=] template ]
|
|
// [ ENCODING [=] encoding ]
|
|
// [ LC_COLLATE [=] lc_collate ]
|
|
// [ LC_CTYPE [=] lc_ctype ]
|
|
// [ TABLESPACE [=] tablespace_name ]
|
|
// [ ALLOW_CONNECTIONS [=] allowconn ]
|
|
// [ CONNECTION LIMIT [=] connlimit ]
|
|
// [ IS_TEMPLATE [=] istemplate ] ]
|