Go to file
Kevin Ottens 03e2ea2ac0 Add convenience for section actions in QMenu
Those actions are just separators having also text and potentially icon.
It is very convenient to create titled sections in a menu, or give a
title to a context menu.

Obviously requires support for them on the style side, but modern styles
like fusion or oxygen handle them just fine. For legacy styles it
properly falls back to a regular separator aspect. That's why a specific
style hint is also introduced. It is used by QMenu to know how the
sections will be treated and take care of them correctly when
eliminating duplicated separators or separators at the beginning of the
menu.

Change-Id: Iad00a93422b7983dc90dfc4b4b1c360122e47610
Reviewed-by: David Faure (KDE) <faure@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-03-13 15:00:52 +01:00
bin syncqt: Use /usr/bin/env perl not /usr/bin/perl 2013-02-20 22:19:43 +01:00
config.tests Introducing the Qt Android port 2013-03-05 08:31:23 +01:00
dist Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
doc Merge remote-tracking branch 'origin/stable' into dev 2013-03-06 14:38:07 +01:00
examples Fix warnings about unused variables in sub-attaq-example (CLANG). 2013-03-06 21:50:28 +01:00
lib
mkspecs Hide Harfbuzz from the outer world 2013-03-13 14:46:26 +01:00
qmake make split_value_list() sane 2013-03-12 18:13:37 +01:00
src Add convenience for section actions in QMenu 2013-03-13 15:00:52 +01:00
tests Fixed bug in QTimeLine::setPaused(false) 2013-03-13 14:51:05 +01:00
tools Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
util QLocale: Add some more languages and scripts 2013-03-05 12:18:30 +01:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Long live QLockFile 2013-03-05 06:26:33 +01:00
.qmake.conf don't auto-install example sources by default for all modules 2012-12-03 15:56:28 +01:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure Fix build of host_build when a -sdk was passed to configure 2013-03-06 19:03:39 +01:00
configure.bat Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.BSD Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.FDL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL-ONLY Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
INSTALL fix links in INSTALL 2012-10-10 08:45:22 +02:00
LGPL_EXCEPTION.txt Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.FDL
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
LICENSE.PREVIEW.COMMERCIAL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbase.pro create tool pri file for syncqt 2013-02-11 18:00:12 +01:00
sync.profile Hide Harfbuzz from the outer world 2013-03-13 14:46:26 +01:00