Commit Graph

10363 Commits

Author SHA1 Message Date
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
6c3bb7608d Merge branch 'master' into plasma/mart/PageRow 2012-08-09 15:45:15 +02:00
Marco Martin
ef4c4b47d1 emit the location, formfactor and context signals 2012-08-09 15:43:30 +02:00
Marco Martin
57bff6aaad Merge branch 'master' into plasma/mart/PageRow 2012-08-09 11:46:21 +02:00
Marco Martin
34287ac131 default to clip 2012-08-09 11:45:42 +02:00
Marco Martin
662687ce03 default to clip 2012-08-09 11:43:41 +02:00
Marco Martin
9b4c8ba95d use a scrollArea 2012-08-09 11:11:29 +02:00
Marco Martin
a2f6e62e6c move transitionDuration in internal 2012-08-09 11:00:45 +02:00
Marco Martin
94405dd7fb if the shadow image isn't found, use a svg 2012-08-09 10:56:54 +02:00
Marco Martin
413053b9b6 Merge branch 'master' into plasma/mart/PageRow 2012-08-08 20:52:55 +02:00
Marco Martin
8eb870321c add the timeFormat property 2012-08-08 20:51:15 +02:00
Marco Martin
3f0e47110d restore proper depth and z calculation 2012-08-08 20:03:49 +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
fefa42c951 clip only when animating 2012-08-08 15:02:18 +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
7695197517 always display at least one column 2012-08-08 11:36:30 +02:00
David Faure
f7246d1ec4 Merge remote-tracking branch 'origin/KDE/4.9' 2012-08-08 10:28:03 +02:00
Marco Martin
01aaeae527 slightly better slide out animation, still not perfect 2012-08-07 22:52:14 +02:00
Marco Martin
6a45ac2de5 a PageRow component
derivate from the active addons PageRow and PageStack
2012-08-07 21:29:37 +02:00
Script Kiddy
f88eabf06b SVN_SILENT made messages (.desktop file) 2012-08-07 18:33:46 +02:00
Script Kiddy
c44c58a715 SVN_SILENT made messages (.desktop file) 2012-08-07 18:33:46 +02:00
Script Kiddy
631d858e6a SVN_SILENT made messages (.desktop file) 2012-08-06 09:28:55 +02:00
Albert Astals Cid
2679fe483e Remove unneeded kcolorutils.h includes
Found with
diff -ub  <( wcgrep -l "kcolorutils\.h" | sort ) <(wcgrep -l 'KColorUtils::' | sort ) | grep -v CMakeLists.txt | grep ^"-\.
2012-08-06 00:46:03 +02:00
Albert Astals Cid
3421644d01 Remove unneded kurlmimedata.h include
Found by
diff -ub  <( wcgrep -l "kurlmimedata\.h" | sort ) <(wcgrep -l 'KUrlMimeData::' | sort ) | grep -v CMakeLists.txt | grep ^"-\."
2012-08-06 00:38:25 +02:00
Albert Astals Cid
ac117b6c2d Remove unneded kglobal.h includes
Found with
diff -ub  <( wcgrep -l "kglobal\.h" | sort ) <(wcgrep -l 'KGlobal::\|K_GLOBAL\|KSharedConfigPtr' | sort ) | grep -v CMakeLists.txt | grep ^"-\."
2012-08-06 00:27:15 +02:00
Kevin Ottens
05e48339e6 Also get rid of the #if defined HAVE_X11 constructs
Forgot them earlier, they're now ported to just #if HAVE_X11 as well
2012-08-03 16:53:37 +02:00
Kevin Ottens
77b49e1a8a Use #if HAVE_X11 instead of #ifdef HAVE_X11 as advised by David 2012-08-03 13:00:02 +02:00
Kevin Ottens
6c29469338 Oops, missing a config.h include 2012-08-03 12:20:21 +02:00
Kevin Ottens
22f74fc0ca More removals of Q_WS_* in favor of Q_OS_* or HAVE_X11 2012-08-03 11:45:20 +02:00
Dominik Haumann
54433eaca3 KGlobalSettings::singleClick() -> style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick)
KGlobalSettings::singleClick() is still used in kde3support.
- do we really need kde3support?
- should the singleClick be ported here as well?
2012-08-02 21:56:05 +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
Marco Martin
8d4c76ac1f add binding for horizontal and vertical size policy of the plasmoid 2012-08-01 20:39:06 +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
0b9e172a88 remove the icon if an invalid value is passed 2012-08-01 13:25:55 +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
David Faure
69ac650f34 Merge remote-tracking branch 'origin/KDE/4.9' 2012-07-31 14:25:15 +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
Marco Martin
1180b5831d rename locale.h in locale_p.h
locale.h seems reserved in newer GCC
2012-07-30 20:11:26 +02:00