subsurface/qt-ui
Dirk Hohndel 64aace63f0 Don't connect to the MainWindow
We really shouldn't need to connect to the MainWindow in order to get the
right scale for the fonts when printing. While printing likely will remain
a desktop only function, this is just bad design. And making calls like
this from the paint() function is a bad plan, anyway.

So instead we make sure that every DiveTextItem knows what the printScale
was when it was created (or actually, when the text was first set as they
frequently get created before we have a scene which we use to get to the
profile), and gets updated whenever that scale changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-07-29 12:21:27 -07:00
..
css
marble
profile Don't connect to the MainWindow 2015-07-29 12:21:27 -07:00
statistics Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
about.cpp add and use a version.c / version.h pair 2015-02-15 13:26:51 -08:00
about.h Headers cleanup. 2014-06-26 15:47:02 -07:00
about.ui
btdeviceselectiondialog.cpp Only enable Bluetooth support if building against Qt5.4 or newer 2015-07-20 09:35:00 -07:00
btdeviceselectiondialog.h Log errors which occur during Bluetooth device discovery 2015-07-20 05:39:43 -07:00
btdeviceselectiondialog.ui Fix typos on Bluetooth selection widget 2015-07-20 05:52:10 -07:00
configuredivecomputerdialog.cpp Wire gui for diagnostic logs from dc configuration 2015-05-27 15:37:50 -07:00
configuredivecomputerdialog.h Wire gui for diagnostic logs from dc configuration 2015-05-27 15:37:50 -07:00
configuredivecomputerdialog.ui Wire gui for diagnostic logs from dc configuration 2015-05-27 15:37:50 -07:00
divecomponentselection.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
divecomputermanagementdialog.cpp Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
divecomputermanagementdialog.h
divecomputermanagementdialog.ui divecomputermanagementdilog capitalisation consitency 2014-07-10 16:26:20 -07:00
divelistview.cpp Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
divelistview.h Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
divelogexportdialog.cpp HTML export: separate UI and logic code 2015-06-16 14:04:41 -07:00
divelogexportdialog.h HTML export: separate UI and logic code 2015-06-16 14:04:41 -07:00
divelogexportdialog.ui Default to first tab on export 2015-07-21 07:33:31 -07:00
divelogimportdialog.cpp Seabear import: fix detection of empty lines 2015-07-28 09:32:53 -07:00
divelogimportdialog.h Add hw info to Seabear import 2015-07-27 06:34:18 -07:00
divelogimportdialog.ui Layout issues: Fix the DiveImportDialog 2015-05-25 17:45:11 -07:00
divepicturewidget.cpp Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
divepicturewidget.h Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
diveplanner.cpp Spell rebreather with an h 2015-07-24 09:43:24 -07:00
diveplanner.h VPM-B: add deco choice to the ui. 2015-07-03 23:07:58 +02:00
diveplanner.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
diveshareexportdialog.cpp Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
diveshareexportdialog.h Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
downloadfromdivecomputer.cpp Only enable Bluetooth support if building against Qt5.4 or newer 2015-07-20 09:35:00 -07:00
downloadfromdivecomputer.h Only enable Bluetooth support if building against Qt5.4 or newer 2015-07-20 09:35:00 -07:00
downloadfromdivecomputer.ui Add a checkbox and a button for Bluetooth download mode 2015-07-06 08:34:39 -07:00
filterwidget.ui Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
globe.cpp Fix mouse interaction with the Location List 2015-07-16 18:34:22 -07:00
globe.h Fix mouse interaction with the Location List 2015-07-16 18:34:22 -07:00
graphicsview-common.cpp CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
graphicsview-common.h CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
groupedlineedit.cpp Remove support for Qt4 (part 6) 2015-05-24 09:37:23 -07:00
groupedlineedit.h
kmessagewidget.cpp KMessageWidget: hide messages regardless whether it's visible 2015-07-16 10:55:55 -07:00
kmessagewidget.h Update KMessageWidget to KF5 2015-06-03 21:26:31 -07:00
listfilter.ui Layout issues: Fix spacing for the filter dialog 2015-05-25 17:43:08 -07:00
locationinformation.cpp We do not change the displayed_dive_site - don't reset it 2015-07-25 13:53:57 -07:00
locationinformation.h Show dive_site info on the labels 2015-07-25 13:53:20 -07:00
locationInformation.ui Set the MessageBox stretching rules. 2015-06-03 21:48:19 -07:00
maintab.cpp Fix mouse interaction with the Location List 2015-07-16 18:34:22 -07:00
maintab.h Change API signature to act on dive_site, not uuid 2015-07-16 12:41:04 -07:00
maintab.ui Add tooltip for geolocation lookup 2015-07-20 10:37:30 -07:00
mainwindow.cpp Printing: search for grantlee templates in the templates directory 2015-07-28 11:37:23 +03:00
mainwindow.h Re-enable the dive site edit 2015-07-25 13:51:44 -07:00
mainwindow.ui Re-enable the dive site edit 2015-07-25 13:51:44 -07: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 Use correct colors on selection 2015-07-20 21:43:20 -07:00
modeldelegates.h Create a delegate to display custom data 2015-07-01 19:24:52 -07:00
notificationwidget.cpp Cloud storage: clear our last error if verification succeeds 2015-06-14 14:18:51 -07:00
notificationwidget.h Cloud storage: clear our last error if verification succeeds 2015-06-14 14:18:51 -07:00
plannerDetails.ui Layout issues: Fix planner layout 2015-05-25 17:45:13 -07:00
plannerSettings.ui Planner: redo the spacing of the prefs 2015-07-08 08:02:04 -07:00
preferences.cpp Move initialization of preferences to helper function 2015-07-25 22:08:25 -07:00
preferences.h Make password change asynchronous 2015-07-22 15:06:57 -07:00
preferences.ui Add UI for cloud password change 2015-07-22 07:34:36 -07:00
printdialog.cpp Printing: add new default color scheme 2015-07-28 10:48:29 -07:00
printdialog.h Printing: add template_options struct that contains template 2015-07-05 21:00:25 +03:00
printoptions.cpp Printing: safer Template->Import|Export handling 2015-07-28 11:39:49 +03:00
printoptions.h Printing: add new default color scheme 2015-07-28 10:48:29 -07:00
printoptions.ui Printing: add "Import", "Export" and "Delete" buttons for templates 2015-07-28 11:37:51 +03:00
qtwaitingspinner.cpp Add a new class, QtWaitingSpinner, MIT Licensed. 2015-05-17 15:00:25 -07:00
qtwaitingspinner.h Add a new class, QtWaitingSpinner, MIT Licensed. 2015-05-17 15:00:25 -07:00
renumber.ui
searchbar.ui Add a horizontal spacer to make the searchbar layout better 2014-07-11 17:00:23 -07:00
setpoint.ui A widget to add a set-point change 2014-12-01 14:19:03 -08:00
shiftimagetimes.ui Added warning when not all images can be added. 2015-03-15 15:47:37 -07:00
shifttimes.ui shiftimes capitalisation consitency and title 2014-07-11 07:05:17 -07:00
simplewidgets.cpp Initialize members 2015-06-21 22:31:03 -07:00
simplewidgets.h Move Locationinformation to its own file. 2015-05-17 13:51:13 -07:00
socialnetworks.cpp Preferences dialog: yet another attempt to make it fit 2015-06-27 14:37:43 -07: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 Clean up the header files 2015-01-18 21:25:59 +12:00
starwidget.h Unify icon metrics 2014-10-18 15:16:15 -07:00
subsurfacewebservices.cpp Make password change asynchronous 2015-07-22 15:06:57 -07:00
subsurfacewebservices.h Make password change asynchronous 2015-07-22 15:06:57 -07:00
tableview.cpp Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
tableview.h TableView - improving the column width calculation 2015-03-19 15:33:16 -07:00
tableview.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
tagwidget.cpp Remove information panel from mainwindow.ui 2015-02-10 10:45:45 -08:00
tagwidget.h 727 fixed 2014-11-17 06:02:21 +00:00
templateedit.cpp Printing: add new default color scheme 2015-07-28 10:48:29 -07:00
templateedit.h Printing: implement edit buttons in color tab 2015-07-20 15:28:23 +03:00
templateedit.ui Printing: add new default color scheme 2015-07-28 10:48:29 -07:00
undocommands.cpp Fix renumbering of dives 2015-06-14 21:49:34 -07:00
undocommands.h Fix renumbering of dives 2015-06-14 21:49:34 -07:00
updatemanager.cpp Don't show the update messages in the mobile app 2015-07-10 13:28:28 -07:00
updatemanager.h Add unique but random UUID to server queries 2015-01-25 12:02:13 -08:00
urldialog.ui Allow images to be added via the web 2015-04-24 09:36:21 -07:00
usermanual.cpp Make search and close shortcut for user manual work on Mac 2015-01-28 14:30:19 -08:00
usermanual.h Make search and close shortcut for user manual work on Mac 2015-01-28 14:30:19 -08:00
usersurvey.cpp Move helper functions around 2015-02-23 09:31:08 -08:00
usersurvey.h Move helper functions around 2015-02-23 09:31:08 -08:00
usersurvey.ui Include iPhone companion app to user survey 2015-01-30 22:48:08 -08:00
webservices.ui webservice capitalisation consitency 2014-07-11 07:05:38 -07:00