Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joao Oliveira
Okular
Commits
5c80b0d1
Commit
5c80b0d1
authored
Nov 07, 2004
by
Enrico Ros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361223
parent
4baa91df
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
kpdf/TODO
kpdf/TODO
+3
-3
kpdf/conf/preferencesdialog.cpp
kpdf/conf/preferencesdialog.cpp
+2
-2
kpdf/document.h
kpdf/document.h
+1
-1
kpdf/page.cpp
kpdf/page.cpp
+1
-1
kpdf/thumbnaillist.cpp
kpdf/thumbnaillist.cpp
+0
-1
No files found.
kpdf/TODO
View file @
5c80b0d1
...
...
@@ -7,8 +7,8 @@ Legend:
(*) - Some parts of this item are already done
In progress on the branch (first item comes first):
-> ADD: click over image allows "save image"
(and display rect around image too) [5
0% done]
-> ADD: viewport changes the right way when clicking links [
3
0% done]
-> ADD: click over image allows "save image"
[6
0% done]
-> ADD: viewport changes the right way when clicking links [
4
0% done]
Things to do in order to merge in HEAD (first item has highest priority):
-> memory manager with different profiles (mem/cpu tradeoff: {memory saving, normal, memory aggressive})
...
...
@@ -40,7 +40,7 @@ More items (first items will enter 'In progress list' first):
-> wrong zoom buttons order (BR74248) (check consistancy with kdvi/kghostview/.. (not konq))
Done (newest feature comes firts):
-> ADD: reading aids (inverted display, recolor, black/white,
...
)
-> ADD: reading aids (inverted display, recolor, black/white,
draw link border, draw image border
)
-> FIX: zoom preserved when switching modes and flickerless
-> ADD: Printing as PS instead of as image (Albert)
-> ADD: Remember page on session logout and put the document in it on session restore (Albert)
...
...
kpdf/conf/preferencesdialog.cpp
View file @
5c80b0d1
...
...
@@ -24,7 +24,7 @@ PreferencesDialog::PreferencesDialog( QWidget * parent, KConfigSkeleton * skelet
m_performance
=
new
DlgPerformance
(
0
);
m_accessibility
=
new
DlgAccessibility
(
0
);
addPage
(
m_general
,
i18n
(
"General"
),
"
gohome
"
,
i18n
(
"General Options"
)
);
addPage
(
m_general
,
i18n
(
"General"
),
"
kpdf
"
,
i18n
(
"General Options"
)
);
addPage
(
m_performance
,
i18n
(
"Performance"
),
"launch"
,
i18n
(
"Performance Tuning"
)
);
addPage
(
m_accessibility
,
i18n
(
"Accessibility"
),
"
viewmag
"
,
i18n
(
"Reading Aids"
)
);
addPage
(
m_accessibility
,
i18n
(
"Accessibility"
),
"
access
"
,
i18n
(
"Reading Aids"
)
);
}
kpdf/document.h
View file @
5c80b0d1
...
...
@@ -79,7 +79,7 @@ public:
bool
okToPrint
()
const
;
bool
print
(
KPrinter
&
printer
);
//public slots:
//public slots:
TODO remove me
// document commands via slots
void
slotSetCurrentPage
(
int
page
,
const
QRect
&
viewport
=
QRect
()
);
void
slotSetFilter
(
const
QString
&
pattern
,
bool
caseSensitive
);
...
...
kpdf/page.cpp
View file @
5c80b0d1
...
...
@@ -317,7 +317,7 @@ void PagePainter::paintPageOnPainter( const KPDFPage * page, int id, int flags,
h
=
(
int
)(
page
->
m_sBottom
*
height
/
page
->
m_height
)
-
y
;
if
(
w
>
0
&&
h
>
0
)
{
// setRasterOp is no more on Qt4 find an alternative way of doing this
//
TODO
setRasterOp is no more on Qt4 find an alternative way of doing this
p
->
setBrush
(
Qt
::
SolidPattern
);
p
->
setPen
(
QPen
(
Qt
::
black
,
1
)
);
// should not be necessary bug a Qt bug makes it necessary
p
->
setRasterOp
(
Qt
::
NotROP
);
...
...
kpdf/thumbnaillist.cpp
View file @
5c80b0d1
...
...
@@ -62,7 +62,6 @@ ThumbnailList::ThumbnailList( QWidget *parent, KPDFDocument *document )
// widget setup: can be focused by tab and mouse click (not wheel)
viewport
()
->
setFocusProxy
(
this
);
viewport
()
->
setFocusPolicy
(
StrongFocus
);
viewport
()
->
setPaletteBackgroundColor
(
Qt
::
gray
);
setResizePolicy
(
Manual
);
setAcceptDrops
(
true
);
setDragAutoScroll
(
false
);
...
...
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