Marco Martin
6b7fa2aaac
use paintedWidth when significative
...
gets updated before implicitWidth, making the center alignment work better
2012-10-12 19:36:53 +02:00
Marco Martin
86ecacf2a4
fix easing assignment
2012-10-12 14:33:26 +02:00
Marco Martin
795320af25
fix unresolved objects
2012-10-12 14:33:26 +02:00
Marco Martin
9827cd84cc
fix TypeError
2012-10-12 14:33:26 +02:00
Marco Martin
c89e68ff12
check if the default anchors are applicable
2012-10-12 14:33:26 +02:00
David Edmundson
4644711a33
Fix padding to the left and right of text in a textField
...
A TextField already had (implicit) padding to the top and bottom of the text to the frame
this was added to the left and right side as matching margins look cleaner
REVIEW: 106797
2012-10-12 02:27:36 +01:00
Montel Laurent
4eeaf0d718
erge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10
2012-10-11 22:35:29 +02:00
Marco Martin
3c55ec6a25
manage buttons even if they are under applet shadow
2012-10-11 21:09:14 +02:00
Marco Martin
87c778e8dc
remove scale animation
2012-10-11 13:34:04 +02:00
Marco Martin
6209ca2527
proper icon margins
2012-10-11 13:30:24 +02:00
Marco Martin
456db61aa0
only consider actual tabbuttons
2012-10-11 12:42:02 +02:00
Marco Martin
9f0d2338b1
never draw disabled flat buttons
2012-10-11 12:32:58 +02:00
Marco Martin
e2f90d95d2
make the current tab cycle under wheel
2012-10-11 11:47:58 +02:00
Marco Martin
e7a5a5fbcf
correct cuttong of the button in case of scrolling
2012-10-11 11:40:42 +02:00
Marco Martin
c56534ba47
proper tab button size
2012-10-11 11:15:36 +02:00
Marco Martin
8d327acc6f
A bit of snap before scolling the layout
2012-10-11 11:09:07 +02:00
Marco Martin
bc631e4467
try to keep current tab in the middle if possible
2012-10-11 10:37:12 +02:00
Giorgos Tsiapaliokas
22ef1f9318
add some documentation to the Fallback component
...
REVIEW: 106716
2012-10-11 11:23:11 +03:00
Montel Laurent
2118a77f73
Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10
2012-10-10 23:18:56 +02:00
Jaime Torres
0e45385db4
avoid a possible null pointer ussage
...
propAnim has been already checked for not being null, but was not
checked here.
REVIEW: 106782
2012-10-10 19:11:21 +02:00
Jaime Torres
7209fa02e8
set directly this to the variable
...
instead of o=null and o=this
2012-10-10 19:10:25 +02:00
Jaime Torres
a4f54d65dd
change order between delete d and assign property to parent d
...
probably nothing changes
2012-10-10 19:09:29 +02:00
Jaime Torres
fe259f19bb
include missing initializations
...
an uninitialized variable can be the origin of several bugs.
unfortunately, not the one I suffer.
REVIEW: 106781
2012-10-10 19:07:06 +02:00
Marco Martin
d8116afac3
round only when square
2012-10-10 18:47:56 +02:00
Marco Martin
78a87b1da3
always use round buttons on toolbuttons without text
2012-10-10 18:35:06 +02:00
Marco Martin
87c4743736
new pixel optimized window-close icon
2012-10-10 18:34:28 +02:00
Marco Martin
3cd6781dca
fix handle geometry
...
in case of big shadows check for a hint about shadow size
always draw full frame for applets with no background
2012-10-10 15:38:43 +02:00
Montel Laurent
8aae14cde8
Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10
2012-10-09 22:01:47 +02:00
Marco Martin
b50652c805
use hint-scrollbar-size for size
...
support themes without scrollbar arrows
2012-10-09 19:40:17 +02:00
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