Commit Graph

41 Commits

Author SHA1 Message Date
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
Lamarque V. Souza
f711c9378d Make Keys.* event handlers work in PlasmaComponents.TextField. 2012-11-10 14:47:07 -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
Aurélien Gâteau
0aaf3f4760 Use the same text color as C++ Plasma::LineEdit
Plasma::LineEdit uses the button text color for its text. Do the same
in PlasmaComponents.TextField to avoid white text on white background with
Oxygen theme.

Also use button text color for PC.TextArea because it uses the same
background frame as PC.TextField (P.TextEdit, its C++ equivalent, does not
have any background frame)

REVIEW: 105159
2012-06-09 10:12:05 +02:00
Sebastian Kügler
ba689faf16 Fix warnings in color assignments 2012-06-05 03:31:04 +02:00
Sebastian Kügler
bcd6a0cc55 Fix text field color 2012-05-21 19:40:23 +02:00
Sebastian Kügler
f3dff31f05 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
7024329085 Use black as text color in TextField and TextInput
It seems that there's not a single theme out there which properly sets
viewTextColor. The background of textedits is white, so the text has to
be black. On Air(-mobile) this is not a problem, since the text is black
anyway, on dark themes (which set the text color to white), text simply
isn't visible.

We'll have to look into how themes implement viewtextcolor, should
probably fix the themes instead of the components, but this makes it
work until we do.
2012-05-21 19:40:23 +02:00
Aurélien Gâteau
47d42a6d36 TextField: support for passwordCharacter
Use a more modern password character, and expose it to the outside world

REVIEW: 104726
2012-04-26 09:21:02 +02:00
Aurélien Gâteau
9b04155a92 TextField: add keyboard navigation support
REVIEW: 104722
2012-04-25 17:45:54 +02:00
Daker Fernandes Pinheiro
eabd70b019 Fix coding style for TextField Plasma Component accepted signal
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-22 08:58:29 -03:00
Daker Fernandes Pinheiro
161b548803 Fixed coding style in doc example for TextField Plasma Component
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-22 08:57:56 -03:00
Aleix Pol
4905917342 Add an accepted signal in the TextField Plasma Component.
REVIEW: 103795
2012-01-27 16:11:08 +01:00
Marco Martin
de22db805a use the common clear icon 2012-01-13 20:19:08 +01:00
Marco Martin
1cffdbe741 more comments 2012-01-10 21:39:18 +01:00
Mark Gaiser
5195c0ef69 Removed proxying of key events since it caused double signals. 2012-01-09 16:40:10 +01:00
Giorgos Tsiapaliwkas
9c8ecc1462 fix the private import 2011-12-23 15:23:58 +02:00
Daker Fernandes Pinheiro
a31036bcc3 Add missing method doc from TextField
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:44:35 -03:00
Daker Fernandes Pinheiro
7d906dbb47 Add return statement for positionAt & positionToRectangle at TextField
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:43:39 -03:00
Daker Fernandes Pinheiro
c973ec6502 Add missing default value on TextField doc
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:32:31 -03:00
Daker Fernandes Pinheiro
0fbcda30d0 Fix doc for plsama TextField component
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:11:38 -03:00
Giorgos Tsiapaliwkas
4c627ff830 Merge branch 'master' of git://anongit.kde.org/kde-runtime
Conflicts:
	plasma/declarativeimports/plasmacomponents/qml/ScrollBar.qml
2011-12-22 18:39:21 +02:00
Marco Martin
bcc26fb73b fix import names 2011-12-22 14:58:11 +01:00
Giorgos Tsiapaliwkas
9a1e332b9b move the private components into a private subdir 2011-12-22 15:16:01 +02:00
Marco Martin
de666a6fd3 Documentanted -> Documented 2011-12-22 11:53:15 +01:00
Marco Martin
d72f2d7c3c Merge branch 'master' into plasma-components-doc
Conflicts:
	plasma/declarativeimports/plasmacomponents/qml/Button.qml
2011-12-16 18:53:25 +01:00
Marco Martin
1014c8572e hide the keyboard when lose focus
shouldn't be necessary, but the scene seems to not emit all needed hide signals
2011-11-30 19:48:54 +01:00
Marco Martin
be68daef28 take the clear button into account 2011-11-30 17:50:01 +01:00
Marco Martin
3734ab5658 less height 2011-11-17 20:14:47 +01:00
Giorgos Tsiapaliwkas
72f52c5d29 Merge branch 'master' into plasma-components-doc 2011-11-16 18:06:25 +02:00
Marco Martin
9a0026969f optional clear button in the lineedits 2011-11-14 18:55:29 +01:00
Marco Martin
0c2995f8e8 give typical items the same (font based) height
this way everything will look exactly vertically aligned
2011-11-09 22:31:39 +01:00
Marco Martin
c2e980fa11 center the text 2011-11-09 22:06:25 +01:00
Marco Martin
b51d5b1cd9 text selectable by mouse 2011-11-08 20:54:13 +01:00
Marco Martin
c644d41709 use hint-focus-over-base to decide where to paint the focus panel 2011-11-08 14:29:05 +01:00
Marco Martin
924d5fcf05 abstract the text field focus effect 2011-11-08 14:19:12 +01:00
Giorgos Tsiapaliwkas
a0c6943e49 Init docu for TextField.qml 2011-11-08 09:32:29 +02:00
Marco Martin
6eba438a89 PlasmaCore.Theme is registered by the inport
no more need to declare it every time -> memory saving
2011-10-30 17:53:20 +01:00
Marco Martin
486fbf6f82 use all font properties from Theme all around 2011-10-13 18:23:40 +02:00
Marco Martin
0f894f9db2 fix the hover/focus frame 2011-10-10 19:40:46 +02:00
Marco Martin
0fec8e54c5 move rangemodel in a components plugin 2011-09-13 21:21:29 +02:00