You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233
  1. #ifndef MAINDIALOG_H
  2. #define MAINDIALOG_H
  3. #include <QDialog>
  4. namespace Ui {
  5. class MainDialog;
  6. }
  7. class MainDialog : public QDialog
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit MainDialog(QWidget *parent = 0);
  12. ~MainDialog();
  13. private slots:
  14. void on_btnConnect_clicked();
  15. void textChanged(QString);
  16. void computeResolutions();
  17. void on_slidResolution_valueChanged(int value);
  18. private:
  19. Ui::MainDialog *ui;
  20. QList<QSize> m_resolutions;
  21. };
  22. #endif // MAINDIALOG_H