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
Marco Martin
2f10450c17
make the animate property do something
...
BUG:332884
CCBUG:332869
2014-04-03 18:08:13 +02:00
Marco Martin
2fd322536b
text areas use textViewColor
2014-04-01 17:18:12 +02:00
Marco Martin
91cb51e3c3
fix behavior of inverted sliders
...
BUG:332688
2014-03-28 11:51:19 +01:00
Marco Martin
f3aed6ac4a
less groowe width rather reposition of handle
...
BUG:332587
2014-03-28 11:43:51 +01:00
Sebastian Kügler
84a212469f
Disable elide in TabButton
...
This messes up the fontmetrics needed to size the tab button. Before,
the labels would be elided no matter what.
This is more a band-aid than a real fix, we'll need to investigate how
we can make the sizing work correctly, but at least it "unscrews" the
layout of all of our tabbars.
2014-03-26 00:13:54 +01:00
Marco Martin
91642b0868
qtextracomponents->kquickcontrolsaddons
2014-03-25 17:10:25 +01:00
Marco Martin
1415c07d4b
the bounds of the slider are centered on the handle
...
BUG:332587
2014-03-25 15:30:00 +01:00
Marco Martin
0205aa1ec6
if not flat, use button color
...
BUG:332138
2014-03-20 17:55:22 +01:00
Marco Martin
50b5c62d81
fix highdpi mode for slider and progressbar
...
progressbar looks like still needs some serious work
2014-03-07 17:59:33 +01:00
Marco Martin
f4daf5f7d9
export location
2014-03-05 20:58:42 +01:00
Marco Martin
6fe147f4d7
new graphics for tabbars
2014-03-05 20:14:52 +01:00
Marco Martin
9cac91b652
try harder to avoid scroll buttons
...
also event copmpress the relayout
2014-03-03 22:24:05 +01:00
Marco Martin
9c600c5d68
add a new property in TabBar: tabPosition
...
it makes the tabbar eventually vertical and appearing oriented differently towards the content
possible values:
Qt.TopEdge (default)
Qt.LeftEdge
Qt.RightEdge
Qt.BottomEdge
2014-03-03 19:43:13 +01:00
Marco Martin
b2fec905b5
Merge branch 'mart/svgHiDpi'
...
REVIEW:116027
2014-02-26 16:39:52 +01:00
Marco Martin
9976c47ad9
add a transientParent property
...
if this contextmenu is done from a Dialog, add this as transientParent
2014-02-24 14:01:05 +01:00
Marco Martin
c009c7f0cd
concept of fixedMargins
...
sometimes we need to know what the margins are of a framesvg, even if some of them are disabled
2014-02-21 21:13:12 +01:00
Marco Martin
4a0be9acd9
Revert "Slider scales with devicePixelRatio"
...
This reverts commit 4b0e828e29
.
2014-02-21 19:41:31 +01:00
Sebastian Kügler
4b0e828e29
Slider scales with devicePixelRatio
...
Conflicts:
src/declarativeimports/plasmacomponents/qml/Slider.qml
2014-02-21 19:28:34 +01:00
Sebastian Kügler
bc7a54bb09
Compile-time connect in PlasmaComponents.Menu
2014-02-18 01:05:26 +01:00
David Edmundson
e82b1dab9d
Enable Plasma Controls for tab-navigation
2014-02-06 12:35:32 +01:00
David Edmundson
a3a434ced5
Upgrade all components to use QtQuick2.1
...
This has some new features like activeFocusOnTab which are awesome.
2014-02-06 12:16:43 +01:00
David Edmundson
b97e726ae2
Set minimumWidth of button to actually show the text
...
The minimumWidth of a plasma button is based on the paintedWidth
of the text item. There is no way to work out the correct width it
should be if we set the text to elide.
(except for the hack of using a hidden fake text item)
We should always fit contents. This won't cause any problems unless a
developer has a broken layout, at which point that should be fixed
REVIEW: 115500
2014-02-05 17:00:34 +01:00
Sebastian Kügler
09564783a3
Fix wrong property name
2014-02-04 03:15:01 +01:00
Sebastian Kügler
1d0c41f936
Fix animations with animations disabled
...
This may sound a bit weird, but we can't just switch off everything, as
in some cases, the animation is not just eye-candy, but carries
important semantics of the UI -- examples are BusyIndicator and
ProgressBar. Behaviour for those is restored.
2014-02-04 01:32:12 +01:00
Sebastian Kügler
86e458cdd0
Normalize animations in PlasmaComponents
2014-02-04 00:16:55 +01:00
Sebastian Kügler
27eae008d6
250ms animations become units.longDuration
2014-02-03 18:56:32 +01:00
David Edmundson
9de921e34d
Warnings-- if modelData.seperator is not set
2014-01-29 18:39:20 +01:00
Sebastian Kügler
cc7bd8e11e
Port from theme iconsize to units.iconSizes.*
2014-01-23 00:24:38 +01:00
Sebastian Kügler
e10b77f236
Move units from PlasmaComponents into PlasmaCore
2014-01-23 00:06:43 +01:00
Sebastian Kügler
7e5604cc56
icon sizes move into Units
...
They go into the propertymap, so are accessible now with
units.iconSizes.huge, units.iconSizes.large, etc.
2014-01-22 23:59:23 +01:00
Sebastian Kügler
d51711edc6
Add dpi function from theme
...
printScreenInfo() has the debugging prints for now, removes random crap
from the shell output.
2014-01-22 01:36:30 +01:00
Sebastian Kügler
0c3e49866a
Add dpiScale property to dynamically scale the whole ui
2014-01-22 01:18:54 +01:00
Sebastian Kügler
60950e8333
Correct api docs
2014-01-22 00:39:54 +01:00