Robert Knight
4661ece594
Fix crash when category view is enabled if there are no categories in KCategorizedView::moveCursor()
...
svn path=/trunk/KDE/kdebase/apps/; revision=692073
2007-07-24 23:59:01 +00:00
Thomas Zander
7efea42cea
more fixes
...
svn path=/trunk/KDE/kdebase/apps/; revision=691717
2007-07-24 08:53:35 +00:00
Robert Knight
e678566575
Fix a couple of crashes. First was to avoid problem caused by KIconLoader::global()->theme() returning 0 (which according to the API, it can do). Second was to fix the 'lastIndex' member of KCategorizedView::Private being out of date when used. According to the comments this member existed as an optimization. However in the only function where it is used, scrollbar updates are also performed. This will be several orders of magnitude more expensive than the 3 constant-time operations on Qt containers (QHash,QList) which the optimization avoided. So I removed the 'lastIndex' member and moved the calculation to where the data is needed.
...
svn path=/trunk/KDE/kdebase/apps/; revision=691574
2007-07-23 23:08:47 +00:00
Laurent Montel
117899b07c
change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
...
svn path=/trunk/KDE/kdebase/apps/; revision=691218
2007-07-23 07:01:14 +00:00
Peter Penz
643a7a8d19
Use KDirSortFilterProxyModel::naturalCompare() to prevent code duplication. DolphinSortFilterProxyModel::lessThan() still contains similar code like KDirSortFilterProxyModel::lessThan(), but we will discuss this with Rafael in August (it's open yet whether KSortFilterProxyModel should be derived from KDirSortFilterProxyModel or not...).
...
CCMAIL: ereslibre@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=691028
2007-07-22 19:28:47 +00:00
Nick Shaforostoff
4c96ec2698
ok, reverting as requested by Peter Penz.
...
svn path=/trunk/KDE/kdebase/apps/; revision=690417
2007-07-21 00:31:26 +00:00
Nick Shaforostoff
88705d0c34
Make use of the newly added KDirSortFilterProxyModel class -- that is, essentially, remove all the code being duplicated :)
...
Make manpart use KEncodingDetector capabilities along the way (it was <meta ... charset="System"> before)
svn path=/trunk/KDE/kdebase/apps/; revision=690382
2007-07-20 21:16:50 +00:00
Peter Penz
a6a454c858
QAbstractItemView::viewOptions() only returns an instance of the class QStyleOptionViewItem, so the text wrapping property of QStyleOptionViewItemV3 will never be set -> check whether wrapping has been enabled inside QListView
...
svn path=/trunk/KDE/kdebase/apps/; revision=689676
2007-07-18 21:05:47 +00:00
Peter Penz
71158bc65d
respect the item width and item height also when the item categorization has been enabled
...
svn path=/trunk/KDE/kdebase/apps/; revision=689663
2007-07-18 20:36:03 +00:00
Peter Penz
381b494e6c
When derived classes overwrite KCategorizedView::visualRect() to adjust the visual width or height, drawing errors occur as internally always d->visualRect() is used -> always use KCategorizedView::visualRect()...
...
svn path=/trunk/KDE/kdebase/apps/; revision=689662
2007-07-18 20:34:40 +00:00
Peter Penz
43b2b591ec
Assure that the item size is not exceeded -> the spacing is also respected for texts that cannot be wrapped
...
svn path=/trunk/KDE/kdebase/apps/; revision=689651
2007-07-18 19:52:28 +00:00
Script Kiddy
ee5c2c1666
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=688446
2007-07-16 05:54:55 +00:00
Script Kiddy
3d985c8ff8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=688104
2007-07-15 05:44:15 +00:00
Chusslove Illich
d511752c9d
Clarify some adjectives.
...
svn path=/trunk/KDE/kdebase/apps/; revision=687991
2007-07-14 23:52:03 +00:00
Rafael Fernández López
8fb2f40f9c
Fix small adjustments with items-categories
...
svn path=/trunk/KDE/kdebase/apps/; revision=687902
2007-07-14 17:45:42 +00:00
Rafael Fernández López
255f9c1c95
Better spacing for extreme cases
...
svn path=/trunk/KDE/kdebase/apps/; revision=687855
2007-07-14 14:38:39 +00:00
Rafael Fernández López
6d858cd70f
Even better behavior when different possibilities, grid or not grid, spacing or not spacing
...
svn path=/trunk/KDE/kdebase/apps/; revision=687849
2007-07-14 14:20:54 +00:00
Peter Penz
194ce9fe18
Translation fix from Stefan Asserhall: e. g. "Link to Device" from libkonq has not been translated (@David: is this the right way to do it?)
...
CCMAIL: faure@kde.org
CCMAIL: stefan.asserhall@comhem.se
svn path=/trunk/KDE/kdebase/apps/; revision=687760
2007-07-14 09:41:25 +00:00
Rafael Fernández López
1bc9506260
If we have different heights on the same row, make it possible to update taller items correctly when the mouse is over the part that goes "out of the little one" line
...
svn path=/trunk/KDE/kdebase/apps/; revision=687625
2007-07-14 04:01:58 +00:00
Rafael Fernández López
6c64d1ca6b
Follow QListView behavior. Each item has the exact size to fit its contents. Not bigger for little elements.
...
CCMAIL: peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=687624
2007-07-14 03:45:42 +00:00
Rafael Fernández López
185d839d29
Respect grid sizes.
...
CCMAIL: peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=687616
2007-07-14 03:04:24 +00:00
Peter Penz
5c36011cf1
cleanup About dialog
...
svn path=/trunk/KDE/kdebase/apps/; revision=687495
2007-07-13 18:56:51 +00:00
Peter Penz
6b49f86c54
improved i18ncheckarg scripts means new KUIT issues -> fixed now...
...
svn path=/trunk/KDE/kdebase/apps/; revision=687491
2007-07-13 18:39:57 +00:00
Peter Penz
d5b2e29be3
apply shortcuts for docks
...
svn path=/trunk/KDE/kdebase/apps/; revision=687484
2007-07-13 18:25:36 +00:00
Peter Penz
09860f7cf4
instead of "Sort" -> "By Name", "By Date", "By Size", ...
...
use "Sort By" -> "Name", Date", "Size", ...
svn path=/trunk/KDE/kdebase/apps/; revision=687480
2007-07-13 18:14:41 +00:00
Peter Penz
ce3f4e5d74
remove unused variables
...
svn path=/trunk/KDE/kdebase/apps/; revision=687466
2007-07-13 17:23:52 +00:00
Chusslove Illich
b57fe4aa4c
Extract messages from .kcfg too (whoops).
...
svn path=/trunk/KDE/kdebase/apps/; revision=687407
2007-07-13 14:36:17 +00:00
Chusslove Illich
097a1fea88
Extract messages from .kcfg too.
...
svn path=/trunk/KDE/kdebase/apps/; revision=687406
2007-07-13 14:34:42 +00:00
Rafael Fernández López
aa69bcdc64
Update property when needed.
...
svn path=/trunk/KDE/kdebase/apps/; revision=687397
2007-07-13 14:06:11 +00:00
Rafael Fernández López
f93cc2499d
Take in count item sizes. As we want all elements of the same size we check for the biggest one. This way we have visible columns too, what makes everything more ordered,
...
and to the user eye as well.
svn path=/trunk/KDE/kdebase/apps/; revision=687387
2007-07-13 13:49:21 +00:00
Rafael Fernández López
5c5590846d
Select elements correctly when clicking on the category for selecting.
...
svn path=/trunk/KDE/kdebase/apps/; revision=687361
2007-07-13 12:25:50 +00:00
Rafael Fernández López
292e732ff9
It would be nice if we fill correctly option views :)
...
svn path=/trunk/KDE/kdebase/apps/; revision=687151
2007-07-13 03:09:14 +00:00
Peter Penz
18beab8c6b
minor layout fix in infosidebar
...
svn path=/trunk/KDE/kdebase/apps/; revision=686795
2007-07-12 06:30:28 +00:00
Peter Penz
7eef5ebec2
KUIT adaptions (applied i18ncheckarg - everything should be OK now)
...
CCMAIL: caslav.ilic@gmx.net
svn path=/trunk/KDE/kdebase/apps/; revision=686787
2007-07-12 06:10:54 +00:00
Chusslove Illich
9c9374c7da
KUIT for boilerplate KAboutData/KCmdLineArgs calls.
...
svn path=/trunk/KDE/kdebase/apps/; revision=686429
2007-07-11 10:04:13 +00:00
Peter Penz
7243879a63
let the column-widgets of the Column View be aware about their URL, as this simplifies the activation/deactivation handling of columns
...
svn path=/trunk/KDE/kdebase/apps/; revision=686217
2007-07-10 20:33:17 +00:00
Allen Winter
62d81f9a9b
remove kde4_automoc()
...
svn path=/trunk/KDE/kdebase/apps/; revision=685984
2007-07-10 09:14:12 +00:00
Script Kiddy
d91197de93
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=685927
2007-07-10 04:37:45 +00:00
Rafael Fernández López
23b91d0c36
Rename KListView to KCategorizedView as decided
...
svn path=/trunk/KDE/kdebase/apps/; revision=685767
2007-07-09 18:08:20 +00:00
Peter Penz
50d9e030e7
KUIT adaptions
...
svn path=/trunk/KDE/kdebase/apps/; revision=685763
2007-07-09 17:51:39 +00:00
Peter Penz
ea3e000501
KUIT adaptions
...
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-08 21:09:48 +00:00
Rafael Fernández López
90ca3c31dc
If no user icon present, show a generic one
...
svn path=/trunk/KDE/kdebase/apps/; revision=685426
2007-07-08 20:43:34 +00:00
Peter Penz
77d3d37246
adapt signature of requestDelayedItemInfo() slot to recent changes
...
svn path=/trunk/KDE/kdebase/apps/; revision=685421
2007-07-08 20:32:41 +00:00
Peter Penz
6730806715
fix documentation
...
svn path=/trunk/KDE/kdebase/apps/; revision=685419
2007-07-08 20:31:36 +00:00
Script Kiddy
5b3d8af721
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=684722
2007-07-07 04:51:22 +00:00
Rafael Fernández López
98d01c5e23
Make KListView capable of drawing categories on our own way. This make things easier
...
when we are trying to customize it. We can also benefit from KStyle if some day it
supports category drawing.
KListView keyboard navigation. Tricier than I thought.
Pending renaming to KCategorizedView. Seems a good name.
svn path=/trunk/KDE/kdebase/apps/; revision=684478
2007-07-06 17:41:04 +00:00
David Faure
0661c42dd9
simplify + add todo (early commit to make room for the next kdebase-wide commit)
...
svn path=/trunk/KDE/kdebase/apps/; revision=684300
2007-07-06 13:36:04 +00:00
Laurent Montel
67563a41a1
Remove not necessary cmake variable
...
svn path=/trunk/KDE/kdebase/apps/; revision=683756
2007-07-05 09:02:54 +00:00
David Faure
089f474513
Don't crash (in PreviewJob) when m_shownUrl is empty for some reason.
...
svn path=/trunk/KDE/kdebase/apps/; revision=683539
2007-07-04 21:25:56 +00:00
Dirk Mueller
72109bb106
remove redundant project declarations
...
svn path=/trunk/KDE/kdebase/apps/; revision=683437
2007-07-04 18:20:57 +00:00