summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qtimezone.cpp
diff options
context:
space:
mode:
authorDaniel Savi <public@gaess.ch>2018-02-28 16:10:32 +0100
committerAndré Hartmann <aha_1980@gmx.de>2018-04-22 12:47:26 +0000
commit84eb9b5e30266e0b81ae5465f2449d371894258f (patch)
tree814c99e34dbf6b292d0f15ad267ce7d85f021a76 /src/corelib/tools/qtimezone.cpp
parentb3bbba7b871144c5d6f4b1a432f5c2cce02e321f (diff)
Add image quality handling to QTextImageFormat
This patch enhances QTextImageFormat with a property for image quality. Default will be quality of 100. The user may set different values with setQuality(int). QTextODFexport will export images as png if quality is set to 100 and as jpg with the compression quality set to the given value if smaller than 100. [ChangeLog][QtGui][QTextImageFormat] Adds two new functions to the class: setQuality(int=100) and quality(). Is currently used by QTextODFWriter to determine the image type and quality when exporting images to ODT files. Change-Id: Iaa8ec0246aaba004d98c9e8c66609795101519a9 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qtimezone.cpp')
0 files changed, 0 insertions, 0 deletions