Commit graph

18747 commits

Author SHA1 Message Date
David Faure 3c092af49b Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-05 22:45:21 +02:00
David Faure 58fc982e28 Reimplement handling of Shift while showing menu without KModifierKeyInfo
Finding out whether shift is pressed initially can be done
with qApp->keyboardModifiers(), and finding out that the user is pressing
or release shift can be done with keyPressEvent/keyReleaseEvent.

This required to inherit from KMenu rather than having the KMenu
as a member.

KModifierKeyInfo is only implemented on X11, so this makes the code
more portable. If similar solutions can be found for other users of
KModifierKeyInfo, it will be deprecated in KF5.

REVIEW: 110303
2013-05-05 22:42:49 +02:00
David Faure 291966486c Fix konq's unittests by ensuring it picks up khtmlpart rather than kwebkitpart.
(the tests cast to KHTMLPart)
2013-05-05 22:41:59 +02:00
David Faure 712d12c143 Move bookmarks in reverse order so that their address remains valid.
BUG: 287038
FIXED-IN: 4.10.4
2013-05-05 10:01:05 +02:00
David Faure e0c4b4478b Add unittest for DnD of multiple bookmarks
When the bookmarks are selected from bottom to top, it works.
When they are selected from top to bottom, it makes addresses invalid,
and breaks.
More debugging tomorrow.
CCBUG: 287038
2013-05-05 01:07:52 +02:00
Script Kiddy 8b36ea1163 SVN_SILENT made messages (.desktop file) 2013-05-04 09:46:31 +02:00
David Palser 86f410b0a8 Fix typos and improve Konqueror docs 2013-05-03 17:33:35 +03:00
David Faure d78bdf9cef Remove erroneous double-quotes around %c in Exec line 2013-05-03 13:22:33 +02:00
David Faure 775b9487c6 Remove kgenericfactory include 2013-05-03 13:22:33 +02:00
Frank Reininghaus e5777f4c52 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-02 19:45:08 +02:00
Frank Reininghaus 2e123de94f Do not change the view URL if it is a symlink to the current directory
BUG: 302037
FIXED-IN: 4.10.3
REVIEW: 110233
2013-05-02 19:40:01 +02:00
Frank Reininghaus 572513a167 Use the same text color for selected hidden and non-hidden items
This fixes the problem that the names of selected hidden items are
unreadable with some color schemes.

BUG: 305734
FIXED-IN: 4.10.3
REVIEW: 110164
2013-05-02 19:28:10 +02:00
Frank Reininghaus cbb2a4cf47 Rename multiple files: Determine correctly if the name pattern is valid
The "Rename" button in the dialog should be enabled if and only if the
"new name" pattern is valid. This is the case if the pattern contains
exactly one sequence of '#', which will be replaced by digits.

This patch fixes the problem that
(a) A pattern that contains a single '#' is not considered valid, and
(b) A pattern without any '#' at all is not recognized as invalid.

BUG: 318942
FIXED-IN: 4.10.3
REVIEW: 110223
2013-05-02 19:23:38 +02:00
David Palser be1deaafeb Fix typos and improve Konqueror docs 2013-05-01 22:31:52 +03:00
David Palser 1241c94b50 Fix typo and improve Konqueror Basics chapter 2013-04-29 18:53:16 +03:00
Frank Reininghaus d819fd1498 Replace the button label "Less Options" by "Fewer Options"
BUG: 318937

FIXED-IN: 4.11.0
2013-04-27 19:09:42 +02:00
Script Kiddy 1f8499d491 SVN_SILENT made messages (.desktop file) 2013-04-26 13:28:44 +02:00
Script Kiddy 39de651b4f SVN_SILENT made messages (.desktop file) 2013-04-26 08:49:28 +02:00
Michael Drueing 3236d9761d Only require X11 libraries if actually compiling on X11
This will fix compilation on Win32 (and probably others)
2013-04-24 19:54:02 +02:00
Ignat Semenov 6639567e2b whatsthis tips for the Arrange In and Align combos 2013-04-24 16:57:30 +04:00
Ignat Semenov 76916d27b0 whatsthis tip for the Descending checkbox 2013-04-24 16:57:30 +04:00
Ignat Semenov d554fe95f1 whatsthis tip for the Folders first checkbox 2013-04-24 16:57:30 +04:00
Ignat Semenov cdf2c40bcf rename Display page to Icons; change icon accordingly 2013-04-24 16:57:30 +04:00
Ignat Semenov d9e48c575a Align Icons -> Align (menu name already provides context) 2013-04-24 16:57:30 +04:00
Ignat Semenov 68d649b82e Arrange -> Arrange In for consistency with Sort By 2013-04-24 16:57:30 +04:00
Ignat Semenov 9d30c8d1f4 Sort Icons -> Sort By for consistency with Dolphin 2013-04-24 16:57:30 +04:00
Ignat Semenov 1b4a5b4aa0 make Descending a checkbox, not a combo 2013-04-24 16:57:27 +04:00
Ignat Semenov 91b007d428 change i18nc context comment for simplicity 2013-04-24 16:56:26 +04:00
Ignat Semenov a8ddc6bb67 simplify alignment action strings 2013-04-24 16:56:26 +04:00
Ignat Semenov efbd7ec1fb Verbify Layout and Alignment, reword Layout for less technical 2013-04-24 16:56:26 +04:00
Ignat Semenov fcb97d234e verbify Sorting for consistency 2013-04-24 16:56:26 +04:00
Ignat Semenov ec33d65184 an attempt at categorizing the settings 2013-04-24 16:56:25 +04:00
Ignat Semenov 7fd7f69ab9 icon arrangement mega-patch for usability and maintainability
This splits the enum IconView::Flow into two enums
- IconView::Layout { Rows, Columns }
- IconView::Alignment { Left, Right }

Note that Qt::Alignment is not used to emphasize the fact that
these two properties are orthogonal (layoutDirection() is used
e.g. to place the scrollbar at the correct side of the screen,
whereas IconView::Alignment is about the side of the screen
the user want their icons to stick to.

This patch greatly improves the readability of the IconView
layouting code, as well as the user-friendliness of the
applet's Display configuration page, with a distinct separation
of the two layout-related factors.

Corresponding context menu actions have been added. They update
the configuration dialog combos when selected if the dialog is
open at that moment.

CCBUG:306537
2013-04-24 16:56:23 +04:00
Ignat Semenov b77e0f6655 only show Unsorted when the view is manually sorted 2013-04-24 16:47:29 +04:00
Ignat Semenov fe3290d9db avoid a potential stall: QComboBox::maxCount() -> QComboBox::count() 2013-04-24 16:47:28 +04:00
Ignat Semenov 3a7b07633d hardcoded -1 -> enum FolderView::Unsorted 2013-04-24 16:47:28 +04:00
Ignat Semenov 7665ee95af keep 4 context menu checkboxes and Display page in sync 2013-04-24 16:47:28 +04:00
Ignat Semenov 9bf43b7459 update the order, direction, flow combos on menu actions 2013-04-24 16:47:28 +04:00
Ignat Semenov 8b3cb0f09e if the user has moved the icons, update the combo 2013-04-24 16:47:28 +04:00
Ignat Semenov 7d6669c25b even less code duplication 2013-04-24 16:47:28 +04:00
Ignat Semenov f407bf3f33 --code duplication 2013-04-24 16:47:28 +04:00
Ignat Semenov 69370f22f8 consistency++ 2013-04-24 16:47:28 +04:00
Ignat Semenov 7518b54ce3 not necessary 2013-04-24 16:47:28 +04:00
Ignat Semenov 2b272d99d5 QActionGroup + foreach loop -> less code 2013-04-24 16:47:28 +04:00
Ignat Semenov d77e60ce6b add a "Folders first" checkbox to the Display config page
Allow the user to set the "Folders first" option using the Settings dialog.

BUG:306537
2013-04-24 16:47:21 +04:00
Ignat Semenov 7e2883afcf add a "Sort order" combo to the Display config page
Allow the user to change sorting order using the Settings dialog.
2013-04-24 16:47:13 +04:00
Ignat Semenov 35da405097 rename the flow enums for better readability 2013-04-24 16:47:13 +04:00
Ignat Semenov 08556ebdd3 add "Arrange icons" submenu to the context menu
Allow the user to change icon flow in an icon view using the context menu.

BUG:306537
2013-04-24 16:47:05 +04:00
Emmanuel Pescosta e92b4ba227 Scroll to newly pasted files.
If multiple files are pasted, scroll to the first pasted file.

BUG: 315722
REVIEW: 109950
FIXED-IN: 4.11.0
2013-04-23 22:50:01 +02:00
Script Kiddy 0a66a62bfd SVN_SILENT made messages (.desktop file) 2013-04-23 21:53:29 +02:00