diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2021-07-29 21:17:38 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2021-07-29 21:18:15 -0400 |
| commit | 4c1e6c0348fd0d275c077b93db06fa7d82c1941f (patch) | |
| tree | 3d80615afdff4f989ebf56975ad9db7f395c1b9d /ui/sidebar.h | |
| parent | 1a4a0f56dc17e68e5743fa3a550b46992ec461e1 (diff) | |
Fix some sidebar focus issues and add a toggle command
Diffstat (limited to 'ui/sidebar.h')
| -rw-r--r-- | ui/sidebar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/sidebar.h b/ui/sidebar.h index 0c3bc2c7..b2ae9261 100644 --- a/ui/sidebar.h +++ b/ui/sidebar.h @@ -176,6 +176,8 @@ public: void updateViewLocation(View* view, const ViewLocation& viewLocation); void viewChanged(); + void toggleSidebar(); + Q_SIGNALS: void showContents(); void hideContents(); @@ -215,6 +217,8 @@ public: void updateTheme(); void updateFonts(); + void toggleSidebar(); + static void addSidebarWidgetType(SidebarWidgetType* type); static SidebarWidgetType* typeFromName(const QString& name); static const std::vector<SidebarWidgetType*>& contentTypes() { return m_contentTypes; } |
