Changeset 8336:327639e74afa in orange


Ignore:
Timestamp:
06/28/11 15:39:32 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
ddf848aaaaaa79a5ad056c7b675ad4b2eeb4affa
Message:

Add an UnconnectedLinesCurve class in C++, and use it from LinProjGraph

Location:
source/orangegraph
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • source/orangegraph/curve.h

    r8334 r8336  
    6868   * 
    6969   **/ 
    70   void update(); 
     70  virtual void update(); 
    7171   
    7272  /** 
     
    7878   *  
    7979   **/ 
    80   void updateAll(); 
     80  virtual void updateAll(); 
    8181   
    8282  /** 
     
    128128   **/ 
    129129  static QPainterPath pathForSymbol(int symbol, int size); 
     130   
     131   
    130132private:     
    131133 
     
    149151  Q_DECLARE_FLAGS(UpdateFlags, UpdateFlag) 
    150152   
     153  void checkForUpdate(); 
    151154  void updateNumberOfItems(); 
    152   inline void checkForUpdate(); 
    153155  void changeContinuous(); 
    154156  void updateBounds(); 
  • source/orangegraph/curve.sip

    r8334 r8336  
    4545  virtual QRectF boundingRect() const; 
    4646 
    47   void update(); 
     47  virtual void update(); 
    4848  void updateAll(); 
    4949   
  • source/orangegraph/graph.cpp

    r8335 r8336  
    2222    item->setParentItem(graph_item); 
    2323    m_items << item; 
    24     qDebug() << "Adding item" << item << "with data rect" << item->dataRect() << "to the graph"; 
    2524} 
    2625 
     
    6261        } 
    6362    } 
    64     qDebug() << "Data rect for axes" << axes << "is" << r; 
    6563    return r; 
    6664} 
  • source/orangegraph/orangegraph.sip

    r8335 r8336  
    66%Include plotitem.sip 
    77%Include curve.sip 
     8%Include unconnectedlinescurve.sip 
Note: See TracChangeset for help on using the changeset viewer.