comparison gui/src/HistoryDockWidget.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 7d106550be8f
children c0e66d6e3dc8
comparison
equal deleted inserted replaced
13576:11fcb7094945 13577:e440b3f32f02
33 void updateHistory (QStringList history); 33 void updateHistory (QStringList history);
34 34
35 public slots: 35 public slots:
36 /** Tells the widget to notice settings that are probably new. */ 36 /** Tells the widget to notice settings that are probably new. */
37 void noticeSettings (); 37 void noticeSettings ();
38 void handleVisibilityChanged (bool visible);
38 39
39 signals: 40 signals:
40 void information (QString message); 41 void information (QString message);
41 void commandDoubleClicked (QString command); 42 void commandDoubleClicked (QString command);
42 43 /** Custom signal that tells if a user has clicke away that dock widget. */
44 void activeChanged (bool active);
45 protected:
46 void closeEvent (QCloseEvent *event);
43 private slots: 47 private slots:
44 void handleDoubleClick (QModelIndex modelIndex); 48 void handleDoubleClick (QModelIndex modelIndex);
45 49
46 private: 50 private:
47 void construct (); 51 void construct ();