Commit Graph

1817 Commits

Author SHA1 Message Date
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
Burkhard Lück
baf6c0ad84 rm man pages, moved to doc dir 2012-12-05 17:25:02 +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
Giorgos Tsiapaliokas
59e13182cb Move the docs into the right directory
REVIEW:107449
2012-11-29 16:24:01 +02: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
cafb39f1ba typo 2012-11-23 18:28:01 +01:00
Marco Martin
da4e133c6d Make enum values accessible as plasmoid.Planar etc
Any qml object that will be calles as an enum value, like Planar {} Application{}
etc will make enums inaccessible.
maintain them global, for retrocompatibility, but register them also under plasmoid
2012-11-23 18:26:02 +01:00
Marco Martin
edad4c4043 add Application formFactor 2012-11-23 17:46:52 +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
Sebastian Kügler
ec6200fd0e Second part of declarative toolbox bindings
This one adds the ToolBoxProxy class, belongs to
3f5d7444f8a3373befdceffca79744c82899d4e1

REVIEW:107232
2012-11-07 20:52:14 +01:00
Sebastian Kügler
d9612651cb ToolBox bindings for declarative containments
This adds the necessary bits, actions handling, showing / hiding of
toolbox and a hooks for config interface and add widgets.

The interesting bits:

Toolbox separate on the scene

For declarative containments, we add a declarativewidget on top of the
view which loads the "org.kde.toolbox" package. The toolbox can differ
per platform, layout of toolbox and containment can not "leak" into each
other.

ToolBox import

The most important and interesting bit is the list of actions the
ToolBox exposes, it's collected from corona, containment. The latter is
actually problematic, since we don't get access to the actions
internally provided by Containment
(ContainmentPrivate::addDefaultActions).
Containment::setToolBox(AbstractToolBox) being protected, we cannot
register our declarative ToolBoxProxy implementation to the containment,
so we have to wire up settings and addwidgets separately. Sorting of the
actions is "random", and expected to be done by the QML toolbox
implementation, based on objectName strings.

REVIEW:107232
2012-11-07 17:21:26 +01: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