comparison ui/proxysettingsdlg.h @ 955:0f7aeb12e5e9

(issue41) Add proxsettingsdialog
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 27 Aug 2014 16:31:11 +0200
parents
children 78798d3af8f0
comparison
equal deleted inserted replaced
954:eaea1504f282 955:0f7aeb12e5e9
1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=2)
5 * and comes with ABSOLUTELY NO WARRANTY!
6 * See LICENSE.txt for details.
7 */
8 #ifndef PROXYSETTINGSDLG_H
9 #define PROXYSETTINGSDLG_H
10
11 #include <QDialog>
12
13 class QLineEdit;
14 class QPushButton;
15
16 /** @file Small dialog for proxy settings. */
17
18 class ProxySettingsDlg : public QDialog {
19
20 Q_OBJECT
21
22 public:
23 ProxySettingsDlg(QWidget *parent);
24
25 private slots:
26 /** @brief activate the save button depending on the input.*/
27 void checkCanSave(const QString& val);
28
29 /** @brief save the contents of mProxyURL in the settings. */
30 void save();
31
32 private:
33 QLineEdit *mProxyURL;
34 QPushButton *mSaveButton;
35 };
36
37 #endif // PROXYSETTINGSDLG_H

http://wald.intevation.org/projects/trustbridge/