diff options
author | ConfuSomu | 2022-12-26 01:58:10 -0500 |
---|---|---|
committer | ConfuSomu | 2022-12-26 01:58:10 -0500 |
commit | 0063f4f7885fe33b99728434241f6ef28168b245 (patch) | |
tree | 5b73a92ad9d8082da4a26cab9e82aca5edd04d1d /src/mainwindow.h | |
parent | 54216c4c28b81d33bd5c8b6e3b5a6083b53093fd (diff) | |
download | ActorViewer-0063f4f7885fe33b99728434241f6ef28168b245.tar ActorViewer-0063f4f7885fe33b99728434241f6ef28168b245.tar.gz ActorViewer-0063f4f7885fe33b99728434241f6ef28168b245.zip |
Work on basic gui
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index c2ab2b3..d9c62bf 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -4,6 +4,14 @@ #include <QMainWindow> #include <qobjectdefs.h> +struct ViewTootTypes { + bool includePublic = true; + bool includeUnlisted = true; + bool includePrivate = true; + bool includeDirect = true; + bool onlyWithAttachment = false; +}; + QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE @@ -18,8 +26,22 @@ public: private slots: void on_actionOpen_triggered(bool checked); + void on_actionQuit_triggered(bool checked); + void on_actionAbout_triggered(bool checked); + + void on_actionAll_toots_triggered(bool checked); + void on_actionPublic_toots_triggered(bool checked); + void on_actionUnlisted_toots_triggered(bool checked); + void on_actionPrivate_toots_triggered(bool checked); + void on_actionDirect_messages_triggered(bool checked); + void on_actionOnly_with_attachment_triggered(bool checked); private: + void reset_view_filters(); + Ui::MainWindow *ui; + + QString outbox_filename; + ViewTootTypes view_filters; }; #endif // MAINWINDOW_H |