subsurface/desktop-widgets
Berthold Stoeger 079b99135a Dive list view: move column width logic back from DiveTripModel
Conceptually, the width of the columns should probably reside in
the view not the model. But much more severly, the old code didn't
work: Columns were set in a DiveTripModel, which was deleted
right away.

Therefore, move the logic back to the DiveListView. Introduce
a QVector<int> of the initial column widths, so that they can be
erased from the setting if unchanged.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-07-27 09:08:42 -07:00
..
css
plugins Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
preferences core: activate qPrefCloudStorage 2018-07-21 07:49:25 -07:00
statistics desktop-widgets/statistics: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
tab-widgets Dive media: implement "Open folder of selected media files" 2018-07-20 08:29:27 +02:00
about.cpp
about.h
about.ui
btdeviceselectiondialog.cpp Bluetooth: don't call deviceDiscoveryError() on scan finished 2018-07-18 02:11:16 +03:00
btdeviceselectiondialog.h
btdeviceselectiondialog.ui
CMakeLists.txt Dive pictures: implement FindMovedImagesDialog 2018-07-04 02:27:36 +08:00
configuredivecomputerdialog.cpp Whitespace cleanup desktop-widget 2018-07-26 16:32:51 +03:00
configuredivecomputerdialog.h
configuredivecomputerdialog.ui Configure ostc3: Remove obsoleted setting 2018-04-27 21:33:47 +03:00
divecomponentselection.ui
divecomputermanagementdialog.cpp Dive computers: turn QMultiMap into sorted vector 2018-06-17 06:53:13 +09:00
divecomputermanagementdialog.h Cleanup: fold DiveComputerManagementDialog::update() into init() 2018-06-17 06:53:13 +09:00
divecomputermanagementdialog.ui
divelistview.cpp Dive list view: move column width logic back from DiveTripModel 2018-07-27 09:08:42 -07:00
divelistview.h Dive list view: move column width logic back from DiveTripModel 2018-07-27 09:08:42 -07:00
divelogexportdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
divelogexportdialog.h Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
divelogexportdialog.ui
divelogimportdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp Dive media: transport dive-id in drag'n'drop events 2018-07-18 09:06:37 -07:00
divepicturewidget.h
diveplanner.cpp Code cleanup in diveplanner.cpp 2018-07-13 11:26:28 -07:00
diveplanner.h Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
diveplanner.ui
diveshareexportdialog.cpp Cleanup: Don't clear WA_QuitOnClose attribute on dialogs 2018-06-16 04:02:47 -07:00
diveshareexportdialog.h
diveshareexportdialog.ui
downloadfromdivecomputer.cpp Whitespace cleanup desktop-widget 2018-07-26 16:32:51 +03:00
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
filterwidget.ui
findmovedimagesdialog.cpp UI change of "images"/"photo" to "media" or "media files" 2018-07-15 09:38:12 -07:00
findmovedimagesdialog.h Dive pictures: implement FindMovedImagesDialog 2018-07-04 02:27:36 +08:00
findmovedimagesdialog.ui UI change of "images"/"photo" to "media" or "media files" 2018-07-15 09:38:12 -07:00
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp
kmessagewidget.h
listfilter.ui
locationinformation.cpp desktop: fix multi-keystroke input on location 2018-06-26 08:06:07 +02:00
locationinformation.h
locationInformation.ui
mainwindow.cpp Cleanup: simplify dive_getUniqID() 2018-07-17 15:20:52 -07:00
mainwindow.h Dive pictures: implement FindMovedImagesDialog 2018-07-04 02:27:36 +08:00
mainwindow.ui UI change of "images"/"photo" to "media" or "media files" 2018-07-15 09:38:12 -07:00
mapwidget.cpp desktop-widget: move qmlRegister from mapwidget to shared helper 2018-07-12 08:08:00 -07:00
mapwidget.h
modeldelegates.cpp Localization: remove gettextFromC::instance() 2018-06-24 20:31:14 +02:00
modeldelegates.h Planner: Add combo box for dive mode selection 2018-05-14 23:47:00 +03:00
notificationwidget.cpp
notificationwidget.h
plannerDetails.ui
plannerSettings.ui
printdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
printdialog.h
printer.cpp Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
printer.h
printoptions.cpp Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
printoptions.h
printoptions.ui
qtwaitingspinner.cpp
qtwaitingspinner.h
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui UI change of "images"/"photo" to "media" or "media files" 2018-07-15 09:38:12 -07:00
shifttimes.ui
simplewidgets.cpp Translations: unify gettextFromC::tr() and QObject::tr() 2018-07-04 05:33:31 +08:00
simplewidgets.h
starwidget.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
starwidget.h
subsurfacewebservices.cpp core: activate qPrefCloudStorage 2018-07-21 07:49:25 -07:00
subsurfacewebservices.h
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp
tagwidget.h
templateedit.cpp Fix includes for building against Qt-5.11.0 2018-05-23 13:29:37 +03:00
templateedit.h
templateedit.ui
templatelayout.cpp Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
templatelayout.h Translations: unify gettextFromC::tr() and QObject::tr() 2018-07-04 05:33:31 +08:00
undocommands.cpp Undo: remember deleted trip in UndoRemoveDivesFromTrip::undo() 2018-07-19 02:43:08 +03:00
undocommands.h Undo: remember deleted trip in UndoRemoveDivesFromTrip::undo() 2018-07-19 02:43:08 +03:00
updatemanager.cpp Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07: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 Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
usermanual.h Desktop: Derive UserManual from QDialog 2018-05-31 21:29:29 +03:00
usersurvey.cpp Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
usersurvey.h
usersurvey.ui
webservices.ui