mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 01:06:31 -06:00
7c9347873f
the application path as well as the Python path.
45 lines
927 B
C++
45 lines
927 B
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2016, The pgAdmin Development Team
|
|
// 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:
|
|
explicit ConfigWindow(QWidget *parent = 0);
|
|
~ConfigWindow();
|
|
|
|
QString getPythonPath();
|
|
QString getApplicationPath();
|
|
|
|
void setPythonPath(QString path);
|
|
void setApplicationPath(QString path);
|
|
|
|
private slots:
|
|
void on_buttonBox_accepted();
|
|
void on_buttonBox_rejected();
|
|
|
|
private:
|
|
Ui::ConfigWindow *ui;
|
|
QString m_pythonpath, m_applicationpath;
|
|
};
|
|
|
|
#endif // CONFIGWINDOW_H
|