Commit Graph

470 Commits

Author SHA1 Message Date
Marco Martin
a740f30925 more docs 2012-10-03 20:18:38 +02:00
Marco Martin
13cba92e54 better logic for text elide 2012-10-03 10:38:00 +02:00
Marco Martin
2d297c1f6e revert text elide
causes some buttons to lose size hint
2012-10-02 22:30:38 +02:00
Marco Martin
47bd296058 flip wheel up/down behavior 2012-10-02 22:30:16 +02:00
Marco Martin
e0598f1489 elide text if long 2012-10-02 22:00:19 +02:00
Marco Martin
fca4a9c68b support mouse wheel switching 2012-09-26 20:09:46 +02:00
Marco Martin
23fbdc089a fix in case some tab is invisible 2012-09-26 18:16:17 +02:00
Marco Martin
2f0fce8628 scroll arrows when there are too many tabs 2012-09-26 17:45:29 +02:00
Marco Martin
d86b233464 avoid potential infinite recursions 2012-09-21 14:23:41 +02:00
Marco Martin
708be449c3 fix absolute screen position for menu position 2012-09-20 16:28:49 +02: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
faccd995e2 ensure a tab is selected 2012-09-13 13:19:29 +02:00
Marco Martin
322bf6ab6c round toolbuttons when not flat and no text 2012-09-10 22:11:15 +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
6febf02fc3 Merge branch 'master' into plasma/mart/PageRow 2012-08-17 15:44:21 +02:00
Marco Martin
17a3b858a2 don't close when clicking on empty spots 2012-08-17 15:43:21 +02:00
Marco Martin
8276343bcf Merge branch 'master' into plasma/mart/PageRow 2012-08-17 15:34:50 +02:00
Marco Martin
dc424465d8 proper size hints for tab buttons 2012-08-17 15:34:17 +02:00
Aleix Pol
e8ef093ea8 Also regenerate the value pixmap when the height changes
It could generate a visual glitch if the program plays with the bar's height.

Thanks David Edmunson for noticing :)
REVIEW: 105966
2012-08-16 01:53:15 +02:00
Marco Martin
dbc758db7a showMenu(int,int) becomes open(int,int) 2012-08-14 23:11:16 +02:00
Gregor Tätzner
64781a6c3a Merge branch 'master' of git://anongit.kde.org/kde-runtime 2012-08-14 22:23:23 +02:00
Gregor Tätzner
4e2ee8c42e Make showMenu invokable from qml
I.e. necessary if we want to specifiy the position of a menu with
position coordinates from a MouseArea.
2012-08-14 22:19:37 +02:00
David Edmundson
650258aa88 Fix spelling typo in comment 2012-08-14 18:05:57 +01:00
Marco Martin
3d2083be1a Merge branch 'master' into plasma/mart/PageRow 2012-08-14 15:54:47 +02:00
Marco Martin
3989c9efe9 adjust sizing 2012-08-14 15:53:20 +02:00
Gregor Tätzner
91e67c8304 Merge branch 'master' of git://anongit.kde.org/kde-runtime 2012-08-10 19:31:42 +02:00
Gregor Tätzner
f2eab7768b Calculate implicitWith wide enough so that items don't have to ellide.
REVIEW: 105742
2012-08-10 19:27:37 +02:00
Marco Martin
533902e9d4 Merge branch 'master' into plasma/mart/PageRow 2012-08-10 18:43:46 +02:00
Marco Martin
3ceb300f6f better calculation of tile widths 2012-08-10 18:42:16 +02:00
Aleix Pol
b52080ff78 Fix some ProgressBar visual glitches
Make sure the visualization takes all the available space
Update the visualization elements whenever the background and the value change

REVIEW: 105966
2012-08-10 18:16:26 +02:00
Marco Martin
a3aca692fe Merge branch 'master' into plasma/mart/PageRow 2012-08-10 11:43:45 +02:00
Marco Martin
96e436f641 disable mouseOver on touch 2012-08-10 11:42:53 +02:00
Aleix Pol
86ea6dfe4c Reduce opacity of the ListItem's background decoration on hovering.
It improves the GUI feedback when using the components with a mouse.

REVIEW: 105939
2012-08-10 11:32:57 +02:00
Marco Martin
934aff451c Merge branch 'master' into plasma/mart/PageRow 2012-08-10 11:06:27 +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
Marco Martin
785ffaa0fb Merge branch 'master' into plasma/mart/PageRow 2012-08-08 17:51:56 +02:00
Marco Martin
79b5734d90 emit clickedOutside when it should 2012-08-08 17:50:21 +02:00
Marco Martin
1cbd32e9f9 use a single js engine implementation between row and stack 2012-08-08 14:53:04 +02:00
Marco Martin
4d2d32db58 clean the code 2012-08-08 14:25:28 +02:00
Marco Martin
c71f8f509f checked property works also without tabgroup 2012-08-02 13:11:25 +02:00
Marco Martin
dcfe086014 grey out when disabled 2012-08-02 12:59:56 +02:00
Aleix Pol
f3e607c2cf Improve response and behavior in ScrollBar
When contentHeight and contentY change at the same time, we got to
some weird states where the scrollbar would trigger a change in the
Flickable positioning that wasn't triggered by the user, this should
be fixed now.

Also don't use the handle position to move the Flickable scrolling
if the scrollbar is disabled or non-interactive. It shouldn't be needed
now but it helps keeping the complexity to a minimum.

REVIEW: 105808
2012-08-01 13:36:22 +02:00
Marco Martin
6dd904d239 delay update from handle
we must wait the handle updated its size too for being able to correctly update range position from handle position
2012-08-01 11:18:02 +02:00
Aleix Pol
8cdf691438 Don't warn when using a page without toolbar
Check if the tools are null before before using the toolbar.

REVIEW: 105803
2012-07-31 15:05:12 +02:00
Marco Martin
4a1fa1a491 don't use bindings but a connection
to update position and value, removes binding loop warnings
2012-07-31 10:36:25 +02:00
Reza Shah
b14b2ed86d Merge branch 'KDE/4.9' 2012-07-17 21:18:02 +09:00