summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpopupmenu.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-01 22:50:23 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-01 22:50:23 -0500
commit180abfff4d31bc8db66fea92cf070ff21b7a5e2f (patch)
tree4f999f42be0434280c65a9f3945e7a06c9b63739 /src/widgets/qpopupmenu.h
parent294ec2ee1fca27847ba0e913a3b11f7382e0492e (diff)
downloadqt3-180abfff4d31bc8db66fea92cf070ff21b7a5e2f.tar.gz
qt3-180abfff4d31bc8db66fea92cf070ff21b7a5e2f.zip
Add accessor methods to list view items and popup menus for styling
Diffstat (limited to 'src/widgets/qpopupmenu.h')
-rw-r--r--src/widgets/qpopupmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/qpopupmenu.h b/src/widgets/qpopupmenu.h
index 0609731..7569381 100644
--- a/src/widgets/qpopupmenu.h
+++ b/src/widgets/qpopupmenu.h
@@ -193,6 +193,9 @@ private: // Disabled copy constructor and operator=
QPopupMenu( const QPopupMenu & );
QPopupMenu &operator=( const QPopupMenu & );
#endif
+
+public:
+ static int menuItemHeight( QMenuItem* mi, QFontMetrics fm );
};