Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Okular
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andi Sardina Ramos
Okular
Commits
0612a602
Commit
0612a602
authored
Jun 13, 2005
by
Enrico Ros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging patch_111
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425048
parent
1bf56ad4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
part.rc
part.rc
+6
-7
ui/pageview.cpp
ui/pageview.cpp
+5
-2
No files found.
part.rc
View file @
0612a602
...
...
@@ -16,8 +16,8 @@
<Menu
name=
"view"
><text>
&
View
</text>
<Action
name=
"presentation"
/>
<Separator/>
<Action
name=
"zoom_out"
/>
<Action
name=
"zoom_in"
/>
<Action
name=
"zoom_out"
/>
<Action
name=
"zoom_fit_width"
/>
<Action
name=
"zoom_fit_page"
/>
<Action
name=
"zoom_fit_rect"
/>
...
...
@@ -26,9 +26,10 @@
<Action
name=
"view_twopages"
/>
</Menu>
<Menu
name=
"go"
><text>
&
Go
</text>
<Action
name=
"first_page"
/>
<Action
name=
"previous_page"
/>
<Action
name=
"next_page"
/>
<Separator/>
<Action
name=
"first_page"
/>
<Action
name=
"last_page"
/>
<Separator/>
<Action
name=
"history_back"
/>
...
...
@@ -36,7 +37,7 @@
<Separator/>
<Action
name=
"goto_page"
/>
</Menu>
<Menu
name=
"mouseMode"
><text>
&
Mouse Mode
</text>
<Menu
name=
"mouseMode"
><text>
&
Tools
</text>
<Action
name=
"mouse_drag"
/>
<Action
name=
"mouse_zoom"
/>
<Action
name=
"mouse_select"
/>
...
...
@@ -56,11 +57,9 @@
<Action
name=
"zoom_in"
/>
<Action
name=
"zoom_to"
/>
<Action
name=
"zoom_out"
/>
<!--Action name="zoom_fit_width"/-->
<!--Action name="zoom_fit_page"/-->
<Separator/>
<Action
name=
"
view_continuous
"
/>
<Action
name=
"
view_twopages
"
/>
<Action
name=
"
zoom_fit_width
"
/>
<Action
name=
"
zoom_fit_page
"
/>
<Separator/>
<Action
name=
"mouse_drag"
/>
<Action
name=
"mouse_zoom"
/>
...
...
ui/pageview.cpp
View file @
0612a602
...
...
@@ -185,16 +185,19 @@ void PageView::setupActions( KActionCollection * ac )
// Zoom actions ( higher scales takes lots of memory! )
d
->
aZoom
=
new
KSelectAction
(
i18n
(
"Zoom"
),
"viewmag"
,
0
,
this
,
SLOT
(
slotZoom
()
),
ac
,
"zoom_to"
);
d
->
aZoom
->
setEditable
(
true
);
#if KDE_IS_VERSION(3,4,89)
d
->
aZoom
->
setMaxComboViewCount
(
13
);
#endif
updateZoomText
();
KStdAction
::
zoomIn
(
this
,
SLOT
(
slotZoomIn
()
),
ac
,
"zoom_in"
);
KStdAction
::
zoomOut
(
this
,
SLOT
(
slotZoomOut
()
),
ac
,
"zoom_out"
);
d
->
aZoomFitWidth
=
new
KToggleAction
(
i18n
(
"Fit to Page &Width"
),
"view
magfit
"
,
0
,
ac
,
"zoom_fit_width"
);
d
->
aZoomFitWidth
=
new
KToggleAction
(
i18n
(
"Fit to Page &Width"
),
"view
_fit_width
"
,
0
,
ac
,
"zoom_fit_width"
);
connect
(
d
->
aZoomFitWidth
,
SIGNAL
(
toggled
(
bool
)
),
SLOT
(
slotFitToWidthToggled
(
bool
)
)
);
d
->
aZoomFitPage
=
new
KToggleAction
(
i18n
(
"Fit to &Page"
),
"view
magfit
"
,
0
,
ac
,
"zoom_fit_page"
);
d
->
aZoomFitPage
=
new
KToggleAction
(
i18n
(
"Fit to &Page"
),
"view
_fit_window
"
,
0
,
ac
,
"zoom_fit_page"
);
connect
(
d
->
aZoomFitPage
,
SIGNAL
(
toggled
(
bool
)
),
SLOT
(
slotFitToPageToggled
(
bool
)
)
);
d
->
aZoomFitText
=
new
KToggleAction
(
i18n
(
"Fit to &Text"
),
"viewmagfit"
,
0
,
ac
,
"zoom_fit_text"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment