Commit graph

15 commits

Author SHA1 Message Date
Eugene Popov
a25e37e6f7 Reuse an existing action to toggle sidebar visibility
BUG: 468317
2023-04-23 14:39:51 +00:00
Eugene Popov
2fbab13e1f Port sidebar to QDockWidget
With this MR, the sidebar can now be (if not locked):
* docked to the left or right side
* undocked and floated as an independent window
* closed with the close button in the header

BUG: 455013
2022-12-22 22:50:55 +00:00
Friedrich W. H. Kossebau
48891b7203 ui.rc files: consistently use <gui> instead of deprecated <kpartgui> 2020-11-28 17:29:11 +01:00
Albert Astals Cid
390a88411a Fix File menu structure
BUGS: 421004
2020-05-05 20:33:06 +00:00
Bob Bai
60f1fa790c Enable closing a tab by middle click
Some discussions at https://phabricator.kde.org/D25484.

This MR adds:

* mouse middle button event handler for closing a tab
* an `undo close tab` action

Test plan:

1. Compile and install.
2. Enable `Open new files in tabs`.
3. Open two documents. They should be opened in two tabs in the same window.
4. Middle click one of the tabs. It should be closed.
5. Choose `File`-`Undo close tab`. The closed tab should be reopened.
6. Middle click one of the tabs. It should be closed.
7. Press <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>T</kbd>. The closed tab should be reopened.
2020-01-06 15:07:51 -07:00
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
2014-02-08 12:15:15 +01:00
Jonathan Doman
0a982319f4 Tabbed interface
GUI
BUGS: 155515
REVIEW: 110914
2014-02-08 11:44:26 +01:00
Albert Astals Cid
1b3945bfb4 generator_prefs shall not be the last settings option
svn path=/trunk/KDE/kdegraphics/okular/; revision=715686
2007-09-22 22:01:00 +00:00
Albert Astals Cid
46a6f7eb62 Make the about backend action appear in the correct place
svn path=/trunk/KDE/kdegraphics/okular/; revision=715265
2007-09-21 16:34:38 +00:00
Pino Toscano
7e4b15542d Usability work on the toolbar:
- shorten the toolbar labels of the Previous/Next Page actions, and put them into the toolbar by default instead of the Back/Forward [history control]
- shorten the toolbar labels of the tool buttons
- remove the Open/Open recent button from the shell toolbar

svn path=/trunk/KDE/kdegraphics/okular/; revision=702549
2007-08-20 20:25:22 +00:00
Pino Toscano
5a81f6f920 - make the toolbar recent file action working again as kpdf
- move #include to the cpp
- kpdf -> okular

svn path=/trunk/playground/graphics/okular/; revision=628216
2007-01-29 14:55:40 +00:00
Albert Astals Cid
daf99824ee Change "Get new stuff" to something more meaningfull
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=427164
2005-06-19 21:01:28 +00:00
Enrico Ros
93c1d3845d Implemented history (implementation is inside Document. actions (2) are in
Part). Implemented 'history (xpdf's LinkAction) links'. History depth is
 100 steps by default (this is enough for sure, clicking 100 times on a
 button is not an easy task :-).

Minor issues (removed half TODOs in code, all FIXMEs are already removed):
Invoke mailer on 'mailto:' links inst instead of konqueror.
Actions cleanup: disable actions like 'print', 'preview', 'save to..', etc
 when there isn't an active document. Added history actions to the toolbar
 in place of the 'prev_page' and 'next_page' ones. Fixed open+open_recent
 action tooltip and behavior.
Move definition and implementation of PagePainter class to ui/pagepainter
 from core/page.
Valgrinded and leakchecked (2 memory leaks spotted and fixed (missing
 contents deletion in KPDFGeneratorThread and missing deletion of
 PixmapRequests on cancel in Document::requestPixmaps())).

svn path=/trunk/kdegraphics/kpdf/; revision=382960
2005-01-27 17:31:07 +00:00
Enrico Ros
3ba7c53676 Fix preloading. It does real good now.
Fix cache deallocator. Hard avoids swapping memory or filling it up to the
limit (allocated pages are referenced in an internal add/remove FIFO).
Merged open and open_recent buttons as many users requested.
Using viewmag icon for find-as-you-type popup.
Disabled debug output. Updated todo with the roadmap to release.
- Need to audit the memory code and choose good default policies now.

svn path=/trunk/kdegraphics/kpdf/; revision=380494
2005-01-20 17:33:05 +00:00
Albert Astals Cid
50a8450174 More reorganization, needed so that the binary name does not clashes with an "old" directory
svn path=/trunk/kdegraphics/kpdf/; revision=375331
2005-01-03 21:59:57 +00:00
Renamed from shell.rc (Browse further)