Mercurial > minori
annotate include/gui/dialog/about.h @ 179:9c4645100fec
osx: clean up includes, we do not need cocoa
what we *do* need is the very basics that animia already depends on anyway.
these are basically guaranteed to be on any macos system, making it fairly portable
now... I haven't tested this :) I don't have a macos machine right now...
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Mon, 04 Dec 2023 12:03:36 -0500 |
| parents | 2004b41d4a59 |
| children | 862d0d8619f6 |
| rev | line source |
|---|---|
| 51 | 1 #ifndef __gui__dialog__about_h |
| 2 #define __gui__dialog__about_h | |
| 85 | 3 |
| 51 | 4 #include <QDialog> |
| 5 | |
|
95
8043152ef9d4
include: set classes as final where appropriate
Paper <mrpapersonic@gmail.com>
parents:
85
diff
changeset
|
6 class AboutWindow final : public QDialog { |
| 108 | 7 Q_OBJECT |
| 8 | |
| 51 | 9 public: |
| 10 AboutWindow(QWidget* parent = nullptr); | |
| 108 | 11 |
| 12 protected: | |
| 13 void showEvent(QShowEvent* event) override; | |
| 51 | 14 }; |
| 15 | |
| 16 #endif // __gui__dialog__about_h |
