Mercurial > hg > svgui
comparison widgets/MenuTitle.h @ 1587:2108af725460
Add context menus to property box controls
author | Chris Cannam |
---|---|
date | Fri, 27 Mar 2020 14:36:11 +0000 |
parents | 2e720fdcab0a |
children | e660a00bc3b9 |
comparison
equal
deleted
inserted
replaced
1586:bbc3f537564c | 1587:2108af725460 |
---|---|
19 | 19 |
20 #include <QStyle> | 20 #include <QStyle> |
21 #include <QWidgetAction> | 21 #include <QWidgetAction> |
22 #include <QLabel> | 22 #include <QLabel> |
23 #include <QApplication> | 23 #include <QApplication> |
24 #include <QMenu> | |
24 | 25 |
25 class MenuTitle | 26 class MenuTitle |
26 { | 27 { |
27 public: | 28 public: |
28 static void addTitle(QMenu *m, QString text) { | 29 static void addTitle(QMenu *m, QString text) { |