subsurface/desktop-widgets
Berthold Stoeger aac8eacfa2 Dive site: on first addition of dive site, edit name
When adding a dive site, enter the name field of the new dive site.
Thus, when adding a new dive site, the user can immediately edit the
name.

The code is rather subtle: It hooks into the dive site added signal
before executing the command and unhooks afterwards. This only works,
because signals are executed in order of connect - thus the model
adds the index first and only *then* is the field edited.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00
..
css
preferences replace deprecated qSort() with std::sort() 2019-04-12 12:59:17 +03:00
statistics
tab-widgets Dive site: on first addition of dive site, edit name 2019-04-12 18:19:07 +03:00
about.cpp update year to 2019 in about screens 2019-01-02 09:45:01 -08:00
about.h
about.ui
btdeviceselectiondialog.cpp Desktop: only show dive computers in the Bluetooth device list 2019-02-14 09:05:58 -08:00
btdeviceselectiondialog.h
btdeviceselectiondialog.ui Desktop: add checkbox to show all BT devices 2019-02-14 09:05:58 -08:00
CMakeLists.txt Undo: make dive site removal undoable 2019-04-12 18:19:07 +03:00
command.cpp Undo: implement undo of dive site addition 2019-04-12 18:19:07 +03:00
command.h Undo: implement undo of dive site addition 2019-04-12 18:19:07 +03:00
command_base.cpp
command_base.h Dive sites: prepare for dive site ref-counting 2019-04-12 18:19:07 +03:00
command_divelist.cpp Dive site: inform model of dive site addition / deletion 2019-04-12 18:19:07 +03:00
command_divelist.h Undo: keep frontend informed of changes to dive site count 2019-04-12 18:19:07 +03:00
command_divesite.cpp Undo: implement undo of dive site addition 2019-04-12 18:19:07 +03:00
command_divesite.h Undo: implement undo of dive site addition 2019-04-12 18:19:07 +03:00
configuredivecomputerdialog.cpp
configuredivecomputerdialog.h
configuredivecomputerdialog.ui
divecomponentselection.ui Add various enhancements to profile export and dive data copy 2019-02-07 16:06:43 +01:00
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp replace deprecated qSort() with std::sort() 2019-04-12 12:59:17 +03:00
divelistview.h Dive list: split DiveTripModel into distinct models (tree and list) 2019-01-07 09:33:52 -08:00
divelogexportdialog.cpp Dive sites: prepare for dive site ref-counting 2019-04-12 18:19:07 +03:00
divelogexportdialog.h Add various enhancements to profile export and dive data copy 2019-02-07 16:06:43 +01:00
divelogexportdialog.ui Export profile data 2019-04-04 09:33:56 -07:00
divelogimportdialog.cpp Dive sites: prepare for dive site ref-counting 2019-04-12 18:19:07 +03:00
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h
diveplanner.cpp Add UI element for final surface segment in planner 2019-03-29 06:51:12 -07:00
diveplanner.h Planner: Add checkbox to force OC bailout 2019-01-13 15:02:07 -08:00
diveplanner.ui
diveshareexportdialog.cpp
diveshareexportdialog.h
diveshareexportdialog.ui
downloadfromdivecomputer.cpp Undo: make undo-system dive site-aware 2019-04-12 18:19:07 +03:00
downloadfromdivecomputer.h Leak fix: make ostcFirmwareCheck a unique_ptr 2019-03-18 09:06:32 -07:00
downloadfromdivecomputer.ui
filterwidget2.cpp Cleanup: provide our own qOverload<> implementation. 2019-04-11 11:17:56 +03:00
filterwidget2.h Desktop: show the filter information in the window title 2019-02-19 12:02:58 -08:00
filterwidget2.ui Filter panel: add suit and notes search fields 2019-02-28 15:45:42 -08:00
findmovedimagesdialog.cpp Desktop: fix another variable name conflict 2019-03-18 19:40:32 -07:00
findmovedimagesdialog.h
findmovedimagesdialog.ui
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp
kmessagewidget.h
listfilter.ui Start to implement a simplified version of the filter widget 2018-12-14 01:05:18 +08:00
locationinformation.cpp Undo: implement undo of dive site description editing 2019-04-12 18:19:07 +03:00
locationinformation.h Undo: Implement undo of dive site name editing 2019-04-12 18:19:07 +03:00
locationinformation.ui Cleanup: rename locationInformation.ui -> locationinformation.ui 2019-02-02 19:36:11 +02:00
mainwindow.cpp Cleanup: move parse-function declarations out of "dive.h" 2019-04-12 18:19:07 +03:00
mainwindow.h Desktop: show filter panel with maximized dive list 2019-02-11 12:29:07 -08:00
mainwindow.ui Desktop: remove checkmark from Filter divelist entry in Log menu 2019-02-19 12:02:58 -08:00
mapwidget.cpp Cleanup: remove all Q_NULLPTR instances 2019-04-02 07:34:46 -07:00
mapwidget.h Dive site: pass pointer to updateDiveSiteCoordinates() 2018-10-29 00:09:31 +00:00
modeldelegates.cpp Dive sites: simplify nr_of_dives_at_dive_site() 2019-04-12 18:19:07 +03:00
modeldelegates.h
notificationwidget.cpp
notificationwidget.h Use queued connection to thread-safe MainWindow error handling 2018-01-31 14:47:26 +01:00
plannerDetails.ui
plannerSettings.ui Add UI element for final surface segment in planner 2019-03-29 06:51:12 -07:00
printdialog.cpp Drop old filter code 2018-12-14 01:05:18 +08:00
printdialog.h
printer.cpp get rid of some foreach and Q_FOREACH constructs 2019-04-12 12:59:17 +03:00
printer.h Remove partial support for QWebEngine 2019-03-20 08:45:02 -07:00
printoptions.cpp replace deprecated qSort() with std::sort() 2019-04-12 12:59:17 +03:00
printoptions.h Cleanup: remove all Q_NULLPTR instances 2019-04-02 07:34:46 -07:00
printoptions.ui
qtwaitingspinner.cpp
qtwaitingspinner.h
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp Dive sites: prepare for dive site ref-counting 2019-04-12 18:19:07 +03:00
simplewidgets.h Drop old filter code 2018-12-14 01:05:18 +08:00
starwidget.cpp
starwidget.h
subsurfacewebservices.cpp Dive site: add dive site ref-counting 2019-04-12 18:19:07 +03:00
subsurfacewebservices.h
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp get rid of some foreach and Q_FOREACH constructs 2019-04-12 12:59:17 +03:00
tagwidget.h
templateedit.cpp Warnings: replace memcpy by assignment 2018-11-19 13:51:03 -08:00
templateedit.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
templateedit.ui
templatelayout.cpp get rid of some foreach and Q_FOREACH constructs 2019-04-12 12:59:17 +03:00
templatelayout.h
updatemanager.cpp core: move updatecheck to its own domain 2019-02-09 10:37:55 -08:00
updatemanager.h
urldialog.ui UI change of "images"/"photo" to "media" or "media files" 2018-07-15 09:38:12 -07:00
usermanual.cpp tell QObject to give the desired children right away 2019-04-12 12:59:17 +03:00
usermanual.h Remove partial support for QWebEngine 2019-03-20 08:45:02 -07:00
usersurvey.cpp
usersurvey.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
usersurvey.ui
webservices.ui