~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to libs/flake/tools/KoPathTool.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    /// repaints the specified rect
77
77
    void repaint(const QRectF &repaintRect);
78
78
 
 
79
public slots:
 
80
    void documentResourceChanged(int key, const QVariant & res);
 
81
 
79
82
signals:
80
83
    void typeChanged(int types);
81
84
    void pathChanged(KoPathShape* path); // TODO this is unused, can we remove this one?
100
103
    void mergePoints();
101
104
    void breakAtPoint();
102
105
    void breakAtSegment();
103
 
    void resourceChanged(int key, const QVariant & res);
104
106
    void pointSelectionChanged();
105
107
    void updateActions();
106
108
    void pointToLine();
107
109
    void pointToCurve();
108
110
    void activate();
109
111
 
 
112
protected:
 
113
    KoPathToolSelection m_pointSelection; ///< the point selection
 
114
    QCursor m_selectCursor;
 
115
 
110
116
private:
111
117
 
112
118
    KoPathToolHandle * m_activeHandle;       ///< the currently active handle
113
119
    int m_handleRadius;    ///< the radius of the control point handles
114
120
    uint m_grabSensitivity; ///< the grab sensitivity
115
 
    KoPathToolSelection m_pointSelection; ///< the point selection
116
121
    QPointF m_lastPoint; ///< needed for interaction strategy
117
122
    PathSegment *m_activeSegment;
118
123
 
137
142
    KAction *m_actionJoinSegment;
138
143
    KAction *m_actionMergePoints;
139
144
    KAction *m_actionConvertToPath;
140
 
    QCursor m_selectCursor;
141
145
    QCursor m_moveCursor;
142
146
 
143
147
    Q_DECLARE_PRIVATE(KoToolBase)