Sebastian Kügler
a8ba890850
Fix screenChanged in javascript appletinterface signal and forward it
...
Signal/slot signatures were wrong. Correctly forward the screenChanged
signal. This removes the following warning for me when running a QML
containment in plasmoidviewer:
Object::connect: No such slot ContainmentInterface::screenChanged() in
/home/sebas/kdesvn/src/kde/kde-runtime/plasma/scriptengines/javascript/plasmoid/appletinterface.cpp:605
REVIEW:106936
2012-10-25 14:54:05 +02:00
Sebastian Kügler
ee7255b261
Check if referenced objects are valid
...
This kills plus 96c8478aef two ReferenceErrors I'm seeing when using
ListItems inside VisualItemModels (in this case, there's no view and
visual parent attached on creation).
REVIEW:106937
2012-10-25 14:47:16 +02:00
Aaron Seigo
3fb4a78ed5
replace tabs with space.
2012-10-25 13:14:53 +02:00
Sebastian Kügler
c9bfe00345
Fix reference error when ListItem is used with VisualItemModels
...
The correct way to check if an object is valid is using typeof(foo).
2012-10-25 00:02:10 +02:00
Sebastian Kügler
d6afd5b91a
AppletContainer binding for containments
...
This adds a class to manipulate applets in more detail in context of
containments. The type will only be available from Containments, not
Applets or PopupApplets.
This binds the necessary functionality of Applets to build fully
features containments. The code has been moved from MobileComponents,
untangling another piece there and putting the functionality where
it belongs, into the specific component type bindings to allow this
functionality also outside of plasma-mobile and further reduce the
delta between the shell implementations.
REVIEW:106817
2012-10-24 22:52:01 +02:00
Marco Martin
e4cc7da085
bind width to listview width by default
2012-10-23 22:49:21 +02:00
Marco Martin
b3db7ce371
export item
2012-10-23 22:04:47 +02:00
Marco Martin
18ed35d2d8
sync the current items after clicked()
2012-10-23 21:52:06 +02:00
Marco Martin
f825a9f4a7
ConditionalLoader: lazy loading of components
2012-10-23 21:52:06 +02:00
Dmitry Ashkadov
46e7b8065f
Support of QIcon and QPixmap for QML item PlasmaCore.Tooltip
2012-10-23 20:58:50 +04:00
Marco Martin
d7e77f5074
remoev hack
2012-10-23 14:42:57 +02:00
Marco Martin
3910b0604f
use a position relative to the DropArea
...
view-position is completely useless from QML
2012-10-23 13:53:37 +02:00
Marco Martin
f8e9eeb587
support dragMove
2012-10-23 13:09:53 +02:00
Marco Martin
d4ad3e23c3
fix typo
2012-10-23 12:39:47 +02:00
Marco Martin
0b28d4cc40
fix pageParent being null the first time
2012-10-23 11:59:48 +02:00
Marco Martin
8f6eb3cc7f
try a sectionscroller only if model.get is avail
2012-10-22 15:03:22 +02:00
Marco Martin
eadae554b8
menu items are menu children.
...
now works without packagekit dataengine installed
2012-10-22 11:32:02 +02:00
Marco Martin
595f6f43cd
hover = true when highlight in listview
2012-10-22 11:25:36 +02:00
Marco Martin
ea59745a58
export the font, since qactions have them too
2012-10-22 11:25:36 +02:00
Marco Martin
5f22e36cd5
don't draw the background if there is an highlight
...
mouseover highlight plus item backgrounds looks horrible together
2012-10-22 11:25:36 +02:00
Marco Martin
a7c1e92ef2
checkable property
2012-10-19 10:10:46 +02:00
Marco Martin
6b32e0426c
add missing property preferredWidth
2012-10-18 17:22:34 +02:00
Marco Martin
58d9657594
binding loop--
2012-10-18 16:50:59 +02:00
Marco Martin
fb8ec6f147
take again size from the arrow
...
to be consistent with the old widget behavior
2012-10-18 13:50:39 +02:00
Sebastian Kügler
af618983e2
Fix DisappearAnimation, needs from & to values
...
REVIEW:106818
2012-10-17 17:46:49 +02:00
Sebastian Kügler
d3f8c0683b
Fix two typos introduced with 29a2ed
...
It's delegate.margins of course.
Reviewed-By: Marco Martin
2012-10-17 17:36:55 +02:00
Marco Martin
c6e84cd7d9
we need path *and* key
2012-10-15 20:42:41 +02:00
Marco Martin
05936e77d8
kill the ToolButton duplication for touch
2012-10-14 20:05:40 +02:00
Marco Martin
b794f94286
draw attached ToolButtons in ButtonRow/Column
...
but only if the theme composes over borders (needed to be pixel perfect)
if the toolbuttons are not flat and if the ButtonRow is large enough
2012-10-14 20:05:40 +02:00
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
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
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
b50652c805
use hint-scrollbar-size for size
...
support themes without scrollbar arrows
2012-10-09 19:40:17 +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