Ignore:
Timestamp:
05/08/13 20:06:17 (12 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Added a popup menu class with widgets displayed in a list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/styles/orange.qss

    r11491 r11495  
    103103 
    104104 
    105  
    106 /* 
    107  *QuickCategoryToolbar _QuickCategoryButton { 
    108  *    qproperty-nativeStyling_: "true"; 
    109  *    background-color: palette(button); 
    110  *    border: none; 
    111  *    border-bottom: 1px solid palette(dark); 
    112  *} 
    113  */ 
     105/* QuickCategoryToolbar popup menus */ 
     106 
     107CategoryPopupMenu { 
     108    background-color: #E9EFF2; 
     109} 
     110 
     111CategoryPopupMenu ToolTree QTreeView::item { 
     112    height: 25px; 
     113    border-bottom: 1px solid #e9eff2; 
     114} 
     115 
     116CategoryPopupMenu QTreeView::item:hover { 
     117    background: qlineargradient( 
     118        x1: 0, y1: 0, x2: 0, y2: 1, 
     119        stop: 0 #688EF6, 
     120        stop: 0.5 #4047f4, 
     121        stop: 1.0 #2D68F3 
     122    ); 
     123    color: white; 
     124} 
     125 
     126CategoryPopupMenu QTreeView::item:selected { 
     127    background-color: blue; 
     128    color: white; 
     129} 
    114130 
    115131 
Note: See TracChangeset for help on using the changeset viewer.