Files
qt6-migration-pipeline/Z/src/nglwidgets/nglpdfwidget.ui
T
2026-07-14 12:07:36 +02:00

254 lines
7.3 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>pdfWidget</class>
<widget class="QWidget" name="pdfWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>580</width>
<height>396</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<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 row="0" column="0" colspan="4">
<widget class="NGL::PDFDocument" name="pdfDocument" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>202</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>201</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QToolButton" name="previousPage">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="../../../Lts/Plugins/Styles/Light/resources/rme_light_style.qrc">
<normaloff>:/style/media-seek-backward.svg</normaloff>:/style/media-seek-backward.svg</iconset>
</property>
<property name="shortcut">
<string>Ctrl+P</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>5</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="pageLabel">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>5</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="nextPage">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="../../../Lts/Plugins/Styles/Light/resources/rme_light_style.qrc">
<normaloff>:/style/media-seek-forward.svg</normaloff>:/style/media-seek-forward.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="rotateDoc">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../Lts/Plugins/Styles/Light/resources/rme_light_style.qrc">
<normaloff>:/style/restart.svg</normaloff>:/style/restart.svg</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<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="QToolButton" name="zoomMinus">
<property name="text">
<string>-</string>
</property>
<property name="icon">
<iconset resource="nglresources.qrc">
<normaloff>:/icons/16x16/zoom-out.png</normaloff>:/icons/16x16/zoom-out.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="zoom100">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="text">
<string>1:1</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="zoomFull">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="nglresources.qrc">
<normaloff>:/icons/16x16/view-fullscreen.png</normaloff>:/icons/16x16/view-fullscreen.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="zoomPlus">
<property name="text">
<string>+</string>
</property>
<property name="icon">
<iconset resource="nglresources.qrc">
<normaloff>:/icons/16x16/zoom-in.png</normaloff>:/icons/16x16/zoom-in.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>NGL::PDFDocument</class>
<extends>QWidget</extends>
<header location="global">nglwidgets/nglpdfdocument.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="nglresources.qrc"/>
<include location="nglresources.qrc"/>
<include location="../../../Lts/Plugins/Styles/Light/resources/rme_light_style.qrc"/>
<include location="../../../Lts/Plugins/Styles/Light/resources/rme_light_style.qrc"/>
</resources>
<connections/>
</ui>