PDFViewerSettingsDialog 0 0 747 617 Options 0 0 QAbstractItemView::SelectRows QListView::ListMode 0 0 0 0 0 Engine Settings Multithreading strategy Rendering engine Prefetch pages Enable <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> true Qt::Vertical 20 40 0 0 0 0 Rendering Settings Enable Enable Clip to crop box Text antialiasing Ignore optional content Enable Enable Enable Enable Smooth pictures Display page compile/draw time Antialiasing Display annotations Enable <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> true Qt::Vertical 20 74 0 0 0 0 Shading Settings Preferred mesh resolution ratio Color tolerance Minimal mesh resolution ratio QAbstractSpinBox::CorrectToNearestValue 3 0.001000000000000 0.100000000000000 0.010000000000000 QAbstractSpinBox::CorrectToNearestValue 3 0.001000000000000 0.100000000000000 0.010000000000000 QAbstractSpinBox::CorrectToNearestValue 3 0.001000000000000 0.100000000000000 0.010000000000000 <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> true Qt::Vertical 20 91 0 0 0 0 Cache Settings Thumbnail image cache size Cached font limit QAbstractSpinBox::PlusMinus 4 256 QAbstractSpinBox::PlusMinus kB 65536 1048576 1024 Compiled page cache size kB 1024 65536 1024 Cached instanced font limit 4 256 <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> true Qt::Vertical 20 74 0 0 0 0 Shortcuts QAbstractItemView::AllEditTriggers 0 0 0 0 Color management system settings Black point compensation Device gray color profile Accuracy Additional color profile directory White paper color transformed Enable Output color profile Enable Enable Rendering intent Consider document output intents Device RGB color profile Color management system Device CMYK color profile ... Color adaptation method (XYZ whitepoint) <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> true Qt::Vertical 20 59 Color Postprocessing Sigmoid function slope parameter Foreground color Background color 1.000000000000000 100.000000000000000 Bitonal threshold 255 <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> true Qt::Vertical 20 40 0 0 0 0 Security Settings Enable Allow URI link launch Allow application launch Enable <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> true Qt::Vertical 20 74 0 0 0 0 UI Settings Maximum count of recent files Magnifier size 20 Maximum undo steps 20 1.000000000000000 10.000000000000000 Maximum redo steps Enable Developer mode px 50 1000 Magnifier zoom Enable Use logical pixels when zooming <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> true Qt::Vertical 20 402 0 0 0 0 Speech Settings Voice Pitch Volume Rate Voice synthetiser Locale -1.000000000000000 1.000000000000000 1.000000000000000 -1.000000000000000 1.000000000000000 <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> true Qt::Vertical 20 288 0 0 0 0 Form Settings Highlight form fields Highlight required form fields Enable Enable <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> true Qt::Vertical 20 393 0 0 0 0 Digital Signature Verification Ignore expired certificates Signature verification Strict mode Enable Enable Use system certificate store Enable Enable Qt::Horizontal <html><head/><body><p><span style=" font-weight:600;">Trusted certificate store</span></p></body></html> QAbstractItemView::SelectRows Qt::Horizontal 40 20 Remove Qt::Horizontal <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> true 0 0 0 0 Plugins QAbstractItemView::SingleSelection QAbstractItemView::SelectRows Qt::Horizontal Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop true Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok buttonBox accepted() PDFViewerSettingsDialog accept() 248 254 157 274 buttonBox rejected() PDFViewerSettingsDialog reject() 316 260 286 274