Laurent Montel
8beef33c05
Port some deprecated methods
7 years ago
Laurent Montel
db0f477119
Port deprecated QLayout::setMargin
7 years ago
Shubham Jangra
4610929e0c
Use logically correct icon for direction arrows
...
Test Plan:
Before:
{F6626036}
After:
{F6626027}
Reviewers: #vdg, ngraham, #okular
Reviewed By: #vdg, ngraham
Subscribers: aacid, abetts, davidhurka, ngraham, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D19183
7 years ago
Laurent Montel
2406bf9c4c
Use not deprecated methods
7 years ago
Yuri Chornoivan
c7722c4078
Fix minor EBN issues
8 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Vaca
c71f308252
Fixes suggested by Clazy
10 years ago
Martin T. H. Sandsmark
09a99ba96b
Port away from obsolete Qt functions
10 years ago
Martin T. H. Sandsmark
76b976f87e
Use correct palette update signal in minibar
10 years ago
Martin T. H. Sandsmark
5d9d98f46f
Fix MiniBar's adjusting to size changes
...
CCBUG: 357579
10 years ago
Martin T. H. Sandsmark
ba4b9eb1a6
ui: Fix build without implicit cast to/from ascii
...
See previous commits for details.
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Montel Laurent
8e7429ddcc
kdelibs4support--
12 years ago
Montel Laurent
3b4ee788b8
Fix includes
12 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Vishesh Handa
e038950f50
KIcon -> QIcon
12 years ago
Frederik Gladhorn
b32d815301
A few action and include fixes
12 years ago
Frederik Gladhorn
4ce837a7ac
Qt5 porting
12 years ago
Frederik Gladhorn
0ba233788c
Use moc include style dictated by automoc
...
While it's generally not a great idea to include moc files at least this
compiles.
12 years ago
Albert Astals Cid
3a91b599a9
React to toolbar icon change when minibar is in the toolbar
...
BUGS: 329880
FIXED-IN: 4.12.2
12 years ago
Eike Hein
d865f4d733
Cope with global color scheme changes in the page number entry.
...
CCMAIL:wstephenson@kde.org
13 years ago
Tobias Koenig
d3e0dadcac
Introduce notifyCurrentPageChanged callback DocumentObserver interface
14 years ago
Jonathan Marten
06326f7311
Allow the page number selector to be added to the toolbar
...
Ok, this is not really the review Jonathan did, i did rewrite the code partially because i did not really
want to have a new observer, but the code is heavily inspired in his patch.
Also the page number selector is not in the toolbar as the review had, it'd be silly to have it in both places
by default, so if you want to have it you have to go, edit the toolbar and add the "Page Number" action to it.
REVIEW: 103427
BUGS: 279128
FIXED-IN: 4.9.0
14 years ago
Albert Astals Cid
84980e7574
For documents with page label, make the lower bar lineedit be the page label instead of number
...
We show the actual number in a separate qlabel too
Based on a patch by Daniel Oberländer
BUGS: 187237
FIXED-IN: 4.8.0
15 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Christopher Reichert
0213afca46
Page up and Page down buttons now work while focus is in the search bar
...
or in the page number line edit in the minibar.
CCBUG: 270524
CCBUG: 274887
15 years ago
Albert Astals Cid
fe4a6d7e8f
Update minibar page number when it has focus and page changes
...
Patch by Sebastian Dörner
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209706
15 years ago
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Pino Toscano
793a8fc9b6
do not hardcode the maximum number of digits of the pages line edit to 4
...
actually, do not hardcode it at all, as the validator will do the job just fine
CCBUG: 191859
svn path=/trunk/KDE/kdegraphics/okular/; revision=964588
17 years ago
Sebastian Trueg
b787abb5d8
Nobody reacted on my email to the devel mailing list, so I suspect that noone has any objections to my patches.
...
Anyway, this is what happens:
* I replaced the zoom combobox in the toolbar with the fit to width/page buttons. For one they look much cleaner and
also most users would never use the freezooming anyway.
* Removed the frame from the sidebar, making for a cleaner overall look. After all, nothing else has a frame.
* Let the statusbar stretch over the full width of the window. This again makes the app look cleaner.
* Used the same trick as in Gwenview: let the background shine through -> clean++
* Use QToolButton instead of QPushButton for the minibar buttons to fit the other buttons in all apps.
svn path=/trunk/KDE/kdegraphics/okular/; revision=887160
18 years ago
Albert Astals Cid
2f61e6545b
use kclasses
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=760478
18 years ago
Pino Toscano
8f46b3cc74
reduce the default x-scale of minibar buttons, otherwise some widget styles will want to make them wide over any human limit
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746696
19 years ago
Rafael Fernández López
396bcc107b
Code adaptation because of changes on libraries related to revision 719630
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719644
19 years ago
Pino Toscano
b56ad8c3ae
Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
19 years ago
Pino Toscano
0ceee0b64e
small tweaks to the prev/next buttons in the minibar:
...
- reduce their width of the 10%
- reduce their icon size, so they don't take 40px of height
- remove the custom hover code, Qt::WA_Hover does that for us
- make use of an already-there function to cut a pair of lines of code (yay for easiness!)
svn path=/trunk/KDE/kdegraphics/okular/; revision=698005
19 years ago
Pino Toscano
a2bda2bebb
explain a bit this cryptic lonely two-letters word
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=697972
19 years ago
Pino Toscano
5bfd0d5bd2
don't draw garbage in the progress widget when there's no document open
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=696988
19 years ago
Robert Knight
bb6936f60c
Make the mini-bar look a bit better: Make the previous/next page buttons larger so they are easier to click. Fix the layouting so that the button height is not bound by the font height. Use 'of' instead of '/' to separate the current page and page count.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=669147
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Pino Toscano
9ccf6d520d
adapt the icon names to the icon naming spec
...
svn path=/trunk/playground/graphics/okular/; revision=640710
19 years ago
Pino Toscano
0a40c2ad0f
double the width of the prev/next page buttons
...
svn path=/trunk/playground/graphics/okular/; revision=629217
19 years ago
Pino Toscano
e681776682
don't show a wide minibar when no document is opened
...
svn path=/trunk/playground/graphics/okular/; revision=604048
20 years ago
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
20 years ago
Pino Toscano
1deb800611
instead of being a frame, just use two frames acting as side lines to emulate a
...
visual zone for the minibar. this makes the prev/next buttons more reachable.
svn path=/trunk/playground/graphics/okular/; revision=595840
20 years ago
Albert Astals Cid
7cd16e9d61
fix indenting + hoverbuttons do not accept focus
...
svn path=/trunk/playground/graphics/okular/; revision=595774
20 years ago
Pino Toscano
f27f44fd79
Detach the progress widget from the minibar, and move the minibar as a small toolbar on the bottom of the page view.
...
Implements KPDF wish #102788 .
svn path=/trunk/playground/graphics/okular/; revision=595764
20 years ago
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
20 years ago
Pino Toscano
9bbabc1f64
Forward port to okular of KPDF commit 586747:
...
Make okular a bit more friendly for users of RtL languages:
- correctly place the message pane (top-left corner of page view for LtR, top-right for RtL)
- make the mini-progressbar fully usable for both the writing directions
(the icons of the previous/next page buttons were already fixed by me)
svn path=/trunk/playground/graphics/okular/; revision=586751
20 years ago
Albert Astals Cid
3e620c0918
the very slight gain in looks is not worth the porting cost
...
svn path=/trunk/playground/graphics/okular/; revision=559181
20 years ago
Pino Toscano
aa82718199
adapt the icons to RtL layouts; use KIcon
...
svn path=/trunk/playground/graphics/okular/; revision=558417
20 years ago