Commit Graph

84 Commits

Author SHA1 Message Date
Marco Martin
e9cee7f69c fix dialog default size 2012-09-18 18:07:11 +02:00
Marco Martin
e1c4125ac8 bigger 2012-09-18 12:02:04 +02:00
Marco Martin
8e2b56b7a5 keep some margins 2012-09-07 21:51:23 +02:00
Marco Martin
5e2e0ceeac more sensible borders, listen onCanceled 2012-09-06 12:31:12 +02:00
Marco Martin
c3130c7066 fix interaction ScrollArea/SectionScroller
fix the behaviour of the interaction between ScrollArea and SectionScroller, both in touch and desktop cases
make the margins correctly update based wether the scrollbar is actually visible
2012-09-05 18:15:59 +02:00
Marco Martin
115aab2242 consider dialog margins for the size 2012-08-28 11:21:07 +02:00
Marco Martin
17a3b858a2 don't close when clicking on empty spots 2012-08-17 15:43:21 +02:00
Marco Martin
3989c9efe9 adjust sizing 2012-08-14 15:53:20 +02:00
Marco Martin
f6fa41f3af a central place to enable/disable mouseover
and eventually other things
this in the future should become something that can change dynamically in theme, but for now can already avoid quite some code duplication
2012-08-10 11:02:04 +02:00
Aurélien Gâteau
fc0f700c9d Fix text colors on TabButton and ToolButton
When the widgets use the button background frame, use buttonTextColor.
When they do not use any background frame, use textColor.

Avoids unreadable text with Oxygen

REVIEW: 105163
2012-06-09 10:12:05 +02: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
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