Albert Astals Cid
0e825cc599
fix potential memory leak
2011-08-22 19:17:47 +02:00
Albert Astals Cid
be8f9bd9cb
Rename copy* functions to something I like more
2011-08-22 19:12:21 +02:00
Albert Astals Cid
c78a7069b1
fix bad merge
2011-08-22 19:08:04 +02:00
Albert Astals Cid
a9fd44009e
Add some const &
2011-08-22 19:06:29 +02:00
Albert Astals Cid
3f69b491cd
Merge branch 'selection_and_highlighting'
2011-08-22 18:50:49 +02:00
Mohammad Mahfuzur Rahman Mamun
c55ee4b70d
A last moment refactoring of the code ... some const & changes
2011-08-22 22:36:47 +06:00
Mohammad Mahfuzur Rahman Mamun
dca4ee559c
Another Code Refactoring done
2011-08-21 10:44:42 +06:00
Mohammad Mahfuzur Rahman Mamun
88ec0951fe
Some code restructure changes in textpage.cpp
2011-08-19 07:01:11 +06:00
Mohammad Mahfuzur Rahman Mamun
73d4a31350
code recommenting done in textpage.cpp
2011-08-18 07:03:46 +06:00
Mohammad Mahfuzur Rahman Mamun
5a8b984f14
debugging and printing removed from textpage.cpp ... need code recomment now
2011-08-17 15:32:40 +06:00
Mohammad Mahfuzur Rahman Mamun
1b8e1fc436
all files other than textpage.cpp has been changed necessarily
2011-08-17 10:59:10 +06:00
Mohammad Mahfuzur Rahman Mamun
3214307ed9
unnecessary changes removed from area.h and cpp textpage.h textpage_p.h
2011-08-17 10:45:46 +06:00
Mohammad Mahfuzur Rahman Mamun
da26410530
unnecessary changes removed from pageview.cpp
2011-08-17 09:26:25 +06:00
Mohammad Mahfuzur Rahman Mamun
8667667222
unnecessary changes removed from pagepainter.cpp
2011-08-17 08:59:08 +06:00
Script Kiddy
cfd881c2ee
SVN_SILENT made messages (.desktop file)
2011-08-16 15:21:46 +02:00
Mohammad Mahfuzur Rahman Mamun
3bbc5bc8b8
Removed the case of right click for text Selection where even if no text is selected right click would allow the user to copy text
2011-08-14 08:57:15 +06:00
Mohammad Mahfuzur Rahman Mamun
10b11903c2
Removal of black selection for epub or odt is working with some problem
2011-08-13 16:06:18 +06:00
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
2011-08-12 14:42:27 +01:00
Mohammad Mahfuzur Rahman Mamun
929e4b6a0e
Removed some double selection Problem
2011-08-12 08:25:21 +06:00
Albert Astals Cid
ea82b3eb42
Fix opening hand
2011-08-11 22:46:09 +01:00
Albert Astals Cid
d3ebf089c4
Do not rely on extension but on output format for conversion
...
BUGS: 277801
2011-08-11 16:17:24 +01:00
Albert Astals Cid
b8870e5bb0
Stat the file before switching to it
...
This way if the document does not exist at least we do not loose the current file
FIXED-IN: 4.8.0
BUGS: 267344
2011-08-10 10:17:36 +01:00
David Faure
2c9794071a
Port away from deprecated API + from deprecated lib
2011-08-10 01:48:01 +02:00
Albert Astals Cid
9f99d536dc
Add GUI option to switch off showing the document title
...
Pleasing users is not so bad
BUGS: 158401
2011-08-09 16:59:49 +01:00
Albert Astals Cid
44c5fbad1e
make sure the character position exists before reading it
...
(cherry picked from commit aa8d593959
)
2011-08-08 22:48:39 +01:00
Aleix Pol
390bf78ecc
Change mouse cursor when changing the current tool
...
Update the cursors when changing the current mode. Addresses the problems in the bug report.
- Use a opened/closed hand for browsing.
- Use cross for selection.
BUG: 271816
REVIEW: 102221
2011-08-05 23:47:35 +02:00
Aleix Pol
39fc2a471e
Properly check if a file is a readable image by asking QImageReader.
...
Reviewed by Albert Astals.
2011-08-05 09:47:23 +02:00
Mohammad Mahfuzur Rahman Mamun
b50b622a25
A Little change in the makeandsort lines
2011-08-04 14:35:09 +06:00
Mohammad Mahfuzur Rahman Mamun
1ef68e3301
text selection for both selection type 01 and 02 seems to be working correctly
2011-08-04 10:34:11 +06:00
Mohammad Mahfuzur Rahman Mamun
9a07e04fe3
another try for second type selection
2011-08-03 15:28:33 +06:00
Mohammad Mahfuzur Rahman Mamun
ff289f819c
selection 02 implemented but not working perfectly
2011-08-01 19:26:36 +06:00
Montel Laurent
f9f65979f5
Normalize signals/slots
2011-07-31 21:22:04 +02:00
Mohammad Mahfuzur Rahman Mamun
9168932079
trying to solve the second kind of selecction
2011-07-29 18:18:41 +06:00
Mohammad Mahfuzur Rahman Mamun
b599f02205
second type selection crashing
2011-07-28 18:53:40 +06:00
Kevin Kofler
e001fbab55
Fix landscape documents getting printed in portrait format if "Landscape" is selected in the print dialog (the default).
...
Partly based on a patch by Falk from KDE bug #181290 .
BUG: 181290
REVIEW: 101513
2011-07-28 01:41:48 +02:00
Mohammad Mahfuzur Rahman Mamun
a2be8384c5
A little change for crash if there is no textPage but, yet correctTextOrder() is called
2011-07-22 15:07:13 +06:00
Mohammad Mahfuzur Rahman Mamun
4c4f6c1c7c
text selection code moved to Page::setTextPage from Document::requestTextPage
2011-07-20 22:15:41 +06:00
Mohammad Mahfuzur Rahman Mamun
c598b7749d
removal of some crashes
2011-07-20 13:04:59 +06:00
Mohammad Mahfuzur Rahman Mamun
fe20bcf157
an small but important change in XYCut and possible memory leak protection for m_spaces
2011-07-20 09:05:17 +06:00
Pino Toscano
e2e8ea721f
bump okularcore library version to 1.7.0
2011-07-19 23:50:12 +02:00
Pino Toscano
8585bb70ec
bump versions of comicbook and xps generators
2011-07-19 23:49:52 +02:00
Pino Toscano
13652b84af
bump devel version to 0.13.80
2011-07-19 23:49:36 +02:00
Mohammad Mahfuzur Rahman Mamun
6623014fc5
some change in makeWord
2011-07-16 03:13:05 +06:00
Mohammad Mahfuzur Rahman Mamun
b69d9e0262
implementation of parameter tuning of XYcut using local information
2011-07-15 17:29:59 +06:00
Mohammad Mahfuzur Rahman Mamun
2809c3c747
makeAndSortLines changed to remove some similar code redundancy
2011-07-14 19:23:39 +06:00
Mohammad Mahfuzur Rahman Mamun
9343babe43
some issues regarding selection (TextPage::textArea) solved
2011-07-14 17:35:02 +06:00
Mohammad Mahfuzur Rahman Mamun
e406207444
character selection added in rearranged code
2011-07-13 23:40:36 +06:00
Christopher Reichert
0f1499c003
Keep cursor as Qt::IBeamCursor when in Text Selection Mode.
2011-07-13 11:04:04 -05:00
Mohammad Mahfuzur Rahman Mamun
8a3d4b2db5
some rearrangement and redesign of the code
2011-07-13 19:27:04 +06:00
Mohammad Mahfuzur Rahman Mamun
33d0facf4e
selection of text by character done ... need some testing and debug
2011-07-13 17:16:03 +06:00