aboutwidget.h 631 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef AboutWidget_H
  2. #define AboutWidget_H
  3. #include <QWidget>
  4. namespace Ui {
  5. class AboutWidget;
  6. }
  7. class PatchList;
  8. class AboutWidget : public QWidget
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit AboutWidget(PatchList* legacy_patches, QWidget *parent = 0);
  13. ~AboutWidget();
  14. public slots:
  15. void updateFontsSizes();
  16. protected:
  17. void resizeEvent(QResizeEvent *event) override;
  18. private slots:
  19. void on_goto_site_clicked();
  20. void on_goto_forum_clicked();
  21. void on_goto_bugs_clicked();
  22. void on_goto_donate_clicked();
  23. private:
  24. Ui::AboutWidget *ui;
  25. PatchList *legacy_patches_;
  26. };
  27. #endif // AboutWidget_H