Mercurial > hg > octave-lyh
diff gui/src/FilesDockWidget.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 | 869c62c15e95 |
children | c0e66d6e3dc8 |
line wrap: on
line diff
--- a/gui/src/FilesDockWidget.h +++ b/gui/src/FilesDockWidget.h @@ -65,10 +65,17 @@ /** Tells the widget to notice settings that are probably new. */ void noticeSettings (); + void handleVisibilityChanged (bool visible); signals: void openFile (QString fileName); + /** Custom signal that tells if a user has clicke away that dock widget. */ + void activeChanged (bool active); + +protected: + void closeEvent (QCloseEvent *event); + private: // TODO: Add toolbar with buttons for navigating the path, creating dirs, etc