mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
This adds a new dialog, accessible from the Remote tab in the Preferences Dialog, which allows the user to configure the proxy to use for all network connections. The new default is to use the system-wide proxy settings. See issue #979.
29 lines
425 B
C++
29 lines
425 B
C++
#ifndef PROXYDIALOG_H
|
|
#define PROXYDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class ProxyDialog;
|
|
}
|
|
|
|
class ProxyDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ProxyDialog(QWidget* parent = nullptr);
|
|
~ProxyDialog();
|
|
|
|
void saveSettings() const;
|
|
|
|
private slots:
|
|
void proxyTypeChanged(int new_index);
|
|
void authenticationRequiredChanged(bool required);
|
|
|
|
private:
|
|
Ui::ProxyDialog* ui;
|
|
};
|
|
|
|
#endif
|