timedevent.h 650 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * timedevent.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include <QDialog>
  12. namespace Ui {
  13. class TimedEvent;
  14. }
  15. class TimedEvent : public QDialog
  16. {
  17. Q_OBJECT
  18. public:
  19. explicit TimedEvent(QListWidgetItem *, QWidget *parent = nullptr);
  20. ~TimedEvent();
  21. private slots:
  22. void on_TimedEvent_finished(int result);
  23. void on_pushButton_clicked();
  24. void on_resources_itemDoubleClicked(QTableWidgetItem *item);
  25. private:
  26. Ui::TimedEvent *ui;
  27. QListWidgetItem * target;
  28. };