Alex Richardson
ab1d3a36cc
Set the KXMLGUI component name to okular
...
Without this the .rc files will not be found by the unit tests or other
programs that use okularpart
10 years ago
David Rosca
c793fb2703
Fix crash on close
...
Delete m_tabwidget in destructor
REVIEW: 125890
11 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Gleb Popov
f8870e60f4
Revert "Use QFileDialog from Qt 5 for "File -> Open" dialog."
...
Unlike KFileDialog, QFileDialog doesn't add special "All supported types" filter.
11 years ago
Gleb Popov
2bbdb762eb
Use QFileDialog from Qt 5 for "File -> Open" dialog.
...
REVIEW: 125683
11 years ago
David Faure
d5bad89a51
Fix crash on startup when okularpart can't be found
11 years ago
David Faure
ba28b64ab6
Fix crash on startup when okularpart can't be found
11 years ago
Ivan Čukić
c46b08c23f
Make KActivities a required dependency
...
Our goal is better integration with Plasma and other KDE components.
We have made a conscious decision to reduce our code a bit by removing
the legacy #ifdefs. That way we do not have to support a build
configuration which is going to be used by just a tiny minority of our
users, and one that we are not terribly interested in. Without
KActivities, there is for example no support for recording and listing
of recent documents, PDF sharing etc etc, and we honestly believe that
the majority of our audience wants these features.
REVIEW: 123249
11 years ago
Saheb Preet Singh
1eafe4feb1
New shortcut to resize window to fit page
...
FIXED-IN: KDE Applications 15.08
BUGS: 326844
REVIEW: 115283
11 years ago
Jonathan Doman
1cfb007b63
Fix session restore/save with multiple tabs
...
BUGS: 335852
REVIEW: 122570
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
603d8b19c9
Fix includes
12 years ago
Montel Laurent
16f13c04d2
kdelibs4support--
12 years ago
Montel Laurent
57adb81a03
Remove not necessary include moc
12 years ago
Lukáš Tinkl
48300404cb
replace deprecated QAction::setShortcut with KStandardShortcut
12 years ago
Sergio Martins
cb4d52fb4c
Fix infinit loop if component isn't found.
...
Shell's CTOR will fail if Okular component isn't found, leading
to i never being incremented.
12 years ago
Frederik Gladhorn
1e01a5cfc9
Use KSharedConfig::openConfig instead of KGlobal::config
12 years ago
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
12 years ago
Frederik Gladhorn
374592256a
Use tabBar()->hide() instead of setTabBarHidden
12 years ago
Rohan Garg
bd36521c36
Port away from KUrl, pretify headers
12 years ago
Rohan Garg
d5b9a2e078
Port Shell away from KUrl to QUrl
...
REVIEWED-BY: Albert Astals Cid <aacid@kde.org>
12 years ago
Vishesh Handa
46cf7e46a5
Port away from KUrl::List
12 years ago
Vishesh Handa
e038950f50
KIcon -> QIcon
12 years ago
Frederik Gladhorn
9398df0a06
Welcome back Okular::Part
12 years ago
Frederik Gladhorn
ac15a7075e
More QUrl porting
12 years ago
Frederik Gladhorn
c7e003d7bc
Port to QCommandLineParser
12 years ago
Frederik Gladhorn
272e8eb556
Use QKeySequence instead of KStandardShortcut
12 years ago
Frederik Gladhorn
49c6f33356
KDialog::setCaption removed
12 years ago
Frederik Gladhorn
4cf3df32e3
Fix includes and KQAction
12 years ago
Albert Astals Cid
61c830cb7a
Pass the command line options properly when using tabs or unique instances
...
Use a QString to serialize the command line options other than urls to open so it can be easily passed around to every place that opens a new shell or tab or overrides the content in a unique instance.
BUGS: 334100
FIXED-IN: 4.14.0
REVIEW: 119595
12 years ago
Jonathan Doman
375c72dc66
Make tabs rearrangeable
...
BUGS: 334018
FIXED-IN: 4.14.0
REVIEW: 118685
12 years ago
Albert Astals Cid
cd02dd6d3c
Minor changes
...
Make the receivers be the ones that check for empty, not the senders
12 years ago
Jonathan Doman
89fd56c23b
Launch documents from external sources in new tabs
...
FIXED-IN: 4.13.0
BUGS: 331872
BUGS: 332238
REVIEW: 116700
12 years ago
Jonathan Doman
ecf1f28290
Set tabWidget's documentMode
...
REVIEW: 115636
12 years ago
Albert Astals Cid
7681cdf004
Move the open new files in tabs setting to configure dialog
...
Also make it non enabled by default for now
GUI
BUGS: 155515
12 years ago
Jonathan Doman
0a982319f4
Tabbed interface
...
GUI
BUGS: 155515
REVIEW: 110914
12 years ago
Albert Astals Cid
3f3f82afa1
Fix my email address
13 years ago
Tomáš Poledný
5ab30aae15
Open print dialog from command line
...
BUGS: 252462
REVIEW: 109096
FIXED-IN: 4.11.0
GUI
13 years ago
Tomáš Poledný
618e320a77
Add command line argument noraise
...
This path add new command line argument noraise. Window will not be raised with argument noraise.
I tried:
okular
okular -noraise
okular -noraise file_exist.pdf
okular -noraise file_not_exist
okular https://bugs.freedesktop.org/attachment.cgi?id=46889 --noraise
okular https://nonexisturl --noraise
okular -unique -noraise file_exist.pdf
okular -unique -noraise file_exist.pdf && okular -unique file_exist2.pdf
okular -unique -noraise file_exist.pdf file_exist2.pdf
okular -unique file.pdf && okular -unique -noraise file2.pdf
okular -unique -noraise file.pdf && okular -unique file2.pdf
BUGS: 315538
REVIEW: 109363
FIXED-IN: 4.11.0
13 years ago
Albert Astals Cid
507697ac12
Somehow the readSettings call got lost in a merge
...
Bad, Albert, Bad!
BUGS: 311983
13 years ago
Albert Astals Cid
daec8b5411
Give the user an error message
...
At least he'll understand why everything looks so bad
14 years ago
Albert Astals Cid
50b9424577
Don't crash if can't create the part
...
It can fail in some extreme cases
BUG: 308093
14 years ago
Ivan Čukić
09a2fdab8c
Activities support for Okular
...
REVIEW: 106685
14 years ago
Yuri Chornoivan
b78f6c7fa7
Fix typo
14 years ago
Albert Astals Cid
5c1b8df6f5
Fix typo in my fix of Jaydeep's texts
14 years ago
Albert Astals Cid
081559252f
Remove a few return and add elses
14 years ago
Jaydeep Solanki
8765a06f52
Add warnings about --unique errors
...
BUGS: 306312
REVIEW: 106476
FIXED-IN: 4.10.0
14 years ago
Fabio D'Urso
d22ad1c5f7
Do not show the Save changes prompt before the Open file dialog
...
Since 6d6a3bfce5 , files are opened in a
new Shell instance and the current one is unaffected, therefore changes
to the current file do not get lost any more.
14 years ago
Jaydeep Solanki
6d6a3bfce5
Open a new Shell when opening a new file
...
BUGS: 166645
FIXED-IN: 4.10.0
REVIEW: 105965
GUI
14 years ago
Fabio D'Urso
77af86fddc
Do not show the save changes prompt twice if the main window is closed
...
Call m_part->closeUrl with promptToSave=false in the Shell dtor, so that
the save changes prompt is not shown again (it's already shown because
of Shell::queryClose)
14 years ago