Add "Delete GTFS database" button to accessor info dialog
author Friedrich Karl Tilman Pülz
()
committer Friedrich Karl Tilman Pülz
()
commit d304d955cc75a9b95cb985faeed168dae8b7ecc7
tree 1ee65c6882c1655e4aad5be2bee1c6a4f5083b4f
parent 71a7ec87525d925411256ca9a41be1f1289e5f6d
Add "Delete GTFS database" button to accessor info dialog

- Remove "Open in TimetableMate..." button in the .ui file,
add the button to the accessor info dialog as User1 button
- Add a "Delete GTFS database" button for GTFS accessor to the accessor
info dialog as User2 button, deletion is done using the service
- Add checks in StopLineEdit if the current GTFS database state
is still correct
- Update creation of the accessor info dialog in StopSettingsDialog,
the constructor of the accessor dialog now requires a pointer to the
Public Transport data engine (to get the service for deletion of the
GTFS database)
libpublictransporthelper/accessorInfo.ui
libpublictransporthelper/accessorinfodialog.cpp
libpublictransporthelper/accessorinfodialog.h
libpublictransporthelper/stoplineedit.cpp
libpublictransporthelper/stoplineedit.h
libpublictransporthelper/stopsettingsdialog.cpp
libpublictransporthelper/stopsettingsdialog.h