subsurface/profile-widget
Tomaz Canabrava 2c5fad73e8 Start to use the QSettings ObjectWrapper
start of the QSettinsg Object Wrapper usage on the code
this first patch removes two macros that generated around
200 lines in runtime for something like a quarter of it
Basically, whenever we changed anything we called the
PreferencesDialog::settingsChanged and connected everythign
to that signal, now each setting has it's own changed signal
and we can call it directly.

The best thing about this approach is that we don't trigger
repaints for things that are not directly profile related. (
actually we still do, but the plan is to remove them in due time)

this commit breaks correct atualization of the profile (because
everything was connected to PreferencesDialog::settingsChanged)
and now I need to hunt a bit for the correct connections

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-25 13:04:01 -08:00
..
animationfunctions.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
animationfunctions.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Don't connect to the PreferencesDialog in Subsurface-mobile 2015-11-06 10:20:18 -08:00
divecartesianaxis.h Untagle DiveCartesianAxis from MainWindow 2015-11-06 09:58:08 -08:00
diveeventitem.cpp Prevent gaschange tank icons from using garbage coords. 2015-12-03 22:56:23 -08:00
diveeventitem.h Prevent gaschange tank icons from using garbage coords. 2015-12-03 22:56:23 -08:00
divelineitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divelineitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divepixmapitem.cpp Don't connect to the PreferencesDialog in Subsurface-mobile 2015-11-06 10:20:18 -08:00
divepixmapitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
diveprofileitem.cpp diveprofileitem.cpp: fix unused variable warning on mobile 2015-12-06 12:28:01 -08:00
diveprofileitem.h Untangle DiveCalculatedCeiling from MainWindow 2015-11-06 09:58:34 -08:00
diverectitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
diverectitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divetextitem.cpp Profile: include Qt headers directly 2015-11-05 17:05:30 -08:00
divetextitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divetooltipitem.cpp divetooltipitem.cpp: prettify the tooltip bounds and padding 2015-11-10 09:08:57 -08:00
divetooltipitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
profilewidget2.cpp Start to use the QSettings ObjectWrapper 2016-01-25 13:04:01 -08:00
profilewidget2.h Start to use the QSettings ObjectWrapper 2016-01-25 13:04:01 -08:00
ruleritem.cpp Don't connect to the PreferencesDialog in Subsurface-mobile 2015-11-06 10:20:18 -08:00
ruleritem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
tankitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
tankitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00