Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QScrollBar:vertical {
- background: darkgrey;
- width: 10px;
- }
- QScrollBar::handle:vertical {
- background: black;
- min-height: 0px;
- }
- QScrollBar:horizontal{
- background: darkgrey;
- width: 10px;
- }
- QScrollBar::handle:horizontal{
- background: black;
- min-height: 0px;
- }
- QMenu {
- background-color: black; /* sets background of the menu */
- border: 1px solid black;
- color:lightgrey
- }
- 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;
- }
- QMenu::item:selected {
- /* when user selects item using mouse or keyboard */
- background-color: darkgrey;
- }
- QMenuBar {
- /*background-color: qlineargradient(
- x1: 0,
- y1: 0,
- x2: 0,
- y2: 1,
- stop: 0 lightgray,
- stop: 1 red
- );*/
- background-color: black;
- color: lightgrey;
- spacing: 3px; /* spacing between menu bar items */
- }
- QMenuBar::item {
- padding: 1px 4px;
- background: transparent;
- border-radius: 4px;
- }
- QMenuBar::item:selected {
- /* when selected using mouse or keyboard */
- background: darkgrey;
- }
- QMenuBar::item:pressed {
- background: lightgrey;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement