diff options
Diffstat (limited to 'examples/widgets/pdfviewer/mainwindow.ui')
-rw-r--r-- | examples/widgets/pdfviewer/mainwindow.ui | 103 |
1 files changed, 101 insertions, 2 deletions
diff --git a/examples/widgets/pdfviewer/mainwindow.ui b/examples/widgets/pdfviewer/mainwindow.ui index f1f90b307..7070619b9 100644 --- a/examples/widgets/pdfviewer/mainwindow.ui +++ b/examples/widgets/pdfviewer/mainwindow.ui @@ -26,7 +26,7 @@ <x>0</x> <y>0</y> <width>380</width> - <height>210</height> + <height>200</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_2"/> @@ -49,8 +49,27 @@ <string>File</string> </property> <addaction name="actionOpen"/> + <addaction name="actionQuit"/> + </widget> + <widget class="QMenu" name="menuHelp"> + <property name="title"> + <string>Help</string> + </property> + <addaction name="actionAbout"/> + <addaction name="actionAbout_Qt"/> + </widget> + <widget class="QMenu" name="menuView"> + <property name="title"> + <string>View</string> + </property> + <addaction name="actionZoom_In"/> + <addaction name="actionZoom_Out"/> + <addaction name="actionPrevious_Page"/> + <addaction name="actionNext_Page"/> </widget> <addaction name="menuFile"/> + <addaction name="menuView"/> + <addaction name="menuHelp"/> </widget> <widget class="QToolBar" name="mainToolBar"> <attribute name="toolBarArea"> @@ -60,15 +79,95 @@ <bool>false</bool> </attribute> <addaction name="actionOpen"/> + <addaction name="separator"/> + <addaction name="actionZoom_Out"/> + <addaction name="actionZoom_In"/> + <addaction name="separator"/> + <addaction name="actionGo"/> </widget> <widget class="QStatusBar" name="statusBar"/> <action name="actionOpen"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/icons/images/fileopen.png</normaloff>:/icons/images/fileopen.png</iconset> + </property> <property name="text"> <string>Open...</string> </property> + <property name="shortcut"> + <string>Ctrl+O</string> + </property> + </action> + <action name="actionQuit"> + <property name="text"> + <string>Quit</string> + </property> + <property name="shortcut"> + <string>Ctrl+Q</string> + </property> + </action> + <action name="actionAbout"> + <property name="text"> + <string>About</string> + </property> + </action> + <action name="actionAbout_Qt"> + <property name="text"> + <string>About Qt</string> + </property> + </action> + <action name="actionZoom_In"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/icons/images/zoom-in-24.png</normaloff>:/icons/images/zoom-in-24.png</iconset> + </property> + <property name="text"> + <string>Zoom In</string> + </property> + <property name="shortcut"> + <string>Ctrl+=</string> + </property> + </action> + <action name="actionZoom_Out"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/icons/images/zoom-out-24.png</normaloff>:/icons/images/zoom-out-24.png</iconset> + </property> + <property name="text"> + <string>Zoom Out</string> + </property> + <property name="shortcut"> + <string>Ctrl+-</string> + </property> + </action> + <action name="actionGo"> + <property name="text"> + <string>Go</string> + </property> + <property name="toolTip"> + <string>Go to Page</string> + </property> + </action> + <action name="actionPrevious_Page"> + <property name="text"> + <string>Previous Page</string> + </property> + <property name="shortcut"> + <string>PgUp</string> + </property> + </action> + <action name="actionNext_Page"> + <property name="text"> + <string>Next Page</string> + </property> + <property name="shortcut"> + <string>PgDown</string> + </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> - <resources/> + <resources> + <include location="resources.qrc"/> + </resources> <connections/> </ui> |