GUI adjustments, display settings

This commit is contained in:
Jakub Melka
2021-03-27 12:18:56 +01:00
parent 39ebe08847
commit 40bbdd531a
5 changed files with 251 additions and 15 deletions

View File

@ -51,6 +51,14 @@ public:
private:
enum DisplayMode
{
Separations,
ColorWarningInkCoverage,
ColorWarningRichBlack,
InkCoverage
};
void updateInks();
void updatePaperColorWidgets();
@ -67,7 +75,11 @@ private:
void updatePageImage();
void onPageImageRendered();
RenderedImage renderPage(const pdf::PDFPage* page, QSize renderSize, pdf::PDFRGB paperColor, uint32_t activeColorMask);
RenderedImage renderPage(const pdf::PDFPage* page,
QSize renderSize,
pdf::PDFRGB paperColor,
uint32_t activeColorMask,
pdf::PDFTransparencyRendererSettings::Flags additionalFlags);
bool isRenderingDone() const;
Ui::OutputPreviewDialog* ui;