1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00
subsurface/qt-ui
Lubomir I. Ivanov e5b18db802 Print: improve table printing by using QTableView
The current QTextDocument implementation is slow due to
HTML parsing. By using QTableView with QAbstractTableModel
we boost the performance of the table print drastically.
This patch completely replaces the old solution.

There is a hidden QTableView widget which is populated
with all data and rendered using a QPainter attached to
the printer device.

A couple of new classes are added in models.h/cpp
that handle the table print model and these are then used
in printlayout.h/cpp.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-08-05 06:59:19 +02:00
..
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
about.cpp Fix compile on clean source 2013-07-19 10:24:59 -07:00
about.h Add an 'About' dialog for the Qt UI 2013-06-24 07:44:28 -07:00
about.ui About: improve dialog layout 2013-07-11 09:22:20 -03:00
divecomputermanagementdialog.cpp Close child windows and dialogs with main window 2013-06-28 20:23:59 +08:00
divecomputermanagementdialog.h Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.ui Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divelistview.cpp Qt: Implement trip merging logic 2013-07-04 23:00:12 -07:00
divelistview.h Qt: Implement trip merging logic 2013-07-04 23:00:12 -07:00
diveplanner.cpp Added the possibility to choose gases in the planner. 2013-07-21 13:54:21 -03:00
diveplanner.h Added the possibility to choose gases in the planner. 2013-07-21 13:54:21 -03:00
diveplanner.ui Added a new class to handle the DivePlanner dialog 2013-06-20 18:40:59 -03:00
downloadfromdivecomputer.cpp A couple of dialog modality considerations 2013-06-28 20:24:14 +08:00
downloadfromdivecomputer.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
downloadfromdivecomputer.ui Change title of dive download form 2013-06-12 07:27:58 -04:00
globe.cpp Coordinate some mark_divelist_changed() calls 2013-06-27 20:57:11 +08:00
globe.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
graphicsview-common.cpp Colors: a couple of grayscale color tweaks 2013-07-18 12:00:12 -07:00
graphicsview-common.h Added 2 new files to handle the common stuff for graphics. 2013-07-02 10:08:16 -03:00
kmessagewidget.cpp Fixed the 'click in close doesn't close' on KMessageWidget. 2013-05-22 08:10:02 -03:00
kmessagewidget.h Compile fix 2013-05-17 22:27:50 -07:00
maintab.cpp Adds Single-Click editions on the TableView 2013-07-17 12:13:04 -03:00
maintab.h Adds Single-Click editions on the TableView 2013-07-17 12:13:04 -03:00
maintab.ui Show empty labels in the Stats tab 2013-06-27 20:57:13 +08:00
mainwindow.cpp Print: add UI for a print dialog 2013-07-09 21:01:42 +03:00
mainwindow.h Profile: prevent a bug when switching views 2013-07-05 07:38:29 -07:00
mainwindow.ui Moved the DivePlanner to the MainWindow. 2013-06-27 14:48:03 -03:00
modeldelegates.cpp Added the code to revert Weigths when user cancels edition 2013-07-18 12:01:48 -07:00
modeldelegates.h Added the code to revert Weigths when user cancels edition 2013-07-18 12:01:48 -07:00
models.cpp Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
models.h Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
plotareascene.cpp Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
plotareascene.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
preferences.cpp Close child windows and dialogs with main window 2013-06-28 20:23:59 +08:00
preferences.h Tie all the pieces together and make Preferences work as intended 2013-06-03 21:08:49 +09:00
preferences.ui Correctly implement Metric / Imperial / Personalize preference 2013-06-02 19:52:18 +09:00
printdialog.cpp Print: add experimental code for printing profiles 2013-07-18 12:00:12 -07:00
printdialog.h Print: add a print preview for testing purposes 2013-07-10 19:27:10 +03:00
printlayout.cpp Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
printlayout.h Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
printoptions.cpp Print: move some header includes to cpp files 2013-07-11 00:45:29 +03:00
printoptions.h Print: move some header includes to cpp files 2013-07-11 00:45:29 +03:00
printoptions.ui Print: correct tab order in the options widget 2013-07-10 10:50:33 +03:00
profilegraphics.cpp Fix " begin" and " end" for events in plot. 2013-08-05 06:56:34 +02:00
profilegraphics.h Support more than one event of the same type in Qt tooltip. 2013-08-05 06:55:18 +02:00
renumber.ui add forgotten file. 2013-06-17 13:54:50 -03:00
simplewidgets.cpp Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
simplewidgets.h Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
starwidget.cpp The never ending, futile fight for whitespace consistency 2013-05-22 21:31:45 -07:00
starwidget.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
subsurfacewebservices.cpp A couple of dialog modality considerations 2013-06-28 20:24:14 +08:00
subsurfacewebservices.h Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00
subsurfacewebservices.ui Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00