subsurface/qt-ui
Tomaz Canabrava 633dd64d2f Major speedup when moving the mouse in the profile
After looking with great care at the result of the mouse movement
on the profile, and also playing a bit with callgrind I've found
out that one thing that we were doing wrong was the way we looked at the
items in the scene, by calling scene()->items with
Qt::ItemIntersectsShape, our shapes are very complex curves
with thousends of points and we have lots of them. and it usually
doesn't matter because *most* of the time we are getting the
tooltip information from 'get_plot_details_new', so no accessing
to items was necessary.

By changing the access from Qt::ItemIntersectsShape to
Qt::IntersectsItemBoundingRect we had a speedup of almost 500x in a
section of code that's very important, and the good thing, nothing bad
happened because one of the only things that we are using this code is to
get information from the events, not the curves.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-15 07:20:35 +13:00
..
css
marble
profile Major speedup when moving the mouse in the profile 2015-01-15 07:20:35 +13:00
statistics
about.cpp Always show the full git version in the about screen 2015-01-01 11:58:04 -08:00
about.h
about.ui
completionmodels.cpp More lists organized alphabetically. 2014-12-12 10:40:42 -08:00
completionmodels.h
configuredivecomputerdialog.cpp Only suggest OSTC3 fw upgrade on newer version 2015-01-08 14:35:03 -08:00
configuredivecomputerdialog.h Whitespace cleanup 2014-12-28 21:02:28 -08:00
configuredivecomputerdialog.ui Consistent representation of O₂ 2014-11-25 07:57:28 -08:00
divecomponentselection.ui
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Move the Facebook send profile button 2014-12-29 09:05:08 -08:00
divelistview.h Move the Facebook send profile button 2014-12-29 09:05:08 -08:00
divelogexportdialog.cpp Use unit selection for XSL transformation on CSV export 2014-12-31 12:12:20 -08:00
divelogexportdialog.h
divelogexportdialog.ui Enable and disable unit selection 2014-12-31 12:12:59 -08:00
divelogimportdialog.cpp No need for a new variable 2015-01-08 13:44:51 -08:00
divelogimportdialog.h CSV import: make predefined imports work again 2015-01-07 17:02:42 -08:00
divelogimportdialog.ui CVS import UI: better message if some columns were matched 2015-01-07 12:41:06 -08:00
divepicturewidget.cpp Hide any pictures shown when closing divelog 2014-12-09 21:16:34 -07:00
divepicturewidget.h
diveplanner.cpp Refactor dctype -> divemode 2015-01-10 17:27:25 -08:00
diveplanner.h Rebreather type selector UI 2015-01-10 17:27:24 -08:00
diveplanner.ui Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveshareexportdialog.cpp
diveshareexportdialog.h
diveshareexportdialog.ui Two small fixes regarding translation texts 2014-11-10 13:10:50 -08:00
downloadfromdivecomputer.cpp Dive download UI: sort the dive computer dropdown 2015-01-13 22:05:55 +13:00
downloadfromdivecomputer.h Dive d/l selection UI: clear table when retrying 2015-01-11 07:46:21 -08:00
downloadfromdivecomputer.ui Attempt a better layout for the download dialog 2015-01-13 21:58:28 +13:00
filtermodels.cpp Don't skip the first tag when filtering 2014-12-09 20:55:31 -07:00
filtermodels.h Remove unused DivesFilteredOut variable 2014-11-16 18:39:29 +00:00
filterwidget.ui Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
globe.cpp Fix compilation with upstream Marble 2014-12-17 08:09:54 -08:00
globe.h
graphicsview-common.cpp Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
graphicsview-common.h Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
groupedlineedit.cpp Enable tag bubble eye candy for Qt5 and Mac 2014-12-23 09:39:05 -08:00
groupedlineedit.h
kmessagewidget.cpp 727 fixed 2014-11-17 06:02:21 +00:00
kmessagewidget.h 727 fixed 2014-11-17 06:02:21 +00:00
listfilter.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
maintab.cpp Don't use current_dc unless you know there's a current_dive 2015-01-11 07:29:29 -08:00
maintab.h Add setpoint events according to divetype 2015-01-10 17:27:24 -08:00
maintab.ui Refactor dctype -> divemode 2015-01-10 17:27:25 -08:00
mainwindow.cpp Another skeleton: LoadFileContents 2015-01-06 19:37:44 -08:00
mainwindow.h Added the option of opening User Survey form explicitly 2014-12-17 21:38:04 -08:00
mainwindow.ui Fix incorrect name for layout 2015-01-04 07:42:28 -08:00
metrics.cpp Unify icon metrics 2014-10-18 15:16:15 -07:00
metrics.h Unify icon metrics 2014-10-18 15:16:15 -07:00
modeldelegates.cpp Connect TankUseDelegate to its parrent 2014-12-18 08:34:00 -08:00
modeldelegates.h Turn of replotting while the cylinder type combo box is active 2014-12-17 21:33:55 -08:00
models.cpp If we can't find the dive, simply return no data 2015-01-09 15:06:25 -08:00
models.h Add the ability to modify the cylinder use in the UI 2014-11-17 14:03:37 +00:00
plannerSettings.ui Rebreather type selector UI 2015-01-10 17:27:24 -08:00
preferences.cpp Ignore QWebView in Android 2015-01-14 07:49:24 +13:00
preferences.h Ignore QWebView in Android 2015-01-14 07:49:24 +13:00
preferences.ui Ignore QWebView in Android 2015-01-14 07:49:24 +13:00
printdialog.cpp Print: support margin saving for older Qt versions 2014-11-14 08:49:53 -08:00
printdialog.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printlayout.cpp Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printlayout.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.cpp Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.ui
renumber.ui
searchbar.ui
setpoint.ui A widget to add a set-point change 2014-12-01 14:19:03 -08:00
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp Changed Facebook stuff to socialnetworks.h/cpp 2014-12-24 15:54:28 -08:00
simplewidgets.h Changed Facebook stuff to socialnetworks.h/cpp 2014-12-24 15:54:28 -08:00
socialnetworks.cpp Various capitalization fixes 2015-01-05 09:06:35 -08:00
socialnetworks.h Facebook integration: Album name is required 2014-12-29 11:59:21 -08:00
socialnetworksdialog.ui Facebook integration: improve dialog layout 2014-12-29 11:58:38 -08:00
starwidget.cpp Replace alpha value of gray star with lighter gray 2014-11-04 07:03:54 -08:00
starwidget.h Unify icon metrics 2014-10-18 15:16:15 -07:00
subsurfacewebservices.cpp Add more infrastructure for a separate dive table 2015-01-09 15:06:18 -08:00
subsurfacewebservices.h
tableview.cpp Remove duplicate tool-tip setting 2014-12-29 16:27:44 -08:00
tableview.h Fix plus icon position based on the theme 2014-10-18 15:18:38 -07:00
tableview.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
tagwidget.cpp 727 fixed 2014-11-17 06:02:21 +00:00
tagwidget.h 727 fixed 2014-11-17 06:02:21 +00:00
updatemanager.cpp Fix the update check logic 2015-01-03 13:47:05 -08:00
updatemanager.h Automatic update check with an opt out 2015-01-01 20:49:24 -08:00
usermanual.cpp
usermanual.h
usersurvey.cpp
usersurvey.h
usersurvey.ui Make text in user survey follow our capitalization conventions 2015-01-04 07:42:08 -08:00
webservices.ui