55
55
inline int cacheSize() const { return m_cacheSize; }
56
56
void setCacheSize(int cacheSize);
58
inline bool useTiling() const { return m_useTiling; }
59
void setUseTiling(bool useTiling);
61
inline int tileSize() const { return m_tileSize; }
58
63
inline const QIcon& progressIcon() const { return m_progressIcon; }
59
64
inline const QIcon& errorIcon() const { return m_errorIcon; }
64
69
inline bool useDevicePixelRatio() const { return m_useDevicePixelRatio; }
65
70
void setUseDevicePixelRatio(bool useDevicePixelRatio);
72
inline bool trimMargins() const { return m_trimMargins; }
73
void setTrimMargins(bool trimMargins);
67
75
inline bool decoratePages() const { return m_decoratePages; }
68
void setDecoratePages(bool decorate);
76
void setDecoratePages(bool decoratePages);
70
78
inline bool decorateLinks() const { return m_decorateLinks; }
71
void setDecorateLinks(bool decorate);
79
void setDecorateLinks(bool decorateLinks);
73
81
inline bool decorateFormFields() const { return m_decorateFormFields; }
74
void setDecorateFormFields(bool decorate);
82
void setDecorateFormFields(bool decorateFormFields);
76
84
inline const QColor& backgroundColor() const { return m_backgroundColor; }
77
void setBackgroundColor(const QColor& color);
85
void setBackgroundColor(const QColor& backgroundColor);
79
87
inline const QColor& paperColor() const { return m_paperColor; }
80
void setPaperColor(const QColor& color);
88
void setPaperColor(const QColor& paperColor);
82
90
inline const QColor& highlightColor() const { return m_highlightColor; }
83
void setHighlightColor(const QColor& color);
91
void setHighlightColor(const QColor& highlightColor);
85
93
QColor annotationColor() const;
86
void setAnnotationColor(const QColor& color);
94
void setAnnotationColor(const QColor& annotationColor);
88
96
Qt::KeyboardModifiers copyToClipboardModifiers() const;
89
97
void setCopyToClipboardModifiers(const Qt::KeyboardModifiers& modifiers);
176
189
inline bool limitThumbnailsToResults() const { return m_limitThumbnailsToResults; }
177
190
void setLimitThumbnailsToResults(bool limitThumbnailsToResults);
192
qreal minimumScaleFactor() const;
193
qreal maximumScaleFactor() const;
195
qreal zoomFactor() const;
196
void setZoomFactor(qreal zoomFactor);
179
198
inline qreal pageSpacing() const { return m_pageSpacing; }
180
199
void setPageSpacing(qreal pageSpacing);
258
277
bool trackRecentlyUsed() const;
259
void setTrackRecentlyUsed(bool on);
278
void setTrackRecentlyUsed(bool trackRecentlyUsed);
261
280
int recentlyUsedCount() const;
262
281
void setRecentlyUsedCount(int recentlyUsedCount);
265
284
void setRecentlyUsed(const QStringList& recentlyUsed);
267
286
bool keepRecentlyClosed() const;
268
void setKeepRecentlyClosed(bool on);
287
void setKeepRecentlyClosed(bool keepRecentlyClosed);
270
289
int recentlyClosedCount() const;
271
290
void setRecentlyClosedCount(int recentlyClosedCount);
273
292
bool restoreTabs() const;
274
void setRestoreTabs(bool on);
293
void setRestoreTabs(bool restoreTabs);
276
295
bool restoreBookmarks() const;
277
void setRestoreBookmarks(bool on);
296
void setRestoreBookmarks(bool restoreBookmarks);
279
298
bool restorePerFileSettings() const;
280
void setRestorePerFileSettings(bool on);
299
void setRestorePerFileSettings(bool restorePerFileSettings);
282
301
int saveDatabaseInterval() const;
302
void setSaveDatabaseInterval(int saveDatabaseInterval);
284
304
int tabPosition() const;
285
305
void setTabPosition(int tabPosition);
302
322
bool instanceNameInWindowTitle() const;
303
323
void setInstanceNameInWindowTitle(bool instanceNameInWindowTitle);
325
bool usePageLabel() const;
326
void setUsePageLabel(bool usePageLabel);
305
328
bool synchronizeOutlineView() const;
306
329
void setSynchronizeOutlineView(bool synchronizeOutlineView);
314
337
QStringList viewToolBar() const;
315
338
void setViewToolBar(const QStringList& viewToolBar);
340
bool toggleToolAndMenuBarsWithFullscreen() const;
341
void setToggleToolAndMenuBarsWithFullscreen(bool toggleToolAndMenuBarsWithFullscreen) const;
317
343
bool hasIconTheme() const;
318
344
QString iconTheme() const;
372
398
bool fitToPage() const;
373
399
void setFitToPage(bool fitToPage);
401
#if QT_VERSION < QT_VERSION_CHECK(5,2,0)
375
403
PrintOptions::PageSet pageSet() const;
376
404
void setPageSet(PrintOptions::PageSet pageSet);
424
454
static inline int cacheSize() { return 32 * 1024 * 1024; }
456
static inline bool useTiling() { return false; }
457
static inline int tileSize() { return 1024; }
426
459
static inline bool keepObsoletePixmaps() { return false; }
427
460
static inline bool useDevicePixelRatio() { return false; }
462
static inline bool trimMargins() { return false; }
429
464
static inline bool decoratePages() { return true; }
430
465
static inline bool decorateLinks() { return true; }
431
466
static inline bool decorateFormFields() { return true; }
482
517
static inline qreal minimumScaleFactor() { return 0.1; }
483
518
static inline qreal maximumScaleFactor() { return 10.0; }
485
static inline qreal zoomBy() { return 0.1; }
520
static inline qreal zoomFactor() { return 1.1; }
487
522
static inline qreal pageSpacing() { return 5.0; }
488
523
static inline qreal thumbnailSpacing() { return 3.0; }
492
527
static inline bool matchCase() { return false; }
494
static inline int highlightDuration() { return 5000; }
529
static inline int highlightDuration() { return 5 * 1000; }
495
530
static inline QString sourceEditor() { return QString(); }
497
532
static inline Qt::KeyboardModifiers zoomModifiers() { return Qt::ControlModifier; }
534
569
static inline bool restoreBookmarks() { return false; }
535
570
static inline bool restorePerFileSettings() { return false; }
537
static inline int saveDatabaseInterval() { return 30000; }
572
static inline int saveDatabaseInterval() { return 5 * 60 * 1000; }
539
574
static inline int tabPosition() { return 0; }
540
575
static inline int tabVisibility() { return 0; }
546
581
static inline bool documentTitleAsTabTitle() { return true; }
548
583
static inline bool currentPageInWindowTitle() { return false; }
549
static inline bool instancfeNameInWindowTitle() { return false; }
584
static inline bool instanceNameInWindowTitle() { return false; }
586
static inline bool usePageLabel() { return true; }
551
588
static inline bool synchronizeOutlineView() { return false; }
577
616
static inline bool fitToPage() { return false; }
618
#if QT_VERSION < QT_VERSION_CHECK(5,2,0)
579
620
static inline PrintOptions::PageSet pageSet() { return PrintOptions::AllPages; }
581
622
static inline PrintOptions::NumberUp numberUp() { return PrintOptions::SinglePage; }
582
623
static inline PrintOptions::NumberUpLayout numberUpLayout() { return PrintOptions::LeftRightTopBottom; }