From 4c1e6c0348fd0d275c077b93db06fa7d82c1941f Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 29 Jul 2021 21:17:38 -0400 Subject: Fix some sidebar focus issues and add a toggle command --- ui/sidebar.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/sidebar.h') 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& contentTypes() { return m_contentTypes; } -- cgit v1.3.1