Aurélien Gâteau
dd69bd287e
Doxygenize SectionScroller
2012-12-17 22:53:45 +01:00
Aurélien Gâteau
13affa6611
Doxygenize ScrollBar
2012-12-17 22:53:45 +01:00
Aurélien Gâteau
e0575ce650
Doxygenize RadioButton
2012-12-17 22:53:45 +01:00
Aurélien Gâteau
d096024f63
Doxygenize ProgressBar
2012-12-17 22:53:45 +01:00
Aurélien Gâteau
9e72c32972
Doxygenize PageStack
2012-12-17 19:05:25 +01:00
Aurélien Gâteau
7daa6ac8d9
Doxygenize Page
2012-12-17 18:47:45 +01:00
Aurélien Gâteau
37ca722387
Doxygenize ListItem
2012-12-17 18:41:57 +01:00
Aurélien Gâteau
6ac5d5d18f
Doxygenize Label
2012-12-17 18:36:59 +01:00
Aurélien Gâteau
f7ddf8fa32
Doxygenize Highlight
2012-12-17 18:31:37 +01:00
Aurélien Gâteau
4aa79edde9
Doxygenize Dialog
2012-12-17 18:28:08 +01:00
Aurélien Gâteau
01172226a0
Doxygenize ContextMenu
2012-12-17 18:05:54 +01:00
Aurélien Gâteau
04202df465
Doxygenize CommonDialog
2012-12-17 18:05:54 +01:00
Aurélien Gâteau
e03db50be5
dox: properties => elements
2012-12-17 18:05:54 +01:00
Aurélien Gâteau
e3a922556b
Do not include touch components
2012-12-17 18:05:53 +01:00
Aurélien Gâteau
24248abd67
Doxygenize CheckBox
...
Had to move most of the documentation to DualStateButton, since this is
where the documented elements are.
2012-12-14 17:09:16 +01:00
Aurélien Gâteau
22c18e2d1e
Doxygenize ButtonRow
2012-12-14 16:57:48 +01:00
Aurélien Gâteau
2b6797dca3
Document QML names for C++ classes suffixed with "Proxy"
2012-12-14 16:16:27 +01:00
Aurélien Gâteau
ec68fd8248
Doxygenize ButtonColumn
2012-12-14 16:16:27 +01:00
Aurélien Gâteau
8a02511158
Doxygenize BusyIndicator and Button
2012-12-14 16:16:18 +01:00
Aurélien Gâteau
34514cfe56
Create Mainpage.dox for kde-runtime plasma sub-projects
...
CCMAIL: notmart@kde.org
2012-12-14 16:15:44 +01:00
Aaron Seigo
3551406a99
improve / make accurate the apidox
2012-12-13 16:29:53 +01:00
Marco Martin
0aebfa70e5
check for signals existence before connecting
...
removes a lot of warnings
2012-12-13 14:17:09 +01:00
Sebastian Gottfried
0ed74e50d0
QML Plasma Components: fix a bug in scrollbar anchoring
...
Scrollbars can only be anchored to the associated flickable if it is
their parent or they share the same parent. The plausibility check
for this condition had a bug exluding also the latter case. That's fixed
now.
2012-12-09 18:43:29 +01:00
Jacopo De Simoi
679d2f7cd8
"grey out" disabled labels
2012-12-04 17:34:57 +01:00
Marco Martin
45583af880
add clicked() signal
...
behavior more compatible with MouseArea
2012-12-04 13:39:19 +01:00
Marco Martin
0b5dece0f0
implicitWidthChanged is a signal, not a slot
2012-12-03 18:10:25 +01:00
Marco Martin
d784a91655
always rewrite icon settings on signal
...
we can't just check the desktop icon size, another size may have been changed
2012-12-03 17:59:59 +01:00
Marco Martin
4afbe498f8
baloon-tip-* -> balloon-tip-*
...
fix typo in the item naming until we still can
2012-12-03 13:26:29 +01:00
Marco Martin
51f0718292
use dialogs/background as background
...
retrieve with fallbackcomponent the one not "transparent" and not "opaque"
is an hack that has to be fixed in plasma2 when we have
2012-11-30 20:00:02 +01:00
Marco Martin
222c969bdd
make dialog size as small as possible
...
also, when to title text is shown, delete the title bar
2012-11-30 12:01:25 +01:00
Marco Martin
57e77a8591
remove the kdialog based querydialog
...
Dialogs are always plasma-themed, and if possible are inline.
only if there is not enough space (like in a panel) they get moved in a separate window
this removes quite some c++ usage and hopefully solves some layouting problems in dialogs
2012-11-30 00:03:49 +01:00
Marco Martin
8fd7502b2e
fix typo
...
ong->png
2012-11-29 12:57:25 +01:00
Marco Martin
03495debc4
check for elementId besides the file name
2012-11-28 16:05:46 +01:00
Marco Martin
7b6d50b3c6
fix scrollbar anchors
...
make scrollbar anchor to root, so the binding doesn't break at the moment of creation when they are parentless for a moment
also, clip the flickable, not the scrollares
2012-11-28 15:25:35 +01:00
Marco Martin
0d03bf21c8
get rid of the old image if we are not animating
2012-11-27 17:54:46 +01:00
Marco Martin
d177b0a31d
react to enabled changed
2012-11-27 14:03:19 +01:00
Marco Martin
3d21d43182
set default meaningful implicitWidth/height
...
svgItem has naturalSize as implicit size
framesvgitem has the sum of their borders
2012-11-27 13:33:50 +01:00
Marco Martin
01e84b4483
make dialogs layout work a bit better
2012-11-27 12:26:35 +01:00
Marco Martin
ed4504f731
PlasmaCore.IconItem
...
remove the old private IconLoader
this takes care of rendering at the proper size, using a Svg when needed and animation when
2012-11-26 20:49:16 +01:00
Marco Martin
b353f6e7fb
remove a couple of sizes
2012-11-26 11:35:53 +01:00
Marco Martin
171c795ac2
bind standard icon sizes (desktop, toolbar etc)
...
they should be preferred over smallIconSize, mediumIconSize etc
2012-11-26 11:24:09 +01:00
Marco Martin
7a9ca96135
move up the drag delegate
2012-11-22 13:15:46 +01:00
Aaron Seigo
9303b7592a
add missing /, now it finds platform specific qml properly
2012-11-19 18:09:51 +01:00
Marco Martin
2cda92af4c
correct the margins
...
react to scrollbars being visible or invisible
correct margins of the borders
2012-11-16 17:22:38 +01:00
Allen Winter
78848d5d50
initialize m_left, m_top, m_right and m_bottom to make valgrind happy.
2012-11-12 19:01:55 -05:00
Sebastian Kügler
74b0e0bd98
debug--
2012-11-12 01:44:51 +01:00
Lamarque V. Souza
f711c9378d
Make Keys.* event handlers work in PlasmaComponents.TextField.
2012-11-10 14:47:07 -02:00
Aaron Seigo
cdfd8688f4
styl ocd
2012-11-07 12:45:57 +01:00
Aaron Seigo
554f0b9909
ensure margins update in all cases
...
setElementPrefix does not trigger repaintNeeded() from the svg object;
repaintNeeded() is for internal changes. if you change the svg from your
own application code, the app code needs to react to those changes in its
own time and way.
so margins was never seeing that it was getting changed when setElementPrefix
was called -> pixel imperfections in layouts.
2012-11-07 12:43:11 +01:00
Aaron Seigo
1023ceda85
fixes and some internal docu
2012-11-07 01:10:05 +01:00
Marco Martin
e42ce8f782
export margins
2012-11-07 01:08:58 +01:00
Marco Martin
575b817c97
consider the case wen right or bottom margins are disabled
2012-11-06 13:52:36 +01:00
Marco Martin
390c97cfcb
font based margin
2012-11-02 14:26:03 +01:00
Aaron Seigo
06f5f555a9
get the components target from libkdeclarative
2012-10-30 21:31:31 +01:00
Aaron Seigo
050222e9ed
get rid of dead code
2012-10-30 18:33:48 +01:00
Sebastian Kügler
a45a18e810
Fix reference error in Highlight
...
ListView is just the namespace, we have to check for ListView.view's
existance
2012-10-27 02:01:34 +02:00
Marco Martin
f35539da1f
remove debug output
2012-10-26 19:46:56 +02:00
Marco Martin
2b702fa6ef
make sure scrollbars are visible
2012-10-26 19:46:36 +02:00
Marco Martin
b3dff51494
fix anchors
2012-10-26 18:12:51 +02:00
Marco Martin
8d24d8e1b0
nchor to the flickable instead of parent
2012-10-26 17:49:23 +02:00
Marco Martin
6327065728
remove arbitrary margin
2012-10-26 17:03:30 +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
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
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
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
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
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
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