Ignore:
Timestamp:
05/07/13 16:35:51 (12 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Changed the tab widget in a quick menu.

The tab widget is now displayed vertically beside the menu items
and changes the current tab on hover.

File:
1 edited

Legend:

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

    r11412 r11491  
    359359 
    360360QuickMenu ToolTree QTreeView::item { 
    361     height: 25px; 
    362     border-top: 1px solid #e9eff2; 
    363     border-bottom: 1px solid #e9eff2; 
     361    height: 25px; 
     362    border-bottom: 1px solid #e9eff2; 
    364363} 
    365364 
    366365QuickMenu QTreeView::item:hover { 
    367     background-color: lightblue; 
    368     color: white; 
     366    background: qlineargradient( 
     367        x1: 0, y1: 0, x2: 0, y2: 1, 
     368        stop: 0 #688EF6, 
     369        stop: 0.5 #4047f4, 
     370        stop: 1.0 #2D68F3 
     371    ); 
     372    color: white; 
    369373} 
    370374 
    371375QuickMenu QTreeView::item:selected { 
    372     background-color: blue; 
    373     color: white; 
    374 } 
    375  
    376 /* Quick Menu search line edit  
     376    background-color: blue; 
     377    color: white; 
     378} 
     379 
     380QuickMenu TabBarWidget QToolButton { 
     381    width: 33px; 
     382    height: 25px; 
     383    border-bottom: 1px solid palette(dark); 
     384    padding-right: 5px; 
     385} 
     386 
     387QuickMenu TabBarWidget QToolButton#search-tab-button { 
     388    background-color: #9CACB4; 
     389} 
     390 
     391QuickMenu TabBarWidget QToolButton:menu-indicator { 
     392    image: url(canvas_icons:/arrow-right.svg); 
     393    subcontrol-position: center right; 
     394    height: 8px; 
     395    width: 8px; 
     396} 
     397 
     398/* Quick Menu search line edit 
    377399 */ 
    378400 
Note: See TracChangeset for help on using the changeset viewer.