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
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
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
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
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
Marco Martin
d86b233464
avoid potential infinite recursions
2012-09-21 14:23:41 +02:00
Marco Martin
18c1cc8dab
popupShowing property
2012-09-20 17:07:07 +02:00
Marco Martin
708be449c3
fix absolute screen position for menu position
2012-09-20 16:28:49 +02:00
Marco Martin
af189dff04
ensure the dialog is not out of workarea
2012-09-20 14:59:26 +02:00
Marco Martin
9d92b822aa
support minimum/maximum/preferred sizes
2012-09-20 14:22:40 +02:00
Marco Martin
0e1021feb1
if is a dock, is on all desktops
2012-09-20 14:22:15 +02:00
Marco Martin
f4638e3438
avoid a first resize when a declarative item is assigned
2012-09-20 12:52:06 +02:00
Marco Martin
e9cee7f69c
fix dialog default size
2012-09-18 18:07:11 +02:00
Marco Martin
279d3727a5
reenable QPoint bindings
2012-09-18 12:02:27 +02:00
Marco Martin
e1c4125ac8
bigger
2012-09-18 12:02:04 +02:00
Marco Martin
d3d96826ac
pay attention to not emit 2 signals per event
2012-09-17 16:27:38 +02:00
Marco Martin
5ec3f33717
fix build
2012-09-13 13:33:55 +02:00
Marco Martin
925e330807
fix invoke of context actions in qml plasmoids
2012-09-13 13:29:05 +02:00
Marco Martin
faccd995e2
ensure a tab is selected
2012-09-13 13:19:29 +02:00
Marco Martin
322bf6ab6c
round toolbuttons when not flat and no text
2012-09-10 22:11:15 +02:00
Marco Martin
8e2b56b7a5
keep some margins
2012-09-07 21:51:23 +02:00
Marco Martin
22f536b6fd
use qvariants for the samples
...
now addSamples actually works and doesn't crash
2012-09-07 19:14:13 +02:00
Marco Martin
5e2e0ceeac
more sensible borders, listen onCanceled
2012-09-06 12:31:12 +02:00
Marco Martin
c3130c7066
fix interaction ScrollArea/SectionScroller
...
fix the behaviour of the interaction between ScrollArea and SectionScroller, both in touch and desktop cases
make the margins correctly update based wether the scrollbar is actually visible
2012-09-05 18:15:59 +02:00