mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
This one is a bit more tricky. There are two modes: set dive site and set newly created dive site. This is realized using an OO model with derived classed. Quite convoluted - but it seems to work. Moreover, editing a dive site is not simply setting a value, but the list of dives in a dive site has to be kept up to date. Finally, we have to inform the dive site list of the changed number of dives. Therefore add a new signal diveSiteDivesChanged. To send only one signal per dive site, hook into the undo() and redo() functions and call the functions of the base class there. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
|---|---|---|
| .. | ||
| css | ||
| preferences | ||
| statistics | ||
| tab-widgets | ||
| about.cpp | ||
| about.h | ||
| about.ui | ||
| btdeviceselectiondialog.cpp | ||
| btdeviceselectiondialog.h | ||
| btdeviceselectiondialog.ui | ||
| CMakeLists.txt | ||
| command.cpp | ||
| command.h | ||
| command_base.cpp | ||
| command_base.h | ||
| command_divelist.cpp | ||
| command_divelist.h | ||
| command_divesite.cpp | ||
| command_divesite.h | ||
| command_edit.cpp | ||
| command_edit.h | ||
| configuredivecomputerdialog.cpp | ||
| configuredivecomputerdialog.h | ||
| configuredivecomputerdialog.ui | ||
| divecomponentselection.ui | ||
| divecomputermanagementdialog.cpp | ||
| divecomputermanagementdialog.h | ||
| divecomputermanagementdialog.ui | ||
| divelistview.cpp | ||
| divelistview.h | ||
| divelogexportdialog.cpp | ||
| divelogexportdialog.h | ||
| divelogexportdialog.ui | ||
| divelogimportdialog.cpp | ||
| divelogimportdialog.h | ||
| divelogimportdialog.ui | ||
| divepicturewidget.cpp | ||
| divepicturewidget.h | ||
| diveplanner.cpp | ||
| diveplanner.h | ||
| diveplanner.ui | ||
| diveshareexportdialog.cpp | ||
| diveshareexportdialog.h | ||
| diveshareexportdialog.ui | ||
| downloadfromdivecomputer.cpp | ||
| downloadfromdivecomputer.h | ||
| downloadfromdivecomputer.ui | ||
| filterwidget2.cpp | ||
| filterwidget2.h | ||
| filterwidget2.ui | ||
| findmovedimagesdialog.cpp | ||
| findmovedimagesdialog.h | ||
| findmovedimagesdialog.ui | ||
| groupedlineedit.cpp | ||
| groupedlineedit.h | ||
| kmessagewidget.cpp | ||
| kmessagewidget.h | ||
| listfilter.ui | ||
| locationinformation.cpp | ||
| locationinformation.h | ||
| locationinformation.ui | ||
| mainwindow.cpp | ||
| mainwindow.h | ||
| mainwindow.ui | ||
| mapwidget.cpp | ||
| mapwidget.h | ||
| modeldelegates.cpp | ||
| modeldelegates.h | ||
| notificationwidget.cpp | ||
| notificationwidget.h | ||
| plannerDetails.ui | ||
| plannerSettings.ui | ||
| printdialog.cpp | ||
| printdialog.h | ||
| printer.cpp | ||
| printer.h | ||
| printoptions.cpp | ||
| printoptions.h | ||
| printoptions.ui | ||
| qtwaitingspinner.cpp | ||
| qtwaitingspinner.h | ||
| renumber.ui | ||
| searchbar.ui | ||
| setpoint.ui | ||
| shiftimagetimes.ui | ||
| shifttimes.ui | ||
| simplewidgets.cpp | ||
| simplewidgets.h | ||
| starwidget.cpp | ||
| starwidget.h | ||
| subsurfacewebservices.cpp | ||
| subsurfacewebservices.h | ||
| tableview.cpp | ||
| tableview.h | ||
| tableview.ui | ||
| tagwidget.cpp | ||
| tagwidget.h | ||
| templateedit.cpp | ||
| templateedit.h | ||
| templateedit.ui | ||
| templatelayout.cpp | ||
| templatelayout.h | ||
| textedit.cpp | ||
| textedit.h | ||
| updatemanager.cpp | ||
| updatemanager.h | ||
| urldialog.ui | ||
| usermanual.cpp | ||
| usermanual.h | ||
| usersurvey.cpp | ||
| usersurvey.h | ||
| usersurvey.ui | ||
| webservices.ui | ||