mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-29 09:40:26 +01:00
1558 lines
71 KiB
XML
1558 lines
71 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PDFViewerSettingsDialog</class>
|
|
<widget class="QDialog" name="PDFViewerSettingsDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>747</width>
|
|
<height>617</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Options</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,3">
|
|
<item>
|
|
<widget class="QListWidget" name="optionsPagesWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="viewMode">
|
|
<enum>QListView::ListMode</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="enginePage">
|
|
<layout class="QVBoxLayout" name="enginePageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="engineSettingsGroupBox">
|
|
<property name="title">
|
|
<string>Engine Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="engineSettingsGroupBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="engineSettingsGridLayout">
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="multithreadingLabel">
|
|
<property name="text">
|
|
<string>Multithreading strategy</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="renderingEngineComboBox"/>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="renderingEngineLabel">
|
|
<property name="text">
|
|
<string>Rendering engine</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="prefetchPagesLabel">
|
|
<property name="text">
|
|
<string>Prefetch pages</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="multithreadingComboBox"/>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="prefetchPagesCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="engineInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>Select a rendering method tailored to your application's requirements. Software Rendering, utilizing QPainter, is a versatile choice that guarantees compatibility across all platforms. It's particularly useful in scenarios where direct access to hardware acceleration isn't crucial. QPainter, part of the Qt framework, excels in rendering 2D graphics with support for various painting styles, image processing, and intricate graphical transformations, making it an excellent tool for applications that require detailed and sophisticated 2D graphics without relying on hardware acceleration.</p><p>On the other hand, for applications that demand high-performance rendering, leveraging the Blend2D library offers a compelling alternative. Blend2D is a high-performance 2D vector graphics engine that utilizes multi-threading to accelerate the rendering process. It does not rely on QPainter or hardware acceleration but instead offers a software-based rendering solution optimized for speed and quality. Blend2D's advanced anti-aliasing techniques ensure crisp and clear image quality, making it suitable for applications where rendering performance and image quality are paramount.</p><p>The Prefetch Pages feature is a strategy that can be applied regardless of the rendering method chosen. By pre-rendering pages adjacent to the currently viewed content, this approach minimizes flickering and enhances the smoothness of transitions during scrolling, improving the overall user experience.</p><p>When it comes to optimizing the rendering process, the choice of multithreading strategy plays a crucial role. A Single Thread strategy, where rendering tasks are executed sequentially on a single CPU core, might be preferable in environments where simplicity and predictability are key. For more demanding applications, employing a Multi-threading strategy can significantly improve rendering times. Strategies like Load Balanced distribute the workload evenly across CPU cores without delving into content-specific processing, offering a good performance boost. The Maximum Threads strategy takes full advantage of available CPU resources by allocating as many threads as possible to the rendering tasks, achieving optimal performance and minimizing rendering times.</p><p>This delineation between using QPainter for software rendering and Blend2D for high-performance, multi-threaded rendering allows developers to choose the most appropriate rendering pathway based on their specific performance requirements and the graphical complexity of their application.</p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="engineVerticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="renderingPage">
|
|
<layout class="QVBoxLayout" name="renderingPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="renderingSettingsGroupBox">
|
|
<property name="title">
|
|
<string>Rendering Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="renderingSettingsGroupBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="renderingSettingsGridLayout">
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="antialiasingCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="textAntialiasingCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="clipToCropBoxLabel">
|
|
<property name="text">
|
|
<string>Clip to crop box</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="textAntialiasingLabel">
|
|
<property name="text">
|
|
<string>Text antialiasing</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="ignoreOptionalContentLabel">
|
|
<property name="text">
|
|
<string>Ignore optional content</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QCheckBox" name="clipToCropBoxCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QCheckBox" name="ignoreOptionalContentCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="smoothPicturesCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="displayTimeCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="smoothPicturesLabel">
|
|
<property name="text">
|
|
<string>Smooth pictures</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="displayTimeLabel">
|
|
<property name="text">
|
|
<string>Display page compile/draw time</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="antialiasingLabel">
|
|
<property name="text">
|
|
<string>Antialiasing</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="displayAnnotationsLabel">
|
|
<property name="text">
|
|
<string>Display annotations</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QCheckBox" name="displayAnnotationsCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="renderingInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>The rendering settings control how the rendering engine handles page content and the appearance of displayed graphics. <span style=" font-weight:600;">Antialiasing</span> smooths out the appearance of painted shapes, such as rectangles, vector graphics, and lines, but doesn't affect text. <span style=" font-weight:600;">Text antialiasing</span>, on the other hand, refines the appearance of text characters, leaving other items untouched. Both <span style=" font-weight:600;">Antialiasing </span>and <span style=" font-weight:600;">Text antialiasing </span>are relevant only for the software renderer. If you're using a hardware rendering engine like OpenGL, these settings won't have an impact because OpenGL renders images using MSAA antialiasing (if enabled). </p><p><span style=" font-weight:600;">Smooth pictures</span> option enables pictures to be transformed into device space coordinates using a high-quality image transformation method. This generally results in better image quality. When disabled, a default fast transformation is used, potentially reducing image quality if the source DPI and device DPI differ. </p><p><span style=" font-weight:600;">Ignore optional content </span>ignores all optional content settings and renders everything in the content stream. <span style=" font-weight:600;">Clip to crop box</span> restricts the rendering area to the page's crop box, which is usually smaller than the whole page. Graphics outside the crop box aren't drawn, which can be useful for removing printer marks and similar elements. <span style=" font-weight:600;">Display page compile/draw time</span> can be handy for debugging, showing the time taken to compile a page (stored in the cache) and the time taken to render the compiled page contents onto the output device. </p><p>Using the <span style=" font-weight:600;">Display annotations</span> setting, you can enable or disable the display of annotations. If annotations are disabled, the user will not be able to interact with them. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>74</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="shadingPage">
|
|
<layout class="QVBoxLayout" name="shadingPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="shadingSettingsGroupBox">
|
|
<property name="title">
|
|
<string>Shading Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="preferredMeshResolutionLabel">
|
|
<property name="text">
|
|
<string>Preferred mesh resolution ratio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="colorToleranceLabel">
|
|
<property name="text">
|
|
<string>Color tolerance</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="minimalMeshResolutionLabel">
|
|
<property name="text">
|
|
<string>Minimal mesh resolution ratio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QDoubleSpinBox" name="preferredMeshResolutionEdit">
|
|
<property name="correctionMode">
|
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>0.001000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QDoubleSpinBox" name="minimalMeshResolutionEdit">
|
|
<property name="correctionMode">
|
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>0.001000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QDoubleSpinBox" name="colorToleranceEdit">
|
|
<property name="correctionMode">
|
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>0.001000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="shadingInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>Shading is executed according to mesh quality criteria, involving <span style=" font-weight:600;">color tolerance</span> and shape tolerance. If the color of the vertices of a triangle in the mesh is too different (exceeding the set color tolerance), then the mesh is refined, and the triangle is subdivided. Some shadings are defined by patterns, such as <span style=" font-style:italic;">Coons patch shading</span> or <span style=" font-style:italic;">Tensor product patch shading</span>, which are also taken into consideration during meshing. </p><p>The <span style=" font-weight:600;">Preferred mesh resolution ratio</span> should be set to optimize the balance between the performance of mesh generation and the quality of the mesh. The optimal triangle size is computed as follows: the total meshing area (typically a page) is multiplied by this ratio to determine the triangle size. For example, if we have an A4 page (210 mm x 297 mm), and the ratio is set to 0.01, then the optimal triangle size is computed as 297 * 0.01 = ~3 mm. </p><p>The <span style=" font-weight:600;">Minimal mesh resolution ratio</span> is a ratio that determines the minimal triangle size. At this boundary, no triangles are subdivided, regardless of color variation or shape quality. This ratio should be set to a value at which a user can barely recognize patterns on the screen (for example, the triangle size should be &lt; 1 mm). However, this also affects performance, as too many triangles can be generated. </p><p><span style=" font-weight:600;">Color tolerance</span> is the threshold at which two colors are recognized as different. The comparison is done component-wise, so if at least one color component exceeds this parameter, the colors are treated as different. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="shadingVerticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>91</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="cachePage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="cacheGroupBox">
|
|
<property name="title">
|
|
<string>Cache Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="cacheGroupBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="cacheSettingsGridLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="thumbnailCacheSizeLabel">
|
|
<property name="text">
|
|
<string>Thumbnail image cache size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="cachedFontLabel">
|
|
<property name="text">
|
|
<string>Cached font limit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="cachedFontLimitEdit">
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::PlusMinus</enum>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>256</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="compiledPageCacheSizeEdit">
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::PlusMinus</enum>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> kB</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>65536</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1048576</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1024</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="compiledPageCacheLabel">
|
|
<property name="text">
|
|
<string>Compiled page cache size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="thumbnailCacheSizeEdit">
|
|
<property name="suffix">
|
|
<string> kB</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1024</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65536</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1024</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="cachedInstancedFontLimitLabel">
|
|
<property name="text">
|
|
<string>Cached instanced font limit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSpinBox" name="cachedInstancedFontLimitEdit">
|
|
<property name="minimum">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>256</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="cacheInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>The rendering engine first compiles the page to enable quick drawing and then stores these compiled pages in a cache. These stored pages usually render much quicker than non-cached pages. The <span style=" font-weight:600;">Compiled Page Cache Size</span> sets the memory limit for these compiled pages, measured in kilobytes. Ideally, this limit should be at least twice as large as the size of the largest compiled page. If a compiled page exceeds this limit, an error will be displayed during rendering. Setting a higher value for this limit can speed up the rendering engine, but it will consume more operating memory. </p><p>There is also a cache for thumbnail images. The <span style=" font-weight:600;">Thumbnail Image Cache Size</span> determines the memory space allocated for these images. This value should be set large enough to accommodate all thumbnail images on the screen. The larger this value is, the quicker thumbnails will display, but at the cost of consuming more operating memory. Please note that thumbnails are stored as bitmaps for rapid drawing, not as precompiled pages. </p><p>During rendering, fonts are cached as well. There are two levels of cache for fonts: one for general fonts and one for instance-specific fonts (fonts at a specific size). The <span style=" font-weight:600;">Cached Font Limit</span> sets the maximum number of fonts that can be stored in the cache. The <span style=" font-weight:600;">Instanced Font Cache Limit</span> sets the maximum number of instance-specific fonts that can be stored. If these cache limits are exceeded, fonts are removed from the cache. However, this only happens when no operation in another thread (like compiling pages) is being performed to avoid race conditions. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="cachePageVerticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>74</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="shortcutsPage">
|
|
<layout class="QVBoxLayout" name="shortcutsPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Shortcuts</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QTableWidget" name="shortcutsTableWidget">
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::AllEditTriggers</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="cmsPage">
|
|
<layout class="QVBoxLayout" name="cmsPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="cmsGroupBox">
|
|
<property name="title">
|
|
<string>Color management system settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<layout class="QGridLayout" name="cmsWidgetsLayout" columnstretch="1,1">
|
|
<item row="7" column="1">
|
|
<widget class="QComboBox" name="cmsOutputColorProfileComboBox"/>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="cmsBlackPointCompensationLabel">
|
|
<property name="text">
|
|
<string>Black point compensation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="cmsDeviceGrayColorProfileLabel">
|
|
<property name="text">
|
|
<string>Device gray color profile</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="cmsTypeComboBox"/>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QComboBox" name="cmsDeviceGrayColorProfileComboBox"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="cmsAccuracyLabel">
|
|
<property name="text">
|
|
<string>Accuracy</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="cmsRenderingIntentComboBox"/>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="cmsProfileDirectoryLabel">
|
|
<property name="text">
|
|
<string>Additional color profile directory</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="cmsWhitePaperColorTransformedLabel">
|
|
<property name="text">
|
|
<string>White paper color transformed</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="11" column="1">
|
|
<widget class="QCheckBox" name="cmsConsiderOutputIntentCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="cmsOutputProfileLabel">
|
|
<property name="text">
|
|
<string>Output color profile</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QCheckBox" name="cmsIsBlackPointCompensationCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="cmsWhitePaperColorTransformedCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="cmsRenderingIntentLabel">
|
|
<property name="text">
|
|
<string>Rendering intent</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="1">
|
|
<widget class="QComboBox" name="cmsDeviceRGBColorProfileComboBox"/>
|
|
</item>
|
|
<item row="10" column="1">
|
|
<widget class="QComboBox" name="cmsDeviceCMYKColorProfileComboBox"/>
|
|
</item>
|
|
<item row="11" column="0">
|
|
<widget class="QLabel" name="cmsConsiderOutputIntentLabel">
|
|
<property name="text">
|
|
<string>Consider document output intents</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="0">
|
|
<widget class="QLabel" name="cmsDeviceRGBProfileLabel">
|
|
<property name="text">
|
|
<string>Device RGB color profile</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="cmsLabel">
|
|
<property name="text">
|
|
<string>Color management system</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="0">
|
|
<widget class="QLabel" name="cmsDeviceCMYKColorProfileLabel">
|
|
<property name="text">
|
|
<string>Device CMYK color profile</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<layout class="QHBoxLayout" name="cmsProfileDirectoryLayout">
|
|
<item>
|
|
<widget class="QLineEdit" name="cmsProfileDirectoryEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="cmsProfileDirectoryButton">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="cmsAccuracyComboBox"/>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="cmsColorAdaptationXYZComboBox"/>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="cmsColorAdaptationMethodLabel">
|
|
<property name="text">
|
|
<string>Color adaptation method (XYZ whitepoint)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="cmsInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>The <span style=" font-weight:600;">Color Management System</span> governs input and output color profiles and color transformations. This system allows for accurate color representation as defined in the PDF document. For faster color transformations, select 'Generic' to disable this functionality. The <span style=" font-weight:600;">Rendering Intent</span> selection influences the way colors are transformed. While rendering intents are often defined within the PDF document's content streams, you have the option to override them by selecting a different intent from 'Auto'. The <span style=" font-weight:600;">Accuracy</span> setting determines the precision of the color transformation, with higher accuracy consuming more memory. The <span style=" font-weight:600;">Black Point Compensation</span> adjusts for black colors that fall outside the gamut. The <span style=" font-weight:600;">White Paper Color Transformed</span> setting affects the color of the underlying white paper - enabling this will transform pure white from the device RGB profile to the output profile. </p><p>The <span style=" font-weight:600;">Output Color Profile</span> specifies the output (target) rendering profile. This profile should align with the color space that your screen uses to display colors. Additionally, you can set the color spaces for <span style=" font-weight:600;">gray/RGB/CMYK</span> device color spaces. These are used to transform gray/RGB/CMYK colors to the output color profile. </p><p>A document may contain output intents, which can be used for transforming between color spaces. If the <span style=" font-weight:600;">Consider Document Output Intents</span> option is checked, the color management system will verify whether the document contains output intents. If such intents are present, they will be used for color transformation as device color spaces (gray/RGB/CMYK). </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="cmsVerticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>59</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="cmsPostprocessingPage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Color Postprocessing</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="backgroundColorEdit"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="sigmoidParamLabel">
|
|
<property name="text">
|
|
<string>Sigmoid function slope parameter</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="foregroundColorLabel">
|
|
<property name="text">
|
|
<string>Foreground color</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="foregroundColorEdit"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="backgroundColorLabel">
|
|
<property name="text">
|
|
<string>Background color</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QDoubleSpinBox" name="sigmoidFunctionSlopeEdit">
|
|
<property name="minimum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>100.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="bitonalThresholdLabel">
|
|
<property name="text">
|
|
<string>Bitonal threshold</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSpinBox" name="bitonalThresholdEdit">
|
|
<property name="maximum">
|
|
<number>255</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="colorPostProcessingInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-weight:700;">Foreground</span> and <span style=" font-weight:700;">background</span> colors refer to a custom colors rendering mode, where two colors are used - the paper is drawn with the background color, and the foreground color is used for text and graphics. By default, the background is black and the foreground is green, which is easy on the eyes. </p><p><span style=" font-weight:700;">Sigmoid function slope parameter</span> is a parameter in high contrast color rendering. This rendering mode displays all graphics in high contrast. This parameter affects the degree of contrast. Set the value from 1 to 5 for a small contrast change, from 5 to 10 for a medium contrast change, and more than 10 for very high contrast rendering. </p><p><span style=" font-weight:700;">Bitonal threshold</span> is used in the bitonal rendering color mode. It distinguishes between black and white colors. However, the threshold for images is determined automatically. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="securityPage">
|
|
<layout class="QVBoxLayout" name="securityPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="securitySettingsGroupBox">
|
|
<property name="title">
|
|
<string>Security Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="securitySettingsGroupBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="securitySettingsGridLayout">
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="allowLaunchCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="allowRunURILabel">
|
|
<property name="text">
|
|
<string>Allow URI link launch</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="allowRunExeLabel">
|
|
<property name="text">
|
|
<string>Allow application launch</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="allowRunURICheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="securityInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>If the application launch is permitted, a message box appears after the <span style=" font-weight:600;">Launch</span> action is triggered, asking the user if they want to execute an external application. If the user confirms the dialog, the external application executes (for example, using the Windows function <span style=" font-weight:600;">ShellExecute</span>). When this option is turned off, no dialog appears and the external application never executes. </p><p>If the <span style=" font-weight:600;">URI link</span> launch is allowed, a message box appears asking the user if they want to open the URI link. If the user confirms the dialog, the URI link is opened by the default web browser (or default application if the URI links to the file system). </p><p>Users should exercise caution with these settings and only confirm execution if the document is safe and comes from a reliable source. Launching external applications and following URI links can pose risks to the user's computer. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="securityPageSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>74</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="uiPage">
|
|
<layout class="QVBoxLayout" name="uiPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="uiGroupBox">
|
|
<property name="title">
|
|
<string>UI Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<layout class="QGridLayout" name="uiGroupBoxLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="maximumRecentFileCountLabel">
|
|
<property name="text">
|
|
<string>Maximum count of recent files</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="magnifierSizeLabel">
|
|
<property name="text">
|
|
<string>Magnifier size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="maximumRecentFileCountEdit"/>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSpinBox" name="maximumUndoStepsEdit">
|
|
<property name="maximum">
|
|
<number>20</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="maximumUndoStepsLabel">
|
|
<property name="text">
|
|
<string>Maximum undo steps</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QSpinBox" name="maximumRedoStepsEdit">
|
|
<property name="maximum">
|
|
<number>20</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QDoubleSpinBox" name="magnifierZoomEdit">
|
|
<property name="minimum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>10.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="maximumRedoStepsLabel">
|
|
<property name="text">
|
|
<string>Maximum redo steps</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QCheckBox" name="developerModeCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="developerModeLabel">
|
|
<property name="text">
|
|
<string>Developer mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="magnifierSizeEdit">
|
|
<property name="suffix">
|
|
<string>px</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="magnifierZoomLabel">
|
|
<property name="text">
|
|
<string>Magnifier zoom</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="logicalPixelZoomCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="logicalPixelZoomLabel">
|
|
<property name="text">
|
|
<string>Use logical pixels when zooming</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="uiInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>The 'Maximum count of recent files' setting controls the number of recent files displayed in the menu. When a document is opened, it is added to the top of the recent files list. The list is then truncated from the bottom if the number of recent files exceeds the maximum. </p><p><span style=" font-weight:600;">Magnifier tool settings</span> determine the appearance of the magnifier. The magnifier tool enlarges the area under the mouse cursor. You can specify the size of the magnifier (in <span style=" font-weight:600;">logical</span> pixels) and its zoom level. </p><p>By specifying the <span style=" font-weight:600;">undo/redo</span> step count, you control the number of undo/redo steps available during document editing. Setting the maximum undo step count to zero disables the undo/redo function. You can also set a nonzero undo step count and a zero redo step count, which would make only undo actions available, with redo actions disabled. Changes are optimized for memory usage, so each undo/redo step shares unmodified objects with others. This means that, roughly speaking, making 10 modifications to a 50 MB document may consume around 51 MB of memory. Actual memory usage depends on the extent of the changes but is usually minimal as changes typically affect a small number of objects (for example, editing a form field or modifying an annotation). </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="uiGroupBoxSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>402</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="speechPage">
|
|
<layout class="QVBoxLayout" name="speechPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="speechGroupBox">
|
|
<property name="title">
|
|
<string>Speech Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="speechGroupBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="speechWidgetsLayout">
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="speechVoiceLabel">
|
|
<property name="text">
|
|
<string>Voice</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="speechPitchLabel">
|
|
<property name="text">
|
|
<string>Pitch</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="speechVolumeLabe">
|
|
<property name="text">
|
|
<string>Volume</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="speechRateLabel">
|
|
<property name="text">
|
|
<string>Rate</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="speechSynthethiserLabel">
|
|
<property name="text">
|
|
<string>Voice synthetiser</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="speechLocaleLabel">
|
|
<property name="text">
|
|
<string>Locale</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="speechEnginesComboBox"/>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="speechLocaleComboBox"/>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="speechVoiceComboBox"/>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QDoubleSpinBox" name="speechRateEdit">
|
|
<property name="minimum">
|
|
<double>-1.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QDoubleSpinBox" name="speechVolumeEdit">
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QDoubleSpinBox" name="speechPitchEdit">
|
|
<property name="minimum">
|
|
<double>-1.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="speechInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>Configure the speech settings to enable the text-to-speech feature for reading documents. While these settings act as defaults for the text-to-speech function, some can be adjusted later on. The 'Pitch' setting can vary from -1.0 to 1.0, with 0.0 serving as the default value. Similarly, the 'Rate' can range from -1.0 to 1.0, with 0.0 denoting a normal speech flow. Lastly, 'Volume' can be adjusted between 0.0 and 1.0. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>288</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="formPage">
|
|
<layout class="QVBoxLayout" name="formPageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="formGroupBox">
|
|
<property name="title">
|
|
<string>Form Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<layout class="QGridLayout" name="formWidgetsLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="formHighlightFieldsLabel">
|
|
<property name="text">
|
|
<string>Highlight form fields</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="formHighlightRequiredFieldsLabel">
|
|
<property name="text">
|
|
<string>Highlight required form fields</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="formHighlightFieldsCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="formHighlightRequiredFieldsCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="formInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>You can customize the appearance of form fields using the provided settings, including the option to highlight editable fields. You can separately highlight required form fields in red, while other fields can be emphasized in blue. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="formGroupBoxSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>393</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="signaturePage">
|
|
<layout class="QVBoxLayout" name="signaturePageLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="signatureGroupBox">
|
|
<property name="title">
|
|
<string>Digital Signature Verification</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="signatureGroupBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="signatureWidgetsLayout">
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="signatureIgnoreExpiredLabel">
|
|
<property name="text">
|
|
<string>Ignore expired certificates</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="signatureVerificationLabel">
|
|
<property name="text">
|
|
<string>Signature verification</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="signatureStrictModeLabel">
|
|
<property name="text">
|
|
<string>Strict mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="signatureVerificationEnableCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="signatureStrictModeEnabledCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="signatureUseSystemCertificateStoreLabel">
|
|
<property name="text">
|
|
<string>Use system certificate store</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="signatureIgnoreExpiredCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QCheckBox" name="signatureUseSystemCertificateStoreCheckBox">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="signatureCertificatesTableLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-weight:600;">Trusted certificate store</span></p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="trustedCertificateStoreTableWidget">
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="trustedCertificateStoreButtonsLayout">
|
|
<item>
|
|
<spacer name="trustedCertificateStoreButtonsSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="removeCertificateButton">
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="signatureInfoLabel">
|
|
<property name="text">
|
|
<string><html><head/><body><p>These are the settings for digital signature verification. Digital signatures are verified as strictly as possible to prevent any malicious content or signature manipulation. Verification can also be disabled, if not required. When <span style=" font-weight:600;">Strict mode</span> is enabled, every warning is treated as an error. You have the option to ignore the certificate expiration date, but this should only be done if you fully understand the potential risks involved. Verification uses a list of trusted certificates. System certificates can be added to this list, and you can also manage your own list of trusted certificates. </p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="pluginsPage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="pluginsGroupBox">
|
|
<property name="title">
|
|
<string>Plugins</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_9" stretch="3,0,1">
|
|
<item>
|
|
<widget class="QTableWidget" name="pluginsTableWidget">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="pluginDescriptionLabel">
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>PDFViewerSettingsDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>PDFViewerSettingsDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|