Ignore:
Timestamp:
05/13/13 11:33:59 (11 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Moved gradient functions into gui.utils.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/application/widgettoolbox.py

    r11372 r11508  
    2222from PyQt4.QtCore import  pyqtSignal as Signal, pyqtProperty as Property 
    2323 
    24 from ..gui.toolbox import ToolBox, create_tab_gradient 
     24from ..gui.toolbox import ToolBox 
    2525from ..gui.toolgrid import ToolGrid 
    2626from ..gui.quickhelp import StatusTipPromoter 
     27from ..gui.utils import create_gradient 
    2728from ..registry.qt import QtWidgetRegistry 
    2829 
     
    390391 
    391392        if not brush.gradient(): 
    392             gradient = create_tab_gradient(brush.color()) 
     393            gradient = create_gradient(brush.color()) 
    393394            brush = QBrush(gradient) 
    394395 
Note: See TracChangeset for help on using the changeset viewer.