Changeset 8002:78a19bb9f838 in orange


Ignore:
Timestamp:
06/13/11 15:49:29 (3 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
2982b878759802234b271d23723d27a687f366a1
Message:

Changed distribution rectangles into rounded rectangles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Classify/OWCN2RulesViewer.py

    r7994 r8002  
    8585                color = colors[i] 
    8686                painter.setBrush(color) 
     87                painter.setRenderHint(QPainter.Antialiasing) 
    8788                width = round(rect_w * float(count) / abs) 
    88                 painter.drawRect(QRect(1, 1, width, drect_h)) 
     89                painter.drawRoundedRect(QRect(1, 3, width, 5), 1, 2) 
    8990                painter.translate(width, 0) 
    9091        painter.restore() 
Note: See TracChangeset for help on using the changeset viewer.