00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef SETTINGSDIALOG_H
00024 #define SETTINGSDIALOG_H
00025
00026 #include <QDialog>
00027 #include <QTextBrowser>
00028 class QLineEdit;
00029 class QPushButton;
00030 class UrpoConnectionSettings;
00031
00042 class SettingsDialog : public QDialog
00043 {
00044 Q_OBJECT
00045 public:
00046 explicit SettingsDialog(QWidget *parent = 0);
00048 void setSettings(UrpoConnectionSettings* settings);
00050 void setHelp(QTextBrowser* helpWidget);
00051 signals:
00052
00053 public slots:
00054 void okay();
00055 void serverChanged(const QString& text);
00056 void browse();
00057 void showHelp();
00058
00059 private:
00060 QLineEdit* serverEdit;
00061 QLineEdit* userEdit;
00062 QLineEdit* identityEdit;
00063 QPushButton* browseButton;
00064 QPushButton* okButton;
00065 QPushButton* helpButton;
00066 UrpoConnectionSettings* settings_;
00067 QTextBrowser* helpWidget_;
00068
00069 };
00070
00071 #endif // SETTINGSDIALOG_H