1
/***************************************************************************
2
qgsconnectiondialog.h - description
4
begin : Thu Dec 10 2003
5
copyright : (C) 2003 by Denis Antipov
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef QGSCONNECTIONDIALOG_H
19
#define QGSCONNECTIONDIALOG_H
21
// $Id: qgsconnectiondialog.h 4949 2006-03-03 01:47:39Z wonder $
23
#include "ui_qgsconnectiondialogbase.h"
26
class QgsConnectionDialog : public QDialog, private Ui::QgsConnectionDialogBase
31
QgsConnectionDialog(QWidget *parent = 0, const QString& connName = QString::null, Qt::WFlags fl = QgisGui::ModalDialogFlags);
32
~QgsConnectionDialog();
33
void testConnection();
34
void saveConnection();
39
void on_btnOk_clicked() { saveConnection(); }
40
void on_btnCancel_clicked() { done(1); }
41
void on_btnHelp_clicked() { helpInfo(); }
42
void on_btnConnect_clicked() { testConnection(); }