Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

navigator.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008                           navigator.h  -  description
00009                              -------------------
00010     begin                : Fri Feb 22 2002
00011     copyright            : (C) 2002 by Franz Schmid
00012     email                : Franz.Schmid@altmuehlnet.de
00013  ***************************************************************************/
00014 
00015 /***************************************************************************
00016  *                                                                         *
00017  *   This program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 #ifndef NAVIGATOR_H
00025 #define NAVIGATOR_H
00026 
00027 #include <QLabel>
00028 
00029 class QPaintEvent;
00030 class QMouseEvent;
00031 class QPixmap;
00032 
00033 #include "scribusapi.h"
00034 class ScribusView;
00035 
00040 class SCRIBUS_API Navigator : public QLabel
00041 {
00042     Q_OBJECT
00043 
00044 public: 
00045     Navigator(QWidget *parent, int Size, int Seite, ScribusView* vie, QString fn = "");
00046     ~Navigator() {};
00047     void mouseMoveEvent(QMouseEvent *m);
00048     void mousePressEvent(QMouseEvent *m);
00049     void mouseReleaseEvent(QMouseEvent *m);
00050     void paintEvent(QPaintEvent *e);
00051     void drawMark(int x, int y);
00052     bool SetSeite(int Seite, int Size, QString fn = "");
00053     int Xp;
00054     int Yp;
00055     int Breite;
00056     int Hoehe;
00057     ScribusView* view;
00058     QPixmap pmx;
00059     
00060 signals:
00061     void Coords(double x, double y);
00062 };
00063 
00064 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.