Commit Graph

96 Commits

Author SHA1 Message Date
Marco Martin
ea59745a58 export the font, since qactions have them too 2012-10-22 11:25:36 +02:00
Marco Martin
a7c1e92ef2 checkable property 2012-10-19 10:10:46 +02:00
Marco Martin
05936e77d8 kill the ToolButton duplication for touch 2012-10-14 20:05:40 +02:00
Marco Martin
b794f94286 draw attached ToolButtons in ButtonRow/Column
but only if the theme composes over borders (needed to be pixel perfect)
if the toolbuttons are not flat and if the ButtonRow is large enough
2012-10-14 20:05:40 +02:00
Marco Martin
795320af25 fix unresolved objects 2012-10-12 14:33:26 +02:00
Marco Martin
c89e68ff12 check if the default anchors are applicable 2012-10-12 14:33:26 +02:00
Marco Martin
87c778e8dc remove scale animation 2012-10-11 13:34:04 +02:00
Marco Martin
6209ca2527 proper icon margins 2012-10-11 13:30:24 +02:00
Marco Martin
9f0d2338b1 never draw disabled flat buttons 2012-10-11 12:32:58 +02:00
Marco Martin
d8116afac3 round only when square 2012-10-10 18:47:56 +02:00
Marco Martin
78a87b1da3 always use round buttons on toolbuttons without text 2012-10-10 18:35:06 +02:00
Luiz Romário Santana Rios
1ed4f894cc Fixed horizontalAlignment and verticalAlignment properties of TextArea
REVIEW: 106702
2012-10-03 21:06:34 -03:00
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