2016-01-19 04:26:01 -06:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2019-01-02 04:24:12 -06:00
|
|
|
// Copyright (C) 2013 - 2019, The pgAdmin Development Team
|
2016-01-19 04:26:01 -06:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
// ConfigWindow.h - Configuration window
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef CONFIGWINDOW_H
|
|
|
|
#define CONFIGWINDOW_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigWindow : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-12-06 04:40:49 -06:00
|
|
|
explicit ConfigWindow(QWidget *parent = Q_NULLPTR);
|
2016-01-19 04:26:01 -06:00
|
|
|
~ConfigWindow();
|
|
|
|
|
2018-02-05 09:32:14 -06:00
|
|
|
QString getBrowserCommand();
|
2018-07-19 06:54:53 -05:00
|
|
|
bool getFixedPort();
|
|
|
|
int getPortNumber();
|
2016-01-19 04:26:01 -06:00
|
|
|
QString getPythonPath();
|
|
|
|
QString getApplicationPath();
|
|
|
|
|
2018-02-05 09:32:14 -06:00
|
|
|
void setBrowserCommand(QString command);
|
2018-07-19 06:54:53 -05:00
|
|
|
void setFixedPort(bool fixedPort);
|
|
|
|
void setPortNumber(int port);
|
2016-01-19 04:26:01 -06:00
|
|
|
void setPythonPath(QString path);
|
|
|
|
void setApplicationPath(QString path);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
2018-07-19 06:54:53 -05:00
|
|
|
void on_chkFixedPort_stateChanged(int state);
|
2016-01-19 04:26:01 -06:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ConfigWindow *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONFIGWINDOW_H
|