diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-06-16 11:12:26 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-06-16 11:19:55 (GMT) |
commit | 1e6b142fa2833f55972d6d4aa7dde0bb215c2f25 (patch) | |
tree | 5fdca7f38b7849f00dd04a66da2d74ea164bf5d6 /src/gui/painting/qtransform.cpp | |
parent | d9308550f104526d29b1cdd56514ae3bb967d7f9 (diff) | |
download | Qt-1e6b142fa2833f55972d6d4aa7dde0bb215c2f25.zip Qt-1e6b142fa2833f55972d6d4aa7dde0bb215c2f25.tar.gz Qt-1e6b142fa2833f55972d6d4aa7dde0bb215c2f25.tar.bz2 |
Implement QMenu::separatorsCollapsible on Mac/Cocoa.
Hide duplicate separators and separators at the beginning and end of the
menu. The main challenge here is that separators and "normal" menu items
can be added in any order, for example add all the separators first
and then fill in the items. This means that we have to redo the visibility
decision for separators above and below when adding normal items.
Reviewed-by: Prasanth Ullattil
Diffstat (limited to 'src/gui/painting/qtransform.cpp')
0 files changed, 0 insertions, 0 deletions