Commit Graph

74 Commits

Author SHA1 Message Date
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
f3dff31f05 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
b63d1feae4 sync passwword charactor with desktop version 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
Dennis Nienhüser
5453bbc801 Fix mistyped enum values.
Please test as code using it might behave differently now (menus
aligned left before while horizontally centered on the parent now)
2012-05-09 00:13:26 +02:00
Marco Martin
027c83e27a fix centering 2012-04-04 10:35:47 +02:00
Sebastian Kügler
b6468d6437 ssht. 2012-04-01 00:15:34 +02:00
Lamarque V. Souza
82fb04ccbf EditBubble.qml: put buttons in the order "copy" and then "paste", double
buttons' MouseArea sizeto make it easier to tap on them, and add space
between the buttons.

CCBUG: 296943
2012-03-30 20:08:42 -03:00
Marco Martin
fb99635369 put buttons in the titlebar 2012-03-29 17:23:39 +02:00
Marco Martin
fda07f4473 documentation 2012-03-01 15:10:48 +01:00
Marco Martin
f30b2da11b fully working 2012-03-01 15:03:45 +01:00
Marco Martin
6d9f9afcad proper borders 2012-02-28 15:23:47 +01:00
Marco Martin
07b7041b92 common class for sheet and dialog 2012-02-28 14:49:20 +01:00
Marco Martin
dc791aad5b a fullscreen sheet derived from fullscreendialog 2012-02-28 12:11:22 +01:00
Lamarque V. Souza
8fda7bd9da Fix misspelling. 2012-01-29 20:03:25 -02:00
Marco Martin
4fcf00b9eb import the proper stuff 2012-01-27 20:01:58 +01:00
Marco Martin
3fc335fdd9 fix imports 2012-01-27 19:15:55 +01:00
Marco Martin
b9642137f2 fix Dialog installation 2012-01-27 18:53:54 +01:00
Marco Martin
a3ac08ee58 proper import 2012-01-27 18:18:00 +01:00
Marco Martin
6d4ad45c84 ensure the text field has focus 2012-01-18 16:49:12 +01:00
Marco Martin
4b91baa871 move ButtonShadow in the right place 2012-01-13 20:40:12 +01:00
Marco Martin
de22db805a use the common clear icon 2012-01-13 20:19:08 +01:00
Marco Martin
7c3d1883c6 use a window for dismiss area
animation done by kwin
2012-01-11 20:58:01 +01:00
Sebastian Kügler
9d04bd4938 Merge branch 'master' into editbubble 2012-01-11 01:38:13 +01:00
Sebastian Kügler
b92ea05d24 Proper fix for RoundShadow reference error:
- RoundShadow has to go into private/ subdirectory
- Copy ButtonShadow from desktop components as well, it's needed at
  runtime
2012-01-11 01:36:30 +01:00
Sebastian Kügler
8952d6af55 Merge branch 'master' into editbubble 2012-01-11 01:25:57 +01:00
Sebastian Kügler
cbbcb4762f RoundShadow is a local component 2012-01-11 00:17:41 +01:00
Marco Martin
6d118bdbeb slight delay for opening 2012-01-09 17:47:00 +01:00
Marco Martin
c0c231773b faster animation 2012-01-09 17:01:19 +01:00
Marco Martin
646f66b90c basic functionality for the Dialog 2012-01-09 16:51:01 +01:00
Marco Martin
5007558edb support for separators 2012-01-02 15:58:11 +01:00
Marco Martin
7a55e44d5b spacing 2012-01-02 15:31:19 +01:00
Marco Martin
f8bbc358ba layout fixes 2012-01-02 15:17:37 +01:00
Giorgos Tsiapaliwkas
986becb8fa fix the names from the imports 2011-12-22 17:34:09 +02:00
Giorgos Tsiapaliwkas
9a1e332b9b move the private components into a private subdir 2011-12-22 15:16:01 +02:00
Sebastian Kügler
e66e97e11e Enable edit bubble also for TextArea
- split out placeEditBubble(mouse)
- improve positioning a bit more (still not perfect)
- Remove a bit of noise
2011-12-01 03:51:01 +01:00
Sebastian Kügler
10b4ad517d Put editbubble below cursor when there's not enough space above it
Also clean up a bit here and there, removing redundancy
2011-12-01 02:27:18 +01:00
Sebastian Kügler
1e8cc6c2d5 Merge branch 'master' into editbubble 2011-11-28 23:47:48 +01:00
Marco Martin
13a3d33681 use onclicked
it gets canceled when it should
2011-11-28 21:42:27 +01:00
Marco Martin
b888a8adb5 remove refs to mouseover 2011-11-28 14:36:31 +01:00
Marco Martin
d5167f2529 pressed effect for the label 2011-11-28 13:49:28 +01:00
Marco Martin
ecb6fdabe7 take the bottom margin into account 2011-11-27 18:14:09 +01:00
Marco Martin
e4eeac663d clip 2011-11-25 21:39:32 +01:00
Marco Martin
544b39b04e layout fixes 2011-11-25 21:28:28 +01:00
Marco Martin
18aadf9e24 fix layouting of dialogs of both formfactors 2011-11-25 19:59:00 +01:00
Marco Martin
41dadc7729 fix for mainitem width 2011-11-25 19:08:04 +01:00
Sebastian Kügler
a82d043931 Merge branch 'master' into editbubble 2011-11-25 19:04:41 +01:00
Marco Martin
215306ee13 give the default models the get(row) function
some default components expect models to provide it
2011-11-25 18:48:42 +01:00
Sebastian Kügler
296300085a use MouseListener for showing and positioning the EditBubble, basically works, needs polishing 2011-11-25 05:07:13 +01:00