Changeset 8371:3fa9499756e0 in orange


Ignore:
Timestamp:
07/06/11 12:31:31 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
386f75238a116e087bbfff41cc44b3a05ee26649
Message:

Add files for NetworkCurve

Location:
source/orangeplot
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • source/orangeplot/CMakeLists.txt

    r8369 r8371  
    1414 
    1515#### orangeplot sources #### 
    16 set(orangeplot_SRCS plotitem.cpp curve.cpp unconnectedlinescurve.cpp plot.cpp) 
     16set(orangeplot_SRCS plotitem.cpp curve.cpp unconnectedlinescurve.cpp plot.cpp networkcurve.cpp) 
    1717qt4_automoc(${orangeplot_SRCS}) 
    1818 
  • source/orangeplot/curve.cpp

    r8369 r8371  
    1616    checkForUpdate(); 
    1717} 
     18 
     19Curve::Curve(QGraphicsItem* parent, QGraphicsScene* scene): PlotItem(parent, scene) 
     20{ 
     21    m_style = NoCurve; 
     22    m_lineItem = 0; 
     23    m_needsUpdate = 0; 
     24} 
     25 
    1826 
    1927Curve::~Curve() 
  • source/orangeplot/curve.h

    r8369 r8371  
    6464   **/ 
    6565  Curve(const QList< double >& xData, const QList< double >& yData, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); 
    66  
     66  Curve(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0); 
    6767  /** 
    6868   * Default destructor 
Note: See TracChangeset for help on using the changeset viewer.