Commit Graph

164 Commits

Author SHA1 Message Date
Marco Martin
2e06bb3214 create arrow on demand, layout it correctly 2014-07-24 18:29:48 +02:00
Marco Martin
9b06cbc392 style doesn't depend from control properties 2014-07-24 17:47:19 +02:00
Marco Martin
a39c8898b3 don't redefine iconSource 2014-07-24 17:38:13 +02:00
Marco Martin
9365123152 fix minimumWidth/height
don't try to access undefined properties

make the style and the control as independent as possible
2014-07-24 17:11:19 +02:00
Marco Martin
02c6bba518 initial port of Button to QtControls
still loads of layout problems
2014-07-24 15:58:14 +02:00
Lukáš Tinkl
3f07e41e2a i18n style fix 2014-07-18 22:36:42 +02:00
Frederik Gladhorn
445331bba8 Improve TextField accessibility
Qt Quick accessibility already picks up the text automatically. Instead
set the name (which is a descriptive element) to the placeholder text
which is more descriptive of the element. Otherwise Orca will read the
text twice.
2014-07-09 09:57:23 +02:00
Frederik Gladhorn
5199c9778a Fix accessible roles 2014-07-08 21:46:13 +02:00
Frederik Gladhorn
2f93b7f764 Add Accessibility properties
Also clean up increase and decrease actions for Slider a tiny bit.
2014-07-08 10:49:16 +02:00
Marco Martin
ffcc0d43d8 use correct highlight color
CCBUG:336775
2014-06-27 11:11:24 +02:00
Marco Martin
655e7fcc0d base on tabbar minimum width to show scrollbuttons
be more deterministic and now usually kickoff never shows the
scroll buttons

BUG:335392
2014-06-24 16:35:50 +02:00
Marco Martin
2c9103ee19 position the slider bar at margins
is a way in between the verious fix attempts of 332587
BUG:336448
CCBUG:332587
2014-06-19 20:57:49 +02:00
Marco Martin
b755bd1e32 ColorGroup is part of Theme 2014-06-18 19:22:02 +02:00
Sebastian Kügler
bcde055673 Add test for ContextMenu
This enables and disabled menuitems with a timer, so we can see whether
dynamically updating these properties are propagated to the QMenu in the
proxy.

CCBUG:336281
2014-06-17 03:14:24 +02:00
Sebastian Kügler
5b38b9f850 Fix MenuItem.visible and MenuItem.enabled
Update visible and enabled property of the action backing MenuItem when
these properties change.

BUG:336281
2014-06-17 03:14:24 +02:00
Kai Uwe Broulik
76175fafa6 Handle mouse wheel events in PlasmaComponents.Slider
REVIEW: 118753
2014-06-16 20:07:16 +02:00
Marco Martin
01fc75aa78 more precise actionbutton
specific 22x22 graphics and ensure the graphic elements always have an even size

BUG:335547
2014-06-16 19:07:58 +02:00
Marco Martin
992b64a167 small workaround to show all the highlight borders
BUG:336210
2014-06-16 15:57:45 +02:00
Kai Uwe Broulik
60ddc9f25d Use RotationAnimator for BusyIndicator
This makes the animation run directly on the scene graph to not stress the CPU that much

REVIEW: 118769
CCBUG: 311799
CCBUG: 336274
2014-06-15 22:28:21 +02:00
Marco Martin
05d71947c8 svgColorGroup -> colorGroup 2014-06-13 15:40:47 +02:00
Marco Martin
09d0c44267 leave a bit of room around headings
make sure heights are integer
CCBUG:336123
2014-06-13 11:43:41 +02:00
Marco Martin
fa95680a51 use color groups instead
the Text and Background colors can become buttonText or ButtonBackground
based on the svg property ColorGroup
2014-06-09 19:35:58 +02:00
David Edmundson
73bb587ee9 Set catalog name in QueryDailog
REVIEW: 118557
2014-06-05 13:21:18 +02:00
David Edmundson
8277da7015 Remove unused includes 2014-06-04 18:54:55 +02:00
Marco Martin
051dabae5e warnings--
BUG:335522
2014-06-03 15:57:42 +02:00
Marco Martin
80195aa149 check for currentTab 2014-06-03 14:29:48 +02:00
Aleix Pol
1419eea367 Fix warning on ToolButton
If there's no parent for the ToolButton, always show all borders.
2014-05-29 18:39:31 +02:00
Marco Martin
f7adc059ee warnings--
BUG:335488
2014-05-29 12:14:09 +02:00
Marco Martin
a8f73abfbe warning--
BUG:335393
2014-05-28 12:32:57 +02:00
Antonis Tsiapaliokas
7916c9d766 Fix the PlasmaComponents.Sheet
*location property is now using the PlasmaCore.Types
*DialogStatus => PlasmaCore.DialogStatus
*windowFlags property => flags property
2014-05-27 17:56:37 +03:00
Marco Martin
66d65f1b12 QML warnings-- 2014-05-27 16:38:14 +02:00
Marco Martin
524ff23f25 add support for tooltips
use qwidget tooltips, not plasma ones
BUG:335131
2014-05-22 12:18:30 +02:00
Marco Martin
ab27f8b945 use view text color 2014-05-22 11:44:26 +02:00
Marco Martin
357647577f use view color for text in textfield
BUG:333837
2014-05-22 11:42:20 +02:00
David Edmundson
b06fe8301c Calculate implicitWidth of both button and toolbutton properly 2014-05-21 21:15:18 +02:00
David Edmundson
8b86279298 Match toolbutton sizing behaviour with button
Removing eliding in Toolbutton, this causes a binding loop as the
sizeHint is dependent on the paintedSize, which will change if you
elide.

In all cases we are trying to make toolbuttons fit the contents, so this
actually got in the way of that.
2014-05-21 20:07:36 +02:00
Martin Klapetek
5aa1e18f97 Elide Components' Button label
Otherwise the label can get out of the button boundaries. Tested with
RTL text too, it's elided properly as the elipsis switches to Left on
its own.

Reviewed-by: Marco Martin

BUG: 334867
2014-05-21 17:46:04 +02:00
Marco Martin
bb10131fd4 support inverted layout 2014-05-21 15:03:37 +02:00
Marco Martin
944c1549ae avoid half pixels 2014-05-02 15:43:55 +02:00
Marco Martin
cee9c928e3 simplify theme
add an hint for the progressbar size, throw away the old elements legacy of pre-components
2014-05-02 15:39:08 +02:00
Marco Martin
90c8dbc255 simplify logic a lot 2014-05-02 14:55:43 +02:00
David Edmundson
97d6ba2dab Add a ComboBox to PlasmaComponents
REVIEW: 117798
2014-04-29 16:24:22 +02:00
Sebastian Kügler
670135db50 Fix color in TextField and TextArea
viewTextColor is wrong here, we have to use buttonTextColor. This
follows Plasma 1, and makes texts in fields and areas in white-on-black
themes work.

BUG:333837
2014-04-29 00:24:09 +02:00
Aurélien Gâteau
d0bd7f77bf cmake warnings--
No need to define projects if we don't use any ${project}_* var.
2014-04-26 02:10:23 +02:00
Kevin Ottens
72ba7b4146 Apply the astyle-kdelibs script 2014-04-26 01:48:37 +02:00
Aurélien Gâteau
b3b95fa77d Refresh doc to use README.md and markdown 2014-04-25 21:06:00 +02:00
Davide Bettio
ac1e50d3aa
TextArea.qml: Add backgroundVisible property (http://qt-project.org/doc/qt-5/qml-qtquick-controls-textarea.html#backgroundVisible-prop) so it will be possible to use this componenet to write Notes plasmoid.
Signed-off-by: Davide Bettio <bettio@kde.org>
2014-04-22 11:35:55 +02:00
Jan Grulich
25bb220724 Propagate containsMouse property and move the paddingitem to the mousearea
Reviewed by Marco Martin on irc
2014-04-09 16:01:23 +02:00
Marco Martin
9a9d85c5e9 emit statusChanged when it closes 2014-04-08 19:02:33 +02:00
Marco Martin
d68bd29e50 binding loop--
after repeateddly changing the orientation no elements go crazy size wise
CCBUG:332701
2014-04-07 16:53:17 +02:00