QMenu 
{
     background-color: #989898; /* sets background of the menu 设置整个菜单区域的背景色，我用的是白色：white*/
     border: 0px solid white;/*整个菜单区域的边框粗细、样式、颜色*/
	 color:white;
 }
 
 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;
     padding:4px 20px;/*设置菜单项文字上下和左右的内边距，效果就是菜单中的条目左右上下有了间隔*/
     margin:0px 0px;/*设置菜单项的外边距*/
     border-bottom:1px solid #DBDBDB;/*为菜单项之间添加横线间隔*/
 }
 
 QMenu::item:selected 
 { /* when user selects item using mouse or keyboard */
     background-color: #2dabf9;/*这一句是设置菜单项鼠标经过选中的样式*/
 }
 
 QPushButton {
    background: #757575;
	color:#ffffff;border:0px;
}

QPushButton:hover {
    background: #989898;
	border:0px;
}

QPushButton:pressed {
    background: #aaaaaa;
	border:0px;
}

