subsurface/qt-ui
Lubomir I. Ivanov 69676b08fb Print: display an error message if no printers are found
When pressing Print or Preview from the PrintDialog, we need
to first check if there are printers installed. If not
we abort and show an error message.

This is needed because if no printers are installed,
things like the reported page height could be zero and
the profile and table print code in PrintLayout will
break.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-08-04 09:47:18 -07:00
..
css
marble Resync included header with upstream 2014-01-15 15:49:50 +07:00
profile Planner: show mean depth 2014-08-04 07:36:07 -07:00
about.cpp Quit Subsurface with about window in front 2014-04-25 10:21:55 -07:00
about.h Headers cleanup. 2014-06-26 15:47:02 -07:00
about.ui SubsurfaceAbout class cleanup. 2014-02-08 08:00:27 -08:00
completionmodels.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
completionmodels.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divecomputermanagementdialog.cpp misc capitalisation and spelling 2014-07-11 07:06:26 -07:00
divecomputermanagementdialog.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divecomputermanagementdialog.ui divecomputermanagementdilog capitalisation consitency 2014-07-10 16:26:20 -07:00
divelistview.cpp Only repopulate the dive info once ( we were repopulating 4 times ) 2014-07-23 08:10:10 -07:00
divelistview.h Fix crash when trying to add a dive or plan when a filter is active. 2014-06-26 15:49:19 -07:00
divelogexportdialog.cpp When exporting to XML and no extension given, default to .ssrf 2014-07-31 10:38:36 -07:00
divelogexportdialog.h Headers cleanup. 2014-06-26 15:47:02 -07:00
divelogexportdialog.ui Add missing application icon 2014-07-18 10:21:42 -07:00
divelogimportdialog.cpp Add quirks for Seabear CSV settings for pressure 2014-07-10 12:40:41 -07:00
divelogimportdialog.h Add support for importing pressure from CSV files 2014-07-10 12:40:25 -07:00
divelogimportdialog.ui divelogimportdialog capitalisation consitency 2014-07-10 16:27:50 -07:00
divepicturewidget.cpp Mark divelist changed after removing a picture 2014-07-30 14:19:34 -07:00
divepicturewidget.h Implement the functionality of remove_picture. 2014-07-30 12:52:31 -07:00
diveplanner.cpp Update altitude properly when changing unit systems 2014-08-03 13:44:39 -07:00
diveplanner.h Update altitude properly when changing unit systems 2014-08-03 13:44:39 -07:00
diveplanner.ui Planner: limit altitude and pressure 2014-07-15 17:19:49 -07:00
downloadfromdivecomputer.cpp Try to avoid inconsistent selection state after divecomputer download 2014-07-14 21:44:57 -07:00
downloadfromdivecomputer.h Headers cleanup. 2014-06-26 15:47:02 -07:00
downloadfromdivecomputer.ui downloadfromdivecomputer capitalisation consitency 2014-07-10 16:29:24 -07:00
globe.cpp misc capitalisation and spelling 2014-07-11 07:06:26 -07:00
globe.h Headers cleanup. 2014-06-26 15:47:02 -07:00
graphicsview-common.cpp Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
graphicsview-common.h Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
groupedlineedit.cpp C++ Correctness and code cleanup. 2014-07-29 09:38:10 -07:00
groupedlineedit.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
kmessagewidget.cpp Remove unused variable 2014-07-29 10:32:13 -07:00
kmessagewidget.h Another small tweak to whitespace tool 2014-03-05 13:02:23 -08:00
maintab.cpp Update pictures when entering/exiting planner 2014-08-02 15:13:51 -07:00
maintab.h Maintab: fix trip location / notes editing 2014-07-30 08:52:11 -07:00
maintab.ui Fix time zone conversions 2014-07-29 13:01:46 -07:00
mainwindow.cpp Update pictures when entering/exiting planner 2014-08-02 15:13:51 -07:00
mainwindow.h Remove unused menu "Filter" 2014-07-14 18:33:54 -07:00
mainwindow.ui pN2 » pN₂, pO2 » pO₂ 2014-07-16 13:17:09 -07:00
modeldelegates.cpp Whitespace fixes. 2014-07-23 07:47:15 -07:00
modeldelegates.h Add the HTML Delegate to printing. 2014-07-18 10:14:27 -07:00
models.cpp Enforce end pressures to be not above starting pressures. 2014-08-02 15:12:42 -07:00
models.h Printing: print depth unit in table 2014-07-11 21:59:21 -07:00
plannerSettings.ui Update strings for translations 2014-07-24 07:15:05 -07:00
preferences.cpp Animation speed is a value, not a boolean 2014-07-23 07:50:03 -07:00
preferences.h Added a 'use default file' button on preferences. 2014-07-16 15:52:29 -07:00
preferences.ui Added a 'use default file' button on preferences. 2014-07-16 15:52:29 -07:00
printdialog.cpp Print: display an error message if no printers are found 2014-08-04 09:47:18 -07:00
printdialog.h Print: display an error message if no printers are found 2014-08-04 09:47:18 -07:00
printlayout.cpp Print: enable the vector table print only for Qt5.0 and newer 2014-08-04 07:43:42 -07:00
printlayout.h PrintLayout: disable the QPainter scaling 2014-07-24 21:06:19 -07:00
printoptions.cpp Printing: add 1 dive per page option 2014-07-24 11:33:28 -07:00
printoptions.h Printing: add 1 dive per page option 2014-07-24 11:33:28 -07:00
printoptions.ui Printing: add 1 dive per page option 2014-07-24 11:33:28 -07:00
renumber.ui Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
searchbar.ui Add a horizontal spacer to make the searchbar layout better 2014-07-11 17:00:23 -07:00
shiftimagetimes.ui shifimmagetimes capitalisation consitency and title 2014-07-11 07:05:10 -07:00
shifttimes.ui shiftimes capitalisation consitency and title 2014-07-11 07:05:17 -07:00
simplewidgets.cpp Misc UI capitalisation consitencies and other text changes 2014-07-11 10:44:09 -07:00
simplewidgets.h Calendar widget should hide when clicking somewhere else 2014-06-30 16:05:43 -07:00
starwidget.cpp Change the Star Widget to use QImage instead of QPixmap 2014-06-20 15:43:10 -07:00
starwidget.h Change the Star Widget to use QImage instead of QPixmap 2014-06-20 15:43:10 -07:00
subsurfacewebservices.cpp Try to fix divelogs upload on Windows 2014-08-03 13:04:38 -07:00
subsurfacewebservices.h Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
tableview.cpp Misc UI capitalisation consitencies and other text changes 2014-07-11 10:44:09 -07:00
tableview.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
tableview.ui
tagwidget.cpp Misc UI capitalisation consitencies and other text changes 2014-07-11 10:44:09 -07:00
tagwidget.h Headers cleanup. 2014-06-26 15:47:02 -07:00
updatemanager.cpp Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
updatemanager.h Rely on QNetworkReply finished() signal instead of AccessManager one 2014-07-16 13:56:46 -07:00
usermanual.cpp Add missing application icon 2014-07-18 10:21:42 -07:00
usermanual.h Use a layout to lay down the search and the help 2014-07-11 16:59:14 -07:00
usersurvey.cpp Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
usersurvey.h Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
usersurvey.ui Fix layout for User Survey 2014-07-16 09:11:04 -07:00
webservices.ui webservice capitalisation consitency 2014-07-11 07:05:38 -07:00