pgLab/pglab/CreateDatabaseDialog.h

33 lines
600 B
C
Raw Normal View History

#ifndef CREATEDATABASEDIALOG_H
#define CREATEDATABASEDIALOG_H
#include <QDialog>
2022-05-24 18:54:13 +02:00
#include "catalog\PgDatabase.h"
class PgDatabaseCatalog;
namespace Ui {
class CreateDatabaseDialog;
}
class CreateDatabaseDialog : public QDialog
{
Q_OBJECT
public:
2022-05-24 18:54:13 +02:00
CreateDatabaseDialog(std::shared_ptr<PgDatabaseCatalog> catalog, QWidget *parent = 0);
~CreateDatabaseDialog();
2022-05-24 18:54:13 +02:00
private slots:
void on_tabWidget_currentChanged(int index);
private:
Ui::CreateDatabaseDialog *ui;
2022-05-24 18:54:13 +02:00
std::shared_ptr<PgDatabaseCatalog> m_catalog;
PgDatabase definition;
};
#endif // CREATEDATABASEDIALOG_H