~kst-plot/kst/debian-xenial

« back to all changes in this revision

Viewing changes to src/libkstapp/plotrenderitem.h

  • Committer: Steven Benton
  • Date: 2012-11-04 22:45:35 UTC
  • mfrom: (1.2.10)
  • Revision ID: stevebenton@rogers.com-20121104224535-mnnvrp4mhvuz0h2p
* New upstream release.
* Non-maintainer upload.
* Remove patches that have been resolved upstream:
  - desktop-entry-contains-encoding-key.diff
  - desktop-entry-lacks-main-category.diff
    - upstream uses Education category rather than Graphics
  - fix-qreal-vs-double-for-arm.diff
* kst package Replaces and Conflicts with kst2 -- for old PPA users only

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
    PlotItem *plotItem() const;
39
39
 
40
 
    RenderType type();
41
 
    void setType(RenderType type);
 
40
    virtual RenderType renderType() const;
 
41
    void setRenderType(RenderType type);
42
42
 
43
43
    QRectF plotRect() const;
44
44
 
48
48
    void addRelation(RelationPtr relation);
49
49
    void removeRelation(RelationPtr relation);
50
50
    void clearRelations();
 
51
    void setRelationsList(const RelationList &relations);
51
52
 
52
53
    virtual void save(QXmlStreamWriter &xml);
53
54
    virtual void saveInPlot(QXmlStreamWriter &xml);
65
66
    QString multiRenderItemLabel(bool isX) const;
66
67
 
67
68
    QRectF computedProjectionRect() const;
68
 
    void computeBorder(Qt::Orientation orientation, qreal *min, qreal *max) const;
 
69
    void computeBorder(Qt::Orientation orientation, double *min, double *max) const;
69
70
    void resetSelectionRect();
70
71
 
71
72
    virtual bool tryShortcut(const QString &keySequence);
75
76
    virtual void raise();
76
77
    virtual void lower();
77
78
    virtual void createAutoLayout();
78
 
    virtual void createCustomLayout();
 
79
    virtual void createCustomLayout(int columns = 0);
79
80
    virtual void remove();
80
81
    virtual void referenceMode();
81
82
    virtual void referenceModeDisabled();
85
86
    virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
86
87
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
87
88
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
 
89
    virtual void wheelEvent(QGraphicsSceneWheelEvent *event);
88
90
 
89
91
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
90
92
 
108
110
    void updateCursor(const QPointF &pos);
109
111
    void updateSelectionRect();
110
112
 
111
 
    void computeXAxisRange(qreal *min, qreal *max) const;
112
 
    void computeYAxisRange(qreal *min, qreal *max) const;
113
 
    void computeAuto(Qt::Orientation orientation, qreal *min, qreal *max) const;
114
 
    void computeMeanCentered(Qt::Orientation orientation, qreal *min, qreal *max) const;
115
 
    void computeNoSpike(Qt::Orientation orientation, qreal *min, qreal *max) const;
 
113
    void computeXAxisRange(double *min, double *max) const;
 
114
    void computeYAxisRange(double *min, double *max) const;
 
115
    void computeAuto(Qt::Orientation orientation, double *min, double *max) const;
 
116
    void computeMeanCentered(Qt::Orientation orientation, double *min, double *max) const;
 
117
    void computeNoSpike(Qt::Orientation orientation, double *min, double *max) const;
116
118
 
117
119
    void highlightNearestDataPoint(const QPointF& position);
118
120
    void setReferencePoint(const QPointF& point);