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

« back to all changes in this revision

Viewing changes to python/core/qgspaperitem.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
/**Item representing the paper. May draw the snapping grid lines if composition is in
 
2
 preview mode*/
 
3
class QgsPaperItem: QgsComposerItem
 
4
{
 
5
%TypeHeaderCode
 
6
#include <qgspaperitem.h>
 
7
%End
 
8
  public:
 
9
    QgsPaperItem( QgsComposition* c );
 
10
    QgsPaperItem( qreal x, qreal y, qreal width, qreal height, QgsComposition* composition );
 
11
    ~QgsPaperItem();
 
12
 
 
13
    /** \brief Reimplementation of QCanvasItem::paint*/
 
14
    void paint( QPainter* painter, const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget );
 
15
 
 
16
    /** stores state in Dom node
 
17
       * @param node is Dom node corresponding to 'Composer' tag
 
18
       * @param temp write template file
 
19
       */
 
20
    bool writeXML( QDomElement& elem, QDomDocument & doc ) const;
 
21
 
 
22
    /** sets state from Dom document
 
23
     * @param itemElem is Dom node corresponding to item tag
 
24
     */
 
25
    bool readXML( const QDomElement& itemElem, const QDomDocument& doc );
 
26
 
 
27
  private:
 
28
    QgsPaperItem();
 
29
};
 
 
b'\\ No newline at end of file'