Commit Graph

1106 Commits

Author SHA1 Message Date
Marco Martin
ae25b971e3 give a max width to tabbar buttons 2013-01-09 12:14:36 +01:00
Christophe Giboudeaux
a3364e6d9b Port kde-runtime to feature_summary 2012-12-30 19:21:21 +01:00
Sebastian Kügler
48e385a7c2 fix warnings when ToolButton has no parent 2012-12-30 18:50:40 +01:00
Sebastian Kügler
93c43d83d4 fix warnings when ToolButton has no parent 2012-12-30 18:49:43 +01:00
Aurélien Gâteau
871b414f4f Group components by category 2012-12-23 22:58:47 +01:00
Aurélien Gâteau
a1bbbfcdd4 Categorize components on PlasmaExtraComponents landing page 2012-12-23 22:58:42 +01:00
Aurélien Gâteau
5586cc4f9a Doxygenize ScrollArea 2012-12-23 22:58:38 +01:00
Aurélien Gâteau
068a46b9d4 Doxygenize Heading, Paragraph and Title 2012-12-23 22:58:35 +01:00
Aurélien Gâteau
bc924f1ebf Doxygenize ConditionalLoader 2012-12-23 22:58:33 +01:00
Aurélien Gâteau
9f209bac3f Doxygenize App 2012-12-23 22:58:25 +01:00
Aurélien Gâteau
bc21de1b4c Doxygenize ToolBar, ToolBarLayout and ToolButton 2012-12-23 22:58:03 +01:00
Aurélien Gâteau
f4c0653174 Doxygenize TextField 2012-12-23 22:55:07 +01:00
Aurélien Gâteau
156b5e1669 Doxygenize TextArea 2012-12-23 22:55:05 +01:00
Aurélien Gâteau
342ca686d3 Doxygenize Tab* components 2012-12-23 22:55:03 +01:00
Aurélien Gâteau
b05fd20f0a Doxygenize Switch 2012-12-23 22:55:01 +01:00
Aurélien Gâteau
d37d8096ea Doxygenize Slider 2012-12-23 22:54:59 +01:00
Aurélien Gâteau
ade2f1cfc0 Doxygenize Sheet 2012-12-23 22:54:57 +01:00
Aurélien Gâteau
bd9ec5fa67 Doxygenize SelectionDialog 2012-12-23 22:54:55 +01:00
Aurélien Gâteau
5fb8c46cd5 Doxygenize SectionScroller 2012-12-23 22:54:53 +01:00
Aurélien Gâteau
d20924b1da Doxygenize ScrollBar 2012-12-23 22:54:51 +01:00
Aurélien Gâteau
8091f5591b Doxygenize RadioButton 2012-12-23 22:54:49 +01:00
Aurélien Gâteau
3ede948f58 Doxygenize ProgressBar 2012-12-23 22:54:48 +01:00
Aurélien Gâteau
2f9faa8f4a Doxygenize PageStack 2012-12-23 22:54:43 +01:00
Aurélien Gâteau
4cf125f4a4 Doxygenize Page 2012-12-23 22:54:41 +01:00
Aurélien Gâteau
cd453af5a8 Doxygenize ListItem 2012-12-23 22:54:39 +01:00
Aurélien Gâteau
ce2459b4ba Doxygenize Label 2012-12-23 22:54:38 +01:00
Aurélien Gâteau
982e5979b4 Doxygenize Highlight 2012-12-23 22:54:36 +01:00
Aurélien Gâteau
4399eed017 Doxygenize Dialog 2012-12-23 22:54:33 +01:00
Aurélien Gâteau
00c289c610 Doxygenize ContextMenu 2012-12-23 22:54:31 +01:00
Aurélien Gâteau
0bf70da2fe Doxygenize CommonDialog 2012-12-23 22:54:28 +01:00
Aurélien Gâteau
bb99170844 dox: properties => elements 2012-12-23 22:54:25 +01:00
Aurélien Gâteau
107f3734de Do not include touch components 2012-12-23 22:54:22 +01:00
Weng Xuetian
31fdd51401 fix QMimeData copy, setData is hidden and the real setData will not be used. 2012-12-22 21:49:16 -05:00
Weng Xuetian
ffabd94938 fix QMimeData copy, setData is hidden and the real setData will not be used. 2012-12-22 21:43:01 -05:00
Sebastian Gottfried
4285a1ff09 Plasma QML components: fix internal anchoring in Button and ToolButton
There is a bug in the tool button and button components resulting in
layout breakage if one clears and sets the text property of the
component when not visible, see the attached screenshot.

I have tried to solve the issue without changing the existing
anchoring system, but without success. The only working solution
was to put the icon and the label item into Row item. That way I was
able to fix the bug and even get rid of the ugly explicit
non-declarative anchor assignments.

I have also removed the preferredWidth property of the label item,
that one always evaluated to paintedWidth, anyway.

REVIEW: 107813
2012-12-19 16:08:29 +01:00
Sebastian Gottfried
db1d3d37e9 Plasma QML components: fix internal anchoring in Button and ToolButton
There is a bug in the tool button and button components resulting in
layout breakage if one clears and sets the text property of the
component when not visible, see the attached screenshot.

I have tried to solve the issue without changing the existing
anchoring system, but without success. The only working solution
was to put the icon and the label item into Row item. That way I was
able to fix the bug and even get rid of the ugly explicit
non-declarative anchor assignments.

I have also removed the preferredWidth property of the label item,
that one always evaluated to paintedWidth, anyway.

REVIEW: 107813
2012-12-19 16:07:50 +01:00
Aurélien Gâteau
a87f7e4240 Thou shall not use "using namespace" in a header file 2012-12-19 14:57:28 +01:00
Aurélien Gâteau
ee41951641 Group components by category 2012-12-19 14:35:29 +01:00
Aurélien Gâteau
d18011684b Categorize components on PlasmaExtraComponents landing page 2012-12-18 00:12:55 +01:00
Aurélien Gâteau
6fdf05d543 Doxygenize ScrollArea 2012-12-18 00:03:01 +01:00
Aurélien Gâteau
0dd4e2e03a Doxygenize Heading, Paragraph and Title 2012-12-18 00:02:53 +01:00
Aurélien Gâteau
8c099924ca Doxygenize ConditionalLoader 2012-12-17 23:42:34 +01:00
Aurélien Gâteau
ba4c742439 Doxygenize App 2012-12-17 23:39:31 +01:00
Aurélien Gâteau
421ce66721 Doxygenize ToolBar, ToolBarLayout and ToolButton 2012-12-17 23:35:55 +01:00
Aurélien Gâteau
0020ee88bf Doxygenize TextField 2012-12-17 23:34:31 +01:00
Aurélien Gâteau
eb0644f378 Doxygenize TextArea 2012-12-17 22:53:46 +01:00
Aurélien Gâteau
536ce38966 Doxygenize Tab* components 2012-12-17 22:53:46 +01:00
Aurélien Gâteau
13c9cfc702 Doxygenize Switch 2012-12-17 22:53:46 +01:00
Aurélien Gâteau
25d0e33bfc Doxygenize Slider 2012-12-17 22:53:46 +01:00
Aurélien Gâteau
6a07b94816 Doxygenize Sheet 2012-12-17 22:53:46 +01:00
Aurélien Gâteau
b661b3631f Doxygenize SelectionDialog 2012-12-17 22:53:45 +01:00
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