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.

openuridialog.h 654B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright (c) 2011-2015 The Starwels developers
  2. // Distributed under the MIT software license, see the accompanying
  3. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  4. #ifndef STARWELS_QT_OPENURIDIALOG_H
  5. #define STARWELS_QT_OPENURIDIALOG_H
  6. #include <QDialog>
  7. namespace Ui {
  8. class OpenURIDialog;
  9. }
  10. class OpenURIDialog : public QDialog
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit OpenURIDialog(QWidget *parent);
  15. ~OpenURIDialog();
  16. QString getURI();
  17. protected Q_SLOTS:
  18. void accept();
  19. private Q_SLOTS:
  20. void on_selectFileButton_clicked();
  21. private:
  22. Ui::OpenURIDialog *ui;
  23. };
  24. #endif // STARWELS_QT_OPENURIDIALOG_H