2023-01-26 17:31:16 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>983</width>
|
|
|
|
<height>602</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Document Viewer Demo</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
2023-06-27 11:56:05 +00:00
|
|
|
<iconset resource="documentviewer.qrc">
|
2023-01-26 17:31:16 +00:00
|
|
|
<normaloff>:/demos/documentviewer/images/qt-logo.png</normaloff>:/demos/documentviewer/images/qt-logo.png</iconset>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="viewArea" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="orientation">
|
2025-04-17 12:46:19 +00:00
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="tabPosition">
|
2025-04-17 12:46:19 +00:00
|
|
|
<enum>QTabWidget::TabPosition::West</enum>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="bookmarkTab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Pages</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="pagesTab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Bookmarks</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>800</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="widgetResizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>798</width>
|
2025-04-17 12:46:19 +00:00
|
|
|
<height>457</height>
|
2023-01-26 17:31:16 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>983</width>
|
2025-04-17 12:46:19 +00:00
|
|
|
<height>24</height>
|
2023-01-26 17:31:16 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="qtFileMenu">
|
|
|
|
<property name="title">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>&File</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<addaction name="actionOpen"/>
|
2023-03-23 15:25:43 +00:00
|
|
|
<addaction name="actionRecent"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
<addaction name="actionPrint"/>
|
2025-07-07 13:25:42 +00:00
|
|
|
<addaction name="actionExit"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="menuHelp">
|
|
|
|
<property name="title">
|
|
|
|
<string>Help</string>
|
|
|
|
</property>
|
2025-04-17 12:46:19 +00:00
|
|
|
<widget class="QMenu" name="menuLanguage">
|
|
|
|
<property name="title">
|
|
|
|
<string>Language</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionEnglish"/>
|
|
|
|
<addaction name="actionDeutsch"/>
|
|
|
|
</widget>
|
2023-01-26 17:31:16 +00:00
|
|
|
<addaction name="actionAbout"/>
|
|
|
|
<addaction name="actionAboutQt"/>
|
2025-04-17 12:46:19 +00:00
|
|
|
<addaction name="menuLanguage"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</widget>
|
|
|
|
<addaction name="qtFileMenu"/>
|
|
|
|
<addaction name="menuHelp"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
|
|
<property name="windowTitle">
|
2025-04-17 12:46:19 +00:00
|
|
|
<string>ToolBar</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="actionOpen"/>
|
2023-03-23 15:25:43 +00:00
|
|
|
<addaction name="actionRecent"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
<addaction name="actionPrint"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="actionBack"/>
|
|
|
|
<addaction name="actionForward"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
</widget>
|
|
|
|
<action name="actionOpen">
|
|
|
|
<property name="icon">
|
2025-07-03 15:33:46 +00:00
|
|
|
<iconset theme="QIcon::ThemeIcon::DocumentOpen"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>&Open</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+O</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionAbout">
|
|
|
|
<property name="icon">
|
2025-07-03 15:33:46 +00:00
|
|
|
<iconset theme="QIcon::ThemeIcon::HelpAbout"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-04-17 12:46:19 +00:00
|
|
|
<string>About Document Viewer</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Show information about the Document Viewer deomo.</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+H</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionForward">
|
|
|
|
<property name="icon">
|
2025-07-03 15:33:46 +00:00
|
|
|
<iconset theme="QIcon::ThemeIcon::GoNext"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-04-17 12:46:19 +00:00
|
|
|
<string>Forward</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>One step forward</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Right</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionBack">
|
|
|
|
<property name="icon">
|
2025-07-03 15:33:46 +00:00
|
|
|
<iconset theme="QIcon::ThemeIcon::GoPrevious"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-04-17 12:46:19 +00:00
|
|
|
<string>Back</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>One step back</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Left</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionPrint">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2025-07-03 15:33:46 +00:00
|
|
|
<iconset theme="QIcon::ThemeIcon::DocumentPrint"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>&Print</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Print current file</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+P</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionAboutQt">
|
|
|
|
<property name="icon">
|
2023-06-27 11:56:05 +00:00
|
|
|
<iconset resource="documentviewer.qrc">
|
2023-03-23 15:25:43 +00:00
|
|
|
<normaloff>:/demos/documentviewer/images/qt-logo.png</normaloff>
|
|
|
|
<normalon>:/demos/documentviewer/images/qt-logo.png</normalon>:/demos/documentviewer/images/qt-logo.png</iconset>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>About Qt</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Show Qt license information</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+I</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionRecent">
|
|
|
|
<property name="icon">
|
2025-07-03 15:33:46 +00:00
|
|
|
<iconset theme="QIcon::ThemeIcon::DocumentOpenRecent"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>&Recently opened...</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Meta+R</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2025-07-07 13:25:42 +00:00
|
|
|
<action name="actionExit">
|
2023-01-26 17:31:16 +00:00
|
|
|
<property name="icon">
|
2025-04-17 12:46:19 +00:00
|
|
|
<iconset theme="application-exit"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>E&xit</string>
|
|
|
|
</property>
|
|
|
|
<property name="iconText">
|
|
|
|
<string>E&xit</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>Exits the application</string>
|
2023-01-26 17:31:16 +00:00
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+Q</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2025-04-17 12:46:19 +00:00
|
|
|
<action name="actionEnglish">
|
|
|
|
<property name="text">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>&English</string>
|
2025-04-17 12:46:19 +00:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionDeutsch">
|
|
|
|
<property name="text">
|
2025-07-07 13:25:42 +00:00
|
|
|
<string>&Deutsch</string>
|
2025-04-17 12:46:19 +00:00
|
|
|
</property>
|
|
|
|
</action>
|
2023-01-26 17:31:16 +00:00
|
|
|
</widget>
|
|
|
|
<resources>
|
2023-06-27 11:56:05 +00:00
|
|
|
<include location="documentviewer.qrc"/>
|
2023-01-26 17:31:16 +00:00
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
2025-07-07 13:25:42 +00:00
|
|
|
<sender>actionExit</sender>
|
2023-01-26 17:31:16 +00:00
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>close()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>491</x>
|
|
|
|
<y>300</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|