Lubomir I. Ivanov ab95da8fd2 Update main window title depending of current file state
If a file has been opened from the command line or via the File
menu the main window title becomes "Subsurface: filename.ext".
Title also updates if 'File->Save As' is called. "Subsurface" only
is displayed when no active file is present or post 'File->New'
or 'File->Close'.

To make this work a new public method is added - MainWindow::setTitle()
and also an enum type MainWindowTitleFormat, which should allow
more complicated formatting, such as showing the selected dives
or the total number of dives (e.g. MWTF_FILENAME_N_DIVES).

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-27 07:23:12 +08:00
..
2013-06-24 07:44:28 -07:00
2013-06-24 07:44:28 -07:00
2013-06-24 07:44:28 -07:00
2013-06-19 10:20:56 -07:00
2013-05-17 22:27:50 -07:00
2013-06-19 10:20:56 -07:00
2013-06-27 07:22:49 +08:00
2013-06-18 13:31:12 -07:00
2013-06-17 13:54:50 -03:00
2013-06-19 10:20:56 -07:00