subsurface/desktop-widgets
Tomaz Canabrava 1fc4fba69f Break down MainTab into smaller classes
Maintab is one of our most complex classes, and it's
something I'm not actually proud of. But it currently
works and the idea of splitting it was in my head for
quite a while.

This is the third or fourth tentative of splitting it,
and this time I let the most complex part of it untouched,
the Notes and Equipment tab are way too complex to untangle
right now on my limited time.

A new class 'TabBase' should be used for any new tab that
we may create, and added on the MainTab (see the new lines
on the MainTab constructor).

Also, Extra Info, Information, Photos and Statistics where
ported to this new way helping reduce the number of
lines and functions on the MainTab quite a bit.

Overall this is a step in the right direction for the future.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06 18:23:25 -07:00
..
css Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
marble Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
plugins Fix issue 280: Facebook without a dive selected 2017-03-26 21:58:29 -07:00
preferences UI: preferences-profile screen beautify 2017-03-29 13:21:50 +02:00
statistics Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
tab-widgets Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
about.cpp About dialog: hook up Credits button 2017-02-18 16:22:39 -08:00
about.h About dialog: hook up Credits button 2017-02-18 16:22:39 -08:00
about.ui For About UI window layout, use SetFixedSize. 2017-03-07 21:45:05 -08:00
btdeviceselectiondialog.cpp btdeviceselectiondialog.cpp: fix unused variable 2015-11-07 22:22:41 +02:00
btdeviceselectiondialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
btdeviceselectiondialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
CMakeLists.txt Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
configuredivecomputerdialog.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
configuredivecomputerdialog.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
configuredivecomputerdialog.ui UI: typo fix 2017-03-26 22:01:04 -07:00
divecomponentselection.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divecomputermanagementdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelistview.cpp Silence warning about unused parameter 2017-03-11 08:51:46 -08:00
divelistview.h Ignore double clicks on the divelist 2017-01-28 07:20:03 -08:00
divelogexportdialog.cpp missing dot 2017-02-21 07:03:10 -08:00
divelogexportdialog.h Export to TeX file initialized 2016-10-11 22:00:08 -07:00
divelogexportdialog.ui Export to TeX file initialized 2016-10-11 22:00:08 -07:00
divelogimportdialog.cpp Use 'Temp.' for abbreviations. 2017-03-11 08:09:07 -08:00
divelogimportdialog.h Hooking up av1.xslt for log import 2016-12-31 09:56:08 +02:00
divelogimportdialog.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divepicturewidget.cpp Don't trust event->timestamp() 2016-12-26 13:09:01 -08:00
divepicturewidget.h Drag and Drop Images 2015-11-24 09:22:16 -08:00
diveplanner.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
diveplanner.h Minimum gas calculation - Calculations and UI parameters 2017-03-11 08:01:35 -08:00
diveplanner.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveshareexportdialog.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveshareexportdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
diveshareexportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
downloadfromdivecomputer.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
downloadfromdivecomputer.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
downloadfromdivecomputer.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
filterwidget.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
globe.cpp Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
globe.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
groupedlineedit.cpp compile fix 2017-03-26 22:01:30 -07:00
groupedlineedit.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
kmessagewidget.cpp compile fix 2017-03-26 22:01:30 -07:00
kmessagewidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
listfilter.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
locationinformation.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
locationinformation.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
locationInformation.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
mainwindow.cpp Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
mainwindow.h Facebook integration: change the menu entry to disconnect 2017-01-01 22:24:48 -08:00
mainwindow.ui Menu keyboard shortcuts in translations 2017-02-23 03:13:00 -08:00
modeldelegates.cpp QStyleOptionViewItemV4 is deprecated as of Qt 5.7 2017-03-26 21:55:24 -07:00
modeldelegates.h Allow cylinder names to be edited 2017-03-26 21:53:57 -07:00
notificationwidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
notificationwidget.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
plannerDetails.ui Bring back style sheet HTML for planner output 2017-02-24 01:06:09 -08:00
plannerSettings.ui Prefix and suffix changes in preferences and planner preferences 2017-03-18 08:34:04 -07:00
printdialog.cpp Printing: support the "Border width" setting for templates 2017-03-06 20:08:39 -08:00
printdialog.h Lazy Initialize QPrinter 2016-01-08 08:04:58 -08:00
printer.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
printer.h Start transition from QWebKit to QWebEngine 2016-12-30 19:43:00 +01:00
printoptions.cpp Fix include paths 2016-04-05 09:40:58 -07:00
printoptions.h Printing: support the "Border width" setting for templates 2017-03-06 20:08:39 -08:00
printoptions.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
qtwaitingspinner.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
qtwaitingspinner.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
renumber.ui Renumber ui: make it obvious which dives get renumbered 2016-12-27 13:10:18 -08:00
searchbar.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
setpoint.ui Correct "set-point" -> "setpoint" and window title setpoint change 2017-03-04 12:04:20 -08:00
shiftimagetimes.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
shifttimes.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
simplewidgets.cpp Remove unused DateWidget with its icon. 2017-03-13 10:25:51 -07:00
simplewidgets.h Remove unused DateWidget with its icon. 2017-03-13 10:25:51 -07:00
starwidget.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
starwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
subsurfacewebservices.cpp Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
subsurfacewebservices.h Silence warnings in subsurfacewebservices.h 2016-03-09 21:50:26 -08:00
tableview.cpp Mac: more generous margins for table columns 2017-01-01 14:23:49 +02:00
tableview.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
tableview.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tagwidget.cpp Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
tagwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
templateedit.h Printing: support the "Border width" setting for templates 2017-03-06 20:08:39 -08:00
templateedit.ui templateedit.ui: give the layout for "Border width" unique name 2017-03-12 09:19:03 -07:00
templatelayout.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
templatelayout.h Fix include paths 2016-04-05 09:40:58 -07:00
undocommands.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
undocommands.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
updatemanager.cpp Remove space from the beginning of the line. 2017-02-21 07:03:10 -08:00
updatemanager.h Cloud storage: modify protocol for checking cloud connectivity 2015-11-18 17:57:13 -08:00
urldialog.ui Make the URL dialog contain QLineEdit 2017-01-12 14:06:54 -08:00
usermanual.cpp Start transition from QWebKit to QWebEngine 2016-12-30 19:43:00 +01:00
usermanual.h Start transition from QWebKit to QWebEngine 2016-12-30 19:43:00 +01:00
usersurvey.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
usersurvey.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usersurvey.ui fix: User survey UI. 2017-03-06 06:40:00 -08:00
webservices.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00