diff widgets/ExpandWidget.h @ 205:00cf9a7faa4d

add menu and shortcut to show/hide both ExpandWidget (layers and filters, search/info tab)
author lbajardsilogic
date Wed, 30 Jan 2008 10:20:41 +0000
parents bc5b79e7b1d8
children
line wrap: on
line diff
--- a/widgets/ExpandWidget.h	Wed Jan 30 09:06:08 2008 +0000
+++ b/widgets/ExpandWidget.h	Wed Jan 30 10:20:41 2008 +0000
@@ -44,10 +44,13 @@
 
 		void setPercentage(int a, int b);
 
-	//signals:
-      
+		inline bool isVisible(){return !m_paneClosed;}
+
+	signals:
+		void paneStateChanged(bool );//emit true if the pane is visible false if not
+
 	private slots:
-		void changePaneSate();
+		void changePaneState();
     
 	private:
 		void refreshButtonIcone();