mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Output preview widget (first part)
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#include "pdfdocument.h"
|
||||
#include "pdfdrawwidget.h"
|
||||
#include "pdftransparencyrenderer.h"
|
||||
#include "outputpreviewwidget.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QFuture>
|
||||
@ -50,15 +51,6 @@ public:
|
||||
virtual void reject() override;
|
||||
|
||||
private:
|
||||
|
||||
enum DisplayMode
|
||||
{
|
||||
Separations,
|
||||
ColorWarningInkCoverage,
|
||||
ColorWarningRichBlack,
|
||||
InkCoverage
|
||||
};
|
||||
|
||||
void updateInks();
|
||||
void updatePaperColorWidgets();
|
||||
|
||||
@ -70,6 +62,8 @@ private:
|
||||
struct RenderedImage
|
||||
{
|
||||
QImage image;
|
||||
pdf::PDFFloatBitmapWithColorSpace originalProcessImage;
|
||||
QSizeF pageSize;
|
||||
QList<pdf::PDFRenderError> errors;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user