diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-14 21:42:26 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-29 00:04:49 +0200 |
commit | e1eed42fbf1361a731ed9d6b95c0a7836aa914c4 (patch) | |
tree | 6808a2d6dd99c8c6e811413d2336e15760d9d0e2 /tracker-trackhat/dialog.hpp | |
parent | 864841c6ef3f04fcb8f3c92cc5b01a7e549d8ffa (diff) |
tracker/trackhat: enable embeddable module dialog
Diffstat (limited to 'tracker-trackhat/dialog.hpp')
-rw-r--r-- | tracker-trackhat/dialog.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tracker-trackhat/dialog.hpp b/tracker-trackhat/dialog.hpp index 0726a2c0..49c23753 100644 --- a/tracker-trackhat/dialog.hpp +++ b/tracker-trackhat/dialog.hpp @@ -5,10 +5,11 @@ #include "api/plugin-api.hpp" #include <QTimer> -class trackhat_dialog : public ITrackerDialog +class trackhat_dialog final : public ITrackerDialog { Q_OBJECT +protected: Ui_trackhat_dialog ui; Tracker_PT* tracker = nullptr; QTimer poll_timer{this}; @@ -16,11 +17,16 @@ class trackhat_dialog : public ITrackerDialog pt_settings s{trackhat_metadata::module_name}; trackhat_settings t; + void set_buttons_visible(bool x) override; + public: trackhat_dialog(); ~trackhat_dialog() override; void register_tracker(ITracker *tracker) override; void unregister_tracker() override; + bool embeddable() noexcept override { return true; } + void save() override; + void reload() override; public slots: void doOK(); |