From 180abfff4d31bc8db66fea92cf070ff21b7a5e2f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Nov 2012 22:50:23 -0500 Subject: Add accessor methods to list view items and popup menus for styling --- src/widgets/qpopupmenu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/widgets/qpopupmenu.h') 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 ); }; -- cgit v1.2.1