Page layout modes

This commit is contained in:
Jakub Melka
2019-02-03 13:57:37 +01:00
parent 4d7eaf7587
commit 0a28869c94
5 changed files with 191 additions and 0 deletions

View File

@@ -36,7 +36,25 @@
<string>Go To</string>
</property>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>View</string>
</property>
<widget class="QMenu" name="menuPage_Layout">
<property name="title">
<string>Page Layout</string>
</property>
<addaction name="actionPageLayoutSinglePage"/>
<addaction name="actionPageLayoutContinuous"/>
<addaction name="actionPageLayoutTwoPages"/>
<addaction name="actionPageLayoutTwoColumns"/>
<addaction name="separator"/>
<addaction name="actionFirstPageOnRightSide"/>
</widget>
<addaction name="menuPage_Layout"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuView"/>
<addaction name="menuGoTo"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
@@ -63,6 +81,64 @@
<string>Quit</string>
</property>
</action>
<action name="actionPageLayoutSinglePage">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Single Page</string>
</property>
<property name="shortcut">
<string>Ctrl+1</string>
</property>
</action>
<action name="actionPageLayoutContinuous">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Continuous</string>
</property>
<property name="shortcut">
<string>Ctrl+2</string>
</property>
</action>
<action name="actionPageLayoutTwoPages">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Two Pages</string>
</property>
<property name="shortcut">
<string>Ctrl+3</string>
</property>
</action>
<action name="actionPageLayoutTwoColumns">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Two columns</string>
</property>
<property name="shortcut">
<string>Ctrl+4</string>
</property>
</action>
<action name="actionFirstPageOnRightSide">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>First page on right side</string>
</property>
<property name="toolTip">
<string>First page on right side</string>
</property>
<property name="shortcut">
<string>Ctrl+5</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>