From d834c35f74dc59396048beaffc7e1ab429324591 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Wed, 27 Aug 2014 04:43:01 +1000 Subject: [PATCH] QMenu stylesheet test 2 --- sleepyhead/Graphs/gGraphView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index c0b2f989..3d5cb142 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -373,13 +373,13 @@ gGraphView::gGraphView(QWidget *parent, gGraphView *shared) connect(lines_menu, SIGNAL(triggered(QAction*)), this, SLOT(onLinesClicked(QAction*))); context_menu->setStyleSheet("QMenu {\ - background-color: #EBEBEB; /* sets background of the menu */\ + background-color: #f0f0f0; /* sets background of the menu */\ border: 1px solid black;\ }\ QMenu::item {\ /* sets background of menu item. set this to something non-transparent\ if you want menu color and menu item color to be different */\ - background-color: transparent;\ + background-color: #f0f0f0;\ }\ QMenu::item:selected { /* when user selects item using mouse or keyboard */\ background-color: #ABCDEF;\