subsurface/qt-ui
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
..
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
about.cpp Add an 'About' dialog for the Qt UI 2013-06-24 07:44:28 -07:00
about.h Add an 'About' dialog for the Qt UI 2013-06-24 07:44:28 -07:00
about.ui Add an 'About' dialog for the Qt UI 2013-06-24 07:44:28 -07:00
divecomputermanagementdialog.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.h Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.ui Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divelistview.cpp Changed a lot of code to reduce boilerplate on models in the future. 2013-06-17 18:59:50 -03:00
divelistview.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
diveplanner.cpp Perform deco calculation for plan 2013-06-23 21:36:50 -07:00
diveplanner.h Start hooking in the deco calculations 2013-06-23 20:32:32 -07:00
diveplanner.ui Added a new class to handle the DivePlanner dialog 2013-06-20 18:40:59 -03:00
downloadfromdivecomputer.cpp Enable downloads from the UEMIS Zurich 2013-06-24 15:14:07 -07:00
downloadfromdivecomputer.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
downloadfromdivecomputer.ui Change title of dive download form 2013-06-12 07:27:58 -04:00
globe.cpp Fix compile: mixup of GeoDataCoordinates and GeoDataPoint 2013-06-07 22:06:46 -07:00
globe.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
kmessagewidget.cpp Fixed the 'click in close doesn't close' on KMessageWidget. 2013-05-22 08:10:02 -03:00
kmessagewidget.h Compile fix 2013-05-17 22:27:50 -07:00
maintab.cpp Save / Restore the sizes of the columns in Cylinders / Weigth widgets 2013-06-16 14:36:23 -03:00
maintab.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
maintab.ui More logical layout for the Dive Info tab 2013-06-19 15:28:40 -07:00
mainwindow.cpp Update main window title depending of current file state 2013-06-27 07:23:12 +08:00
mainwindow.h Update main window title depending of current file state 2013-06-27 07:23:12 +08:00
mainwindow.ui Reorder the 'View->View ..' list 2013-06-27 07:22:49 +08:00
modeldelegates.cpp Changed a lot of code to reduce boilerplate on models in the future. 2013-06-17 18:59:50 -03:00
modeldelegates.h Better handling of default sizes on the Cylinder and Weight widgets 2013-06-16 12:33:27 -03:00
models.cpp Show sample pressures in the cylinder equipment page 2013-06-19 21:53:34 -07:00
models.h Fix yearly statistics 2013-06-18 13:31:12 -07:00
plotareascene.cpp Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
plotareascene.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
preferences.cpp Explicitly store UI values to prefs 2013-06-04 06:29:33 +09:00
preferences.h Tie all the pieces together and make Preferences work as intended 2013-06-03 21:08:49 +09:00
preferences.ui Correctly implement Metric / Imperial / Personalize preference 2013-06-02 19:52:18 +09:00
profilegraphics.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
profilegraphics.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
renumber.ui add forgotten file. 2013-06-17 13:54:50 -03:00
simplewidgets.cpp Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
simplewidgets.h Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
starwidget.cpp The never ending, futile fight for whitespace consistency 2013-05-22 21:31:45 -07:00
starwidget.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
subsurfacewebservices.cpp Fix webservice download dialog 2013-06-08 21:11:07 -07:00
subsurfacewebservices.h Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00
subsurfacewebservices.ui Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00