X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsqlsettingsdialog.cpp;h=0decb0346675fe3e6e9e25b11600ef5cb873fdd8;hb=15ddd5e72395cea4b72d96563ec2ad8169f4c0cf;hp=30b1a53ba5cfebc966f6fe03d67b58997b2bb00e;hpb=f3116511d09acfd5b32d3412c82c4337d89f2ad9;p=schematic diff --git a/src/sqlsettingsdialog.cpp b/src/sqlsettingsdialog.cpp index 30b1a53..0decb03 100644 --- a/src/sqlsettingsdialog.cpp +++ b/src/sqlsettingsdialog.cpp @@ -18,27 +18,31 @@ SQLSettingsDialog::SQLSettingsDialog(QWidget * parent/*= 0*/): QDialog(parent), edit1(new QLineEdit()), edit2(new QLineEdit()), edit3(new QLineEdit()), - edit4(new QLineEdit()) + edit4(new QLineEdit()), + edit5(new QLineEdit()) { connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); - edit4->setEchoMode(QLineEdit::Password); + edit5->setEchoMode(QLineEdit::Password); QFormLayout * formLayout = new QFormLayout; - formLayout->addRow(tr("&MySQL Server Hostname:"), edit1); - formLayout->addRow(tr("&Database Name:"), edit2); - formLayout->addRow(tr("&Database Username:"), edit3); - formLayout->addRow(tr("&Database Password:"), edit4); + formLayout->addRow(tr("&Database Driver:"), edit1); + formLayout->addRow(tr("&Database Server Hostname:"), edit2); + formLayout->addRow(tr("&Database Name:"), edit3); + formLayout->addRow(tr("&Database Username:"), edit4); + formLayout->addRow(tr("&Database Password:"), edit5); QVBoxLayout * mainLayout = new QVBoxLayout; mainLayout->addLayout(formLayout); mainLayout->addWidget(buttonBox); setLayout(mainLayout); - setWindowTitle(tr("MySQL Server Connection")); + setWindowTitle(tr("SQL Server Connection")); } + SQLSettingsDialog::~SQLSettingsDialog() { } +