diff options
author | Florian Jung <flo@windfisch.org> | 2012-09-02 18:33:51 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2012-09-02 18:33:51 +0000 |
commit | 649aa1e8aa0d362c753e88b7c4c180132857fc58 (patch) | |
tree | 8af3ce0862a29b8495870cc74bc98d03bf16389a /muse2/muse | |
parent | 190419b985e1867e1c176dda2de7deecca245a05 (diff) |
documentation
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/widgets/popupmenu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/widgets/popupmenu.h b/muse2/muse/widgets/popupmenu.h index 1848d3af..d1d863e9 100644 --- a/muse2/muse/widgets/popupmenu.h +++ b/muse2/muse/widgets/popupmenu.h @@ -44,14 +44,14 @@ class QMouseEvent; class QVariant; class QAction; class QEvent; -//class QTimer; -//class QStandardItemModel; namespace MusEGui { +/** offers a QMenu-like menu, which stays open once the user + * clicked a checkable action. */ class PopupMenu : public QMenu { - Q_OBJECT +Q_OBJECT bool _stayOpen; #ifndef POPUP_MENU_DISABLE_AUTO_SCROLL @@ -75,7 +75,7 @@ class PopupMenu : public QMenu PopupMenu(bool stayOpen); PopupMenu(QWidget* parent=0, bool stayOpen = false); PopupMenu(const QString& title, QWidget* parent = 0, bool stayOpen = false); - ///void clear(); + //void clear(); QAction* findActionFromData(const QVariant&) const; bool stayOpen() const { return _stayOpen; } void clearAllChecks() const; |