Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

maindialog.h 822B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef MAINDIALOG_H
  2. #define MAINDIALOG_H
  3. #include <QDialog>
  4. #include "rdpoptions.h"
  5. namespace Ui {
  6. class MainDialog;
  7. }
  8. class MainDialog : public QDialog
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit MainDialog(QWidget *parent = 0);
  13. ~MainDialog();
  14. RdpOptions getRdpOptions() const;
  15. public slots:
  16. void setRdpOptions(const RdpOptions& opt);
  17. private slots:
  18. void on_btnConnect_clicked();
  19. void textChanged(QString);
  20. void computeResolutions();
  21. void on_slidResolution_valueChanged(int value);
  22. void on_btnSaveSession_clicked();
  23. void on_btnSaveAsSession_clicked();
  24. void on_btnOpenSession_clicked();
  25. void on_lineComputer_currentIndexChanged(int index);
  26. private:
  27. Ui::MainDialog *ui;
  28. QList<QSize> m_resolutions;
  29. QList<RdpOptions> m_rdpOptions;
  30. };
  31. #endif // MAINDIALOG_H