7 #ifndef CHECKDOCUMENT_H
8 #define CHECKDOCUMENT_H
20 class QTreeWidgetItem;
23 #include "scribusapi.h"
26 #include "scribusstructs.h"
27 #include "ui/scrpalettebase.h"
45 virtual void changeEvent(QEvent *e);
49 enum CheckMode { checkNULL, checkPDF, checkEPS, checkPrint, checkPrintPreview };
52 void clearErrorList();
66 void setIgnoreEnabled(
bool state);
69 bool isIgnoreEnabled();
77 void slotSelect(QTreeWidgetItem* ite);
82 void newScan(
const QString& name);
87 void selectElement(
PageItem *,
bool,
int);
88 void selectElementByItem(
PageItem *,
bool);
92 void selectMasterPage(QString);
94 void selectMasterPageElement(QString,
int);
97 void ignoreAllErrors();
102 virtual void languageChange();
105 QVBoxLayout* checkDocumentLayout;
106 QHBoxLayout* layout1;
107 QHBoxLayout* layout2;
109 QMap<QTreeWidgetItem*, QPointer<PageItem> >
itemMap;
131 PV_APPLIED_MASTER_DIFF_SIDE,
132 PV_EMPTY_IMAGE_FRAME,
134 PV_FONT_NOT_EMBEDDED,
136 PV_IMAGE_FRAME_PART_FILLED,
147 PV_LAYER_TRANSPARENCY,
149 PV_LAYER_PRINTVIS_MISMATCH
158 QTreeWidget* reportDisplay;
159 QPushButton* ignoreErrors;
165 bool showPagesWithoutErrors;
166 bool showNonPrintingLayerErrors;
182 void buildItem(QTreeWidgetItem * item,
183 PreflightError errorType,
187 #endif // CHECKDOCUMENT_H
QMap< int, QPair< QString, QString > > warnMap
Strings for common texts in GUI dialog tree.
Definition: checkDocument.h:152
QMap< QTreeWidgetItem *, QPointer< PageItem > > itemMap
Mappping Page Item - item nr.
Definition: checkDocument.h:109
QPixmap noErrors
Icon for OK.
Definition: checkDocument.h:126
QMap< QTreeWidgetItem *, int > posMap
Mappping Page Item - cursor position in item.
Definition: checkDocument.h:117
QPixmap onlyWarning
Icon for warning.
Definition: checkDocument.h:124
bool noButton
Flag if is ignore button shown. true = hidden, false = shown.
Definition: checkDocument.h:155
The ScComboBox widget always uses a listbox instead of a popup, independent of any QStyle...
Definition: sccombobox.h:26
the Document Class
Definition: scribusdoc.h:90
QMap< QTreeWidgetItem *, ScPage * > pageMap
Mappping Page - page nr.
Definition: checkDocument.h:111
QPixmap graveError
Icon for fatal error.
Definition: checkDocument.h:122
Preflight Verifier GUI (P.V.) A tool to check document for errors (in P.V. profiles) which can be set...
Definition: checkDocument.h:37
QMap< QTreeWidgetItem *, ScPage * > masterPageMap
Mappping Master Page - MP nr.
Definition: checkDocument.h:113
CheckMode
State of the P.V.
Definition: checkDocument.h:49
CheckMode checkMode
Current state of P.V.
Definition: checkDocument.h:72
Definition: pageitem.h:92
Definition: scrpalettebase.h:38
QMap< QTreeWidgetItem *, QPointer< PageItem > > masterPageItemMap
Mappping MP Item - MP item nr.
Definition: checkDocument.h:115
ScribusDoc * m_Doc
a reference to the current document
Definition: checkDocument.h:120