Pino Toscano
7eac68815b
Use the id of the form fields as id, not the name!
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=773440
18 years ago
Pino Toscano
e26ce5255b
the text color needs to be adapted to the color scheme as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=765271
18 years ago
Pino Toscano
a3e0474e35
Use the standard KDE color for the content area messages.
...
Patch by Robert Knight, thanks!
BUG: 156457
svn path=/trunk/KDE/kdegraphics/okular/; revision=765205
18 years ago
Pino Toscano
26b02fe068
vertically center the icon in the message
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756265
18 years ago
Eike Hein
a56276f00d
Review toolbar tweaks.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756192
18 years ago
Eike Hein
93fdfab88c
person("pinotree")->happiness++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756180
18 years ago
Eike Hein
2ab6d6f842
On second thought, keep the mask - less work for Qt.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756115
18 years ago
Eike Hein
3af668a384
Draw the review toolbar borders anti-aliased.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=756114
18 years ago
Eike Hein
cb4367608b
Draw the page view message popup borders anti-aliased. Gets
...
rid of my #1 Okular annoyance (yes, I'm petty like that).
svn path=/trunk/KDE/kdegraphics/okular/; revision=756098
18 years ago
Pino Toscano
39fb1ef5b6
correctly show/hide the form widgets in each page correctly even when not in Continuous mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755275
18 years ago
Pino Toscano
8761aa5f12
add possibility to for an item to be "set visible" or not
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755208
18 years ago
Jure Repinc
e60c1ec1cf
The background is always yellow, the text can be hard to read with a dark
...
color scheme with white text. So now the text is always set to black.
svn path=/trunk/KDE/kdegraphics/okular/; revision=755179
18 years ago
Pino Toscano
44aa2d7088
Globally store an icon loader different that the global one (eg the KPart one);
...
this way we can load our custom icons when embedded in other shells than ours.
svn path=/trunk/KDE/kdegraphics/okular/; revision=752473
18 years ago
Pino Toscano
98ed679e0e
Do not change the offset of the shadow, as it does not change in themes, says Diego.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=748590
19 years ago
Pino Toscano
704a53bb12
get correctly the layout direction of the widget, thanks Diego
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=748587
19 years ago
Pino Toscano
1bf39cf98a
In the message widget, draw the icon on the right when the layout is RightToLeft.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=748578
19 years ago
Pino Toscano
5a06b9d911
improve getInnetPoint() and getOuterPoint() so that
...
- they use a nice switch
- the real anchor widget position is taken into account (no more magic constant, and the position is correct even in RtL configurations)
svn path=/trunk/KDE/kdegraphics/okular/; revision=748015
19 years ago
Pino Toscano
1022878a5a
icon renaming:
...
- pencil -> draw-freehand
svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
19 years ago
Pino Toscano
995972052d
Review toolbar:
...
- enable/disable (instead of hide/show) the tools that cannot be constructed (eg due to the document not extracting text)
- disable the tools when there is no document open
svn path=/trunk/KDE/kdegraphics/okular/; revision=746293
19 years ago
Pino Toscano
537b828e50
for now, disable the animation of the review toolbar, as it seems to be slow sometimes
...
#define OKULAR_ANIMATE_REVIEW_TOOBAR to re-eanble it
svn path=/trunk/KDE/kdegraphics/okular/; revision=736304
19 years ago
Pino Toscano
7f44aafa94
correctly hide the form widgets when a widget is focused
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=726769
19 years ago
Pino Toscano
a580378469
no need for the PageViewToolBar to have the mouse tracking enabled
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=722555
19 years ago
Pino Toscano
3c6b0b9181
add a method to toggle any of the tool buttons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=715999
19 years ago
Pino Toscano
4415a36e3e
rename the AnnotationItem to AnnotationToolItem, otherwise there's a plain conflict with the private class of the AnnotationModel
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710030
19 years ago
Albert Astals Cid
41c25cb208
Back from holiday, let's do some comitting :-)
...
* Update some copyright years and mail addresses
* Search does not block the GUI anymore YUHUUUUU
Well, it it does but it's almost unperceptible, that means the searching methods of Document no longer return a bool but a void and the Document::searchFinished signal is used to know if something was found, nothing was found or the user pressed the cancel button !YES! one can cancel search now :-)
* TextPage no longer holds the area and the current transformed area, it took TOO MUCH memory, now we transform the area each time, it's much more CPU intensive but i could not measure a time loss while searching big documents and i could measure HUNDREDS of MB of usage less.
* MICRO optimization: Change some code to not detach some containers
* I still don't have ADSL so this is something like a "blind" commit, Pino will check it compiles against current KDE, not against what's on my computers
svn path=/trunk/KDE/kdegraphics/okular/; revision=699701
19 years ago
Pino Toscano
7bef230d46
draw the gradient of the review toolbar using QLinearGradient
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=696071
19 years ago
Pino Toscano
a9532ee414
and a static QBitmap here leaks as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660422
19 years ago
Pino Toscano
912706a856
revert my r659797, a QButtonGroup can't help here
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660408
19 years ago
Pino Toscano
859c246013
drop the idea of the static QBitmap, so it's not leaked anymore
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660048
19 years ago
Pino Toscano
bb01aa18da
this action button has to stay hidden until really needed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660043
19 years ago
Pino Toscano
f9d3246141
use a button group and simplify a bit
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=659797
19 years ago
Pino Toscano
2c1d5aa44e
Refactor a bit the annotating toolbar, so it can handle better its items and cha
...
nges to its status. This brings us:
- less item reloading (previously done every time the toolbar is shown, now only when needed)
- the toolbar is redrawn correctly if it's shown and a new document is open
- as Albert pointed me yesterday, no need to show the annotating tools that act on text if the document does not support the extraction of text
svn path=/trunk/KDE/kdegraphics/okular/; revision=659722
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
19 years ago
Urs Wolfer
6a7101b632
take use of antialiased painter
...
svn path=/trunk/playground/graphics/okular/; revision=643728
19 years ago
Pino Toscano
4da2254d24
move the private stuff of PageViewToolBar into the already existing private class
...
svn path=/trunk/playground/graphics/okular/; revision=643300
19 years ago
Pino Toscano
55f8590f48
make it compile with Qt4.3 (snapshot)
...
svn path=/trunk/playground/graphics/okular/; revision=643279
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
Tobias Koenig
da204fd4b8
Match the forms exactly into the surrounding frame
...
svn path=/trunk/playground/graphics/okular/; revision=638384
19 years ago
Pino Toscano
a5f6538d43
avoid the jumping of the pageview to the next (hidden) focus form widget when hiding them
...
svn path=/trunk/playground/graphics/okular/; revision=637148
19 years ago
Pino Toscano
db8a10dc2c
Preliminary supports for text and choice form fields.
...
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)
svn path=/trunk/playground/graphics/okular/; revision=637001
19 years ago
Pino Toscano
252de94b21
improve a bit the PageViewTopMessage api, in preparation of new future usage
...
svn path=/trunk/playground/graphics/okular/; revision=636493
19 years ago
Pino Toscano
b9514f2310
finish drawing on the mask before setting it to the widget
...
svn path=/trunk/playground/graphics/okular/; revision=621865
19 years ago
Pino Toscano
112e1237b7
Add support for showing icons in the page view top message.
...
With simplier words: add an 'attach' icon in the message pane that informs about attachments in the current document.
svn path=/trunk/playground/graphics/okular/; revision=616780
19 years ago
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
20 years ago
Pino Toscano
3022f55916
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607839
20 years ago
Pino Toscano
4a40c3fd9f
fix the drawing artifacts when the review toolbar is placed in eg right or bottom position
...
svn path=/trunk/playground/graphics/okular/; revision=606106
20 years ago
Pino Toscano
22aac31f78
remove some code that is done automatically by Qt for us
...
svn path=/trunk/playground/graphics/okular/; revision=595471
20 years ago
Pino Toscano
ac87494ce0
As suggested by our usability expert Florian, add a bar above the page view showing in case the document has embedded files, that can be clsed with the X button.
...
svn path=/trunk/playground/graphics/okular/; revision=591837
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