Mercurial > octave-nkf
comparison gui/src/MainWindow.h @ 14602:c8453a013000 gui
Cleaned up code. Fixed bug that causes the GUI to freeze when launching another editor.
* FileEditor: Now the call of another process returns immediately. Adjusted text when closing a file.
* MainWindow: Moved creating a lexer into the constructor.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Mon, 07 May 2012 02:36:49 +0200 |
parents | 97cb9286919c |
children | 7fbea449737d |
comparison
equal
deleted
inserted
replaced
14601:772ce0204b3f | 14602:c8453a013000 |
---|---|
65 } | 65 } |
66 FilesDockWidget *filesDockWidget () | 66 FilesDockWidget *filesDockWidget () |
67 { | 67 { |
68 return m_filesDockWidget; | 68 return m_filesDockWidget; |
69 } | 69 } |
70 bool isCloseApplication () | 70 bool closing () |
71 { | 71 { |
72 return m_closeApplication; | 72 return m_closing; |
73 } | 73 } |
74 | 74 |
75 signals: | 75 signals: |
76 void settingsChanged (); | 76 void settingsChanged (); |
77 | 77 |
113 | 113 |
114 // Toolbars. | 114 // Toolbars. |
115 QStatusBar *m_statusBar; | 115 QStatusBar *m_statusBar; |
116 | 116 |
117 // Flag for closing whole application | 117 // Flag for closing whole application |
118 bool m_closeApplication; | 118 bool m_closing; |
119 }; | 119 }; |
120 | 120 |
121 #endif // MAINWINDOW_H | 121 #endif // MAINWINDOW_H |