~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to src/qgscomposerview.h

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                         qgscomposerview.h
3
 
                             -------------------
4
 
    begin                : January 2005
5
 
    copyright            : (C) 2005 by Radim Blazek
6
 
    email                : blazek@itc.it
7
 
 ***************************************************************************/
8
 
 
9
 
/***************************************************************************
10
 
 *                                                                         *
11
 
 *   This program is free software; you can redistribute it and/or modify  *
12
 
 *   it under the terms of the GNU General Public License as published by  *
13
 
 *   the Free Software Foundation; either version 2 of the License, or     *
14
 
 *   (at your option) any later version.                                   *
15
 
 *                                                                         *
16
 
 ***************************************************************************/
17
 
/* $Id: qgscomposerview.h,v 1.1 2005/02/04 13:27:52 rabla Exp $ */
18
 
#ifndef QGSCOMPOSERVIEW_H
19
 
#define QGSCOMPOSERVIEW_H
20
 
 
21
 
#include <qcanvas.h>
22
 
 
23
 
class QgsComposer;
24
 
 
25
 
class QgsComposerView: public QCanvasView
26
 
{
27
 
    Q_OBJECT
28
 
        
29
 
public:
30
 
    QgsComposerView (QgsComposer *composer, QWidget* parent=0, const char* name=0, WFlags f=0);
31
 
 
32
 
protected:
33
 
    void contentsMousePressEvent(QMouseEvent*);
34
 
    void contentsMouseReleaseEvent(QMouseEvent*);
35
 
    void contentsMouseMoveEvent(QMouseEvent*);
36
 
 
37
 
    void keyPressEvent ( QKeyEvent * e );
38
 
 
39
 
private:
40
 
    QgsComposer *mComposer;
41
 
 
42
 
};
43
 
 
44
 
#endif