12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef MAINDIALOG_H
- #define MAINDIALOG_H
-
- #include <QDialog>
- #include "rdpoptions.h"
- #include "dialogconnecting.h"
-
- namespace Ui {
- class MainDialog;
- }
-
- class RDesktopLauncher;
-
- class MainDialog : public QDialog
- {
- Q_OBJECT
-
- public:
- explicit MainDialog(QWidget *parent = 0);
- ~MainDialog();
-
- RdpOptions getRdpOptions() const;
-
- public slots:
- void setRdpOptions(const RdpOptions& opt);
-
- void loadAll();
-
- private slots:
- void on_btnConnect_clicked();
-
- void textChanged(QString);
-
- void computeResolutions();
-
- void on_slidResolution_valueChanged(int value);
-
- void on_btnSaveSession_clicked();
-
- void on_btnSaveAsSession_clicked();
-
- void on_btnOpenSession_clicked();
-
- void on_lineComputer_currentIndexChanged(int index);
-
- void on_btnRemoveSession_clicked();
-
- void onProcessFinished(int status);
-
- void onWindowFound(WId wid);
-
- private:
- Ui::MainDialog *ui;
-
- QList<QSize> m_resolutions;
-
- QList<RdpOptions> m_rdpOptions;
-
- RDesktopLauncher* m_launcher;
-
- DialogConnecting* m_dlgConnecting;
- };
-
- #endif // MAINDIALOG_H
|