subsurface/qt-ui
Lubomir I. Ivanov 7ea728e95f Print: add the support to store margins and printer options
All the print options will be stored after the user closes
or "cancels" the print dialog.

There seems to be no good way to store the last
selected page size, because print dialogs are different and
some just list them as strings - A4, A3, etc.

The patch also applies the following changes:
- renames display.h's 'struct options' to 'struct print_options'
as these were really just for the print dialog
- the print_options dialog now stores more options as 'bool'
- demote PrintDialog's 'printOptions' to 'private'

Fixes #653

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-11-13 15:05:11 -08:00
..
css Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
marble Resync included header with upstream 2014-01-15 15:49:50 +07:00
profile Fix two more potential crashes for dives without samples 2014-11-03 07:50:30 -08:00
statistics Implement the modelDataChanged to repopulate the widget on Statistics 2014-08-25 14:00:38 -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
configuredivecomputerdialog.cpp Create a delegate for depth and gas components 2014-10-27 15:41:55 -07:00
configuredivecomputerdialog.h Create a delegate for depth and gas components 2014-10-27 15:41:55 -07:00
configuredivecomputerdialog.ui Update strings for Suunto safety levels. 2014-11-12 08:10:48 -08:00
divecomponentselection.ui Selective copy: forgot tags in the UI 2014-08-16 18:35:44 -06: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 Move the filters code to it's own file. 2014-11-13 12:01:00 -08:00
divelistview.h Correctly unselect trips when dive list filters change 2014-11-03 17:52:04 -08:00
divelogexportdialog.cpp Compare image times and sample times as signed ints 2014-10-27 14:39:00 -07:00
divelogexportdialog.h Add export for depths of images taken 2014-10-10 08:03:45 -04:00
divelogexportdialog.ui Export to DiveShare 2014-10-14 20:33:46 +02:00
divelogimportdialog.cpp Parse meta information from Seaber log 2014-10-28 07:25:45 -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 dive.h: add a variant of FOR_EACH_PICTURE 2014-10-28 09:10:12 -07:00
divepicturewidget.h Picture handling: cleaning up the mess 2014-08-05 12:37:14 -07:00
diveplanner.cpp Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveplanner.h Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveplanner.ui Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveshareexportdialog.cpp Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.h Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.ui Two small fixes regarding translation texts 2014-11-10 13:10:50 -08:00
downloadfromdivecomputer.cpp Pass the whole 'device_data_t' to the uemis downloader 2014-10-12 07:34:46 -04:00
downloadfromdivecomputer.h Headers cleanup. 2014-06-26 15:47:02 -07:00
downloadfromdivecomputer.ui Add "download into private trip" dialog checkmark 2014-08-14 22:40:14 -06:00
filtermodels.cpp Random whitespace cleanup 2014-11-13 12:52:35 -08:00
filtermodels.h When closing the filter window also clear the filter 2014-11-13 13:46:19 -08:00
globe.cpp globe.cpp: fix a NO_MARBLE warning 2014-10-27 07:35:53 -07:00
globe.h Headers cleanup. 2014-06-26 15:47:02 -07:00
graphicsview-common.cpp Tissue saturation plot a la Sherwater Pretel 2014-09-19 21:46:30 -07:00
graphicsview-common.h Tissue saturation plot a la Sherwater Pretel 2014-09-19 21:46:30 -07:00
groupedlineedit.cpp Remove double include 2014-10-15 22:53:10 +02:00
groupedlineedit.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
kmessagewidget.cpp Correctly remove the Close button from most message widgets 2014-08-04 22:45:17 -07:00
kmessagewidget.h Another small tweak to whitespace tool 2014-03-05 13:02:23 -08:00
listfilter.ui Fix position and size of the Filter 2014-11-03 14:33:15 -08:00
maintab.cpp maintab.cpp: use copy_string() instead of strdup() 2014-11-11 11:59:35 -08:00
maintab.h Show extra data in separate tab on MainTab 2014-11-07 13:00:58 -08:00
maintab.ui Fix typo 2014-11-12 10:18:26 -08:00
mainwindow.cpp When closing filter dialog via menu / shortcut, also reset them 2014-11-13 14:24:09 -08:00
mainwindow.h Support for importing Poseidon MK6 logs 2014-10-26 20:33:50 -07:00
mainwindow.ui Better menu entry for filter 2014-11-13 14:27:30 -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 Unify icon metrics 2014-10-18 15:16:15 -07:00
modeldelegates.h Dynamic dive trip list column widths 2014-10-18 15:16:03 -07:00
models.cpp Random whitespace cleanup 2014-11-13 12:52:35 -08:00
models.h Random whitespace cleanup 2014-11-13 12:52:35 -08:00
plannerSettings.ui Planner: bring sanity to the SAC rate handling 2014-08-19 11:36:54 -05:00
preferences.cpp Remove debug output in preference setting 2014-10-30 07:46:24 -07:00
preferences.h Added a 'use default file' button on preferences. 2014-07-16 15:52:29 -07:00
preferences.ui Preferences: increment/decrement partial perssure values by .1 2014-08-18 14:21:11 -05:00
printdialog.cpp Print: add the support to store margins and printer options 2014-11-13 15:05:11 -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 Fix the layout on the Print Dialog 2014-08-04 09:50:55 -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 When closing the filter window also clear the filter 2014-11-13 13:46:19 -08:00
simplewidgets.h When closing the filter window also clear the filter 2014-11-13 13:46:19 -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 Typos 2014-09-18 06:24:05 -07:00
subsurfacewebservices.h Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
tableview.cpp TableView: fix button sizing 2014-10-19 07:24:15 -07:00
tableview.h Fix plus icon position based on the theme 2014-10-18 15:18:38 -07:00
tableview.ui Fix plus icon position based on the theme 2014-10-18 15:18:38 -07:00
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 Fix missing translations for webservice responses 2014-08-26 10:30:41 -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 Survey: rename "Save" button to "Send" 2014-08-15 21:41:41 -06:00
usersurvey.h Better User Agent for Subsurface 2014-08-08 11:13:05 -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