diff gui/src/VariablesDockWidget.h @ 13577:e440b3f32f02

Fixed bug with closing subwindows.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Mon, 01 Aug 2011 18:51:36 +0200
parents b48ac9ad8de0
children c0e66d6e3dc8
line wrap: on
line diff
--- a/gui/src/VariablesDockWidget.h	Mon Aug 01 18:10:33 2011 +0200
+++ b/gui/src/VariablesDockWidget.h	Mon Aug 01 18:51:36 2011 +0200
@@ -35,7 +35,12 @@
   /** Tells the widget to notice settings that are probably new. */
   void noticeSettings ();
   void fetchSymbolTable ();
-
+  void handleVisibilityChanged (bool visible);
+signals:
+  /** Custom signal that tells if a user has clicke away that dock widget. */
+  void activeChanged (bool active);
+protected:
+  void closeEvent (QCloseEvent *event);
 private:
   void construct ();
   void updateTreeEntry (QTreeWidgetItem * treeItem,