Ignore:
Timestamp:
10/29/12 15:08:52 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Refactored GraphicsPathObject and ControlPoint/Rect/Line into two new modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/canvas/items/tests/test_annotationitem.py

    r11102 r11160  
    11from PyQt4.QtCore import Qt, QRectF, QLineF 
    22 
    3 from ..annotationitem import TextAnnotation, ArrowAnnotation, ArrowItem, \ 
    4                              ControlPointRect 
     3from ..annotationitem import TextAnnotation, ArrowAnnotation, ArrowItem 
    54 
    65from . import TestItems 
     
    4948 
    5049        self.app.exec_() 
    51  
    52     def testcontrol(self): 
    53         cp = ControlPointRect() 
    54         cp.setRect(QRectF(30, 30, 50, 50)) 
    55         self.scene.addItem(cp) 
    56         self.app.exec_() 
Note: See TracChangeset for help on using the changeset viewer.