Reimplement Chart::paint() to fix printing issues

Authored by habacker on Jan 9 2020, 9:03 PM.

Description

Reimplement Chart::paint() to fix printing issues

The previous implementation did not take the headers and footers
into account when resizing the diagram.

The implementation has been taken from AbstractArea::paintIntoRectArea().

This patch adds the method PrintingParameters::scaleFactor(), because
in branch 2.6 the class member PrintingParameters::scaleFactor was made
private.

See kdiagram bug 405075

Details

Committed
habackerJan 15 2020, 1:14 PM
Parents
R261:db12b6038326: Let schedule and ledger view tool bar follow global toolbar style changes
Branches
Unknown
Tags
Unknown