~ubuntu-branches/ubuntu/trusty/qgis/trusty

« back to all changes in this revision

Viewing changes to python/gui/qgsvertexmarker.sip

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
class QgsVertexMarker : QgsMapCanvasItem
 
3
{
 
4
%TypeHeaderCode
 
5
#include <qgsvertexmarker.h>
 
6
%End
 
7
 
 
8
  public:
 
9
    
 
10
    //! Icons
 
11
    enum IconType
 
12
    {
 
13
      ICON_NONE,
 
14
      ICON_CROSS,
 
15
      ICON_X,
 
16
      ICON_BOX
 
17
    };
 
18
 
 
19
    QgsVertexMarker(QgsMapCanvas* mapCanvas /TransferThis/);
 
20
    
 
21
    void setCenter(const QgsPoint& point);
 
22
    
 
23
    void setIconType(int iconType);
 
24
    
 
25
    void setIconSize(int iconSize);
 
26
    
 
27
    void setColor(const QColor& color);
 
28
    
 
29
    void setPenWidth(int width);
 
30
    
 
31
    void paint(QPainter* p);
 
32
    
 
33
    QRectF boundingRect() const;
 
34
 
 
35
    virtual void updatePosition();
 
36
 
 
37
};
 
38