Commit Graph

10347 Commits

Author SHA1 Message Date
Marco Martin
bab9b0a1a3 don't put buttons if the theme doesn't have any 2012-10-09 18:21:01 +02:00
Marco Martin
95682718bf hint-scrollbar-size element for scrollbar width/height 2012-10-09 17:49:23 +02:00
Aleix Pol
fa82e27049 Forward-port fix from master
Don't ever change the view position value from the scrollbar if it's
in non-interactive mode
2012-10-09 16:21:21 +02:00
Aaron Seigo
c42d979a56 turns out we have to set the role names constantly to make sorting actually work
even just setting the sort/filter roles is not enough. role names must also be set again!
gaaaah. thankfully this seems to be very fast, though would still be nice to avoid it if
possible somehow.

CCBUG:308101
2012-10-09 11:30:32 +02:00
Aaron Seigo
19a7d82ed9 dataengine based models set their roles when setting the data, so respond to that
syncRoleNames is fast (and faster now that we check that the role names actually changed)
but it may be nicer to find a more efficient way in future than checking the role names
on all / any data changes. in fact, the documentation for QAbstractItemModel::setRoleNames says:

"This function must be called before the model is used.
 Modifying the role names after the model has been set may result in undefined behaviour."

BUG:308101
2012-10-09 11:21:14 +02:00
Marco Martin
a518f3bb6e fix text alignment 2012-10-08 16:00:55 +02:00
Marco Martin
fe783b7355 no return in property bindings
or doesn't do the signal connection to pthe property changed
2012-10-08 14:47:36 +02:00
Aaron Seigo
f5275fc57a the model can be null, be careful with that (and use emit for signals!) 2012-10-08 14:28:39 +02:00
Aaron Seigo
4e78f327bb actually sync the roles and only sort when we have an actual model already 2012-10-08 14:16:16 +02:00
Marco Martin
cbd6bc5758 Label and Icon roles 2012-10-08 13:53:16 +02:00
Marco Martin
0dc3b067d7 revert use of display and decoration
there can be only one name per role
2012-10-08 13:42:08 +02:00
David Edmundson
0d6db0bbed Add property minimumWidth and minimumHeight to Button
REVIEW: 106717
2012-10-05 21:35:40 +01:00
Aaron Seigo
9d61df3894 default config was completely unused
this was probably not helped by lack of documentation, but it is most
likely because we never found a real world use case for it. all use
cases we can currently imagine are able to be handled using other methods
2012-10-05 18:08:33 +02:00
Luiz Romário Santana Rios
0882ba62f7 Fix the documentation of TextArea plasmacomponent
REVIEW: 106703
2012-10-04 21:20:32 -03:00
Marco Martin
0722c3cf69 ensure selected tabs are visible 2012-10-04 20:14:26 +02:00
Marco Martin
8836f476ef add hover events 2012-10-04 19:21:48 +02:00
Jacopo De Simoi
7a1f75af9b Remove noop check in setSortRole
The noop check m_sortRole == role has to be removed
because the hash table m_roleIds can change between two calls to
setSortRole (as it actually happens when resync the hash table).

Possibly one could perform a more clever check (i.e. adding some
m_invalidated flag which would override the check), but I am not sure it is
really worth it.

This fixes sorting issues in the Plasma Device Notifier

CCMAIL:notmart@gmail.com
2012-10-04 12:22:29 +02:00
Luiz Romário Santana Rios
1ed4f894cc Fixed horizontalAlignment and verticalAlignment properties of TextArea
REVIEW: 106702
2012-10-03 21:06:34 -03:00
Marco Martin
a740f30925 more docs 2012-10-03 20:18:38 +02:00
Marco Martin
d4d6f11a8a imap also decoration/display to be consistent 2012-10-03 16:03:47 +02:00
Marco Martin
43846dde0e bind runnermodel in core 2012-10-03 15:55:11 +02:00
Marco Martin
95e5431610 move the runnermodel in core
the old plugin is still there for compatibility, however is discouraged to be used
2012-10-03 15:40:55 +02:00
Marco Martin
d58adb9b8d more docs 2012-10-03 13:59:35 +02:00
Marco Martin
abb16e4a19 some info 2012-10-03 12:58:40 +02:00
Marco Martin
4540203aa1 never use onFooChanged on signal names
those are autogenerated slot names from fooChanged
2012-10-03 12:47:43 +02:00
Marco Martin
13cba92e54 better logic for text elide 2012-10-03 10:38:00 +02:00
Montel Laurent
942cba7e0b Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-03 08:02:25 +02:00
Marco Martin
2d297c1f6e revert text elide
causes some buttons to lose size hint
2012-10-02 22:30:38 +02:00
Marco Martin
47bd296058 flip wheel up/down behavior 2012-10-02 22:30:16 +02:00
Marco Martin
e0598f1489 elide text if long 2012-10-02 22:00:19 +02:00
Sebastian Kügler
957caaae77 fix grammar in apidocs 2012-10-02 19:28:58 +02:00
David Faure
a10875eff2 Merge remote-tracking branch 'origin/KDE/4.10' 2012-09-28 10:33:44 +02:00
Marco Martin
fca4a9c68b support mouse wheel switching 2012-09-26 20:09:46 +02:00
Marco Martin
23fbdc089a fix in case some tab is invisible 2012-09-26 18:16:17 +02:00
Marco Martin
2f0fce8628 scroll arrows when there are too many tabs 2012-09-26 17:45:29 +02:00
Luca Beltrame
dc934f3fd1 Merge branch 'KDE/4.9' into KDE/4.10 2012-09-26 00:35:48 +02:00
Giorgos Tsiapaliokas
737650febb expand the theme package in order to include *.svgz files
REVIEW: 106557
2012-09-25 01:06:02 +03:00
Antonis Tsiapaliokas
e5eae2e36a Fix typo on kDebug message 2012-09-25 01:01:17 +03:00
Giorgos Tsiapaliokas
d14494d096 Make the fallback component more generic 2012-09-25 00:21:57 +03:00
Giorgos Tsiapaliokas
dde5cc7d6c Add the fallback component from the plasma-mobile repository 2012-09-24 21:54:26 +03:00
Aaron Seigo
1bb965acbb document and export the class 2012-09-24 16:17:25 +02:00
Aaron Seigo
674a9191c5 DataEngineConsumer header 2012-09-24 16:09:48 +02:00
Aaron Seigo
1c00d44a50 make DataEngineManager private; use DataEngineConsumer instead 2012-09-24 16:09:16 +02:00
Aaron Seigo
e2033b2db7 remove an unnecessary inclusion of dataenginemanager.h 2012-09-24 16:09:03 +02:00
Aaron Seigo
97a13a9dbe make DataEngineConsumer public API
this will become the prefered way to access DataEngines rather than
DataEngineManager which exposes implementation details that need to
be manually managed
2012-09-24 15:52:16 +02:00
Aaron Seigo
35590c27eb use QCoreApplication::applicationName() instead of KAboutData 2012-09-24 15:52:16 +02:00
Giorgos Tsiapaliokas
5652490a0e Add Wallpaper::setPackagePath and Wallpaper::packagePath 2012-09-24 15:22:42 +03:00
Giorgos Tsiapaliokas
3bcc40476c Remove friend class Extender; for the popupapplet.h 2012-09-24 15:14:37 +03:00
Antonis Tsiapaliokas
87c70a42b4 appletDestroyed() is emitted in ~Applet(). But this can happen even if
it isn't destroyed but it just have been deleted. So we rename the
appletDestroyed() to appletDeleted().
2012-09-24 15:05:17 +03:00
Aaron Seigo
dec5744f5f fix (or at least hack around) the "exec() causes double start() invocation" problem 2012-09-23 11:25:05 +02:00