| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qwt/TeQwtPlotZoomer.h
Go to the documentation of this file.

    00001 /************************************************************************************
    00002 TerraView - visualization and exploration of geographical databases
    00003 using TerraLib.
    00004 Copyright � 2001-2007 INPE and Tecgraf/PUC-Rio.
    00005 This file is part of TerraView. TerraView is free software; you can redistribute it
    00006 and/or modify it under the terms of the GNU General Public License as published by
    00007 the Free Software Foundation; either version 2 of the License, or
    00008 (at your option) any later version.
    00009
    00010 You should have received a copy of the GNU General Public License
    00011 along with TerraView.
    00012 The authors reassure the license terms regarding the warranties.
    00013 They specifically disclaim any warranties, including, but not limited to,
    00014 the implied warranties of merchantability and fitness for a particular purpose.
    00015 The software provided hereunder is on an "as is" basis, and the authors have no
    00016 obligation to provide maintenance, support, updates, enhancements, or modifications.
    00017 In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
    00018 indirect, special, incidental, or consequential damages arising out of the use of
    00019 this program and its documentation.
    00020 *************************************************************************************/
    00021
    00022 // vim: expandtab
    00023
    00024 #ifndef TEQWTPLOTZOOMER_H
    00025 #define TEQWTPLOTZOOMER_H
    00026
    00027 #include "../../kernel/TeDefines.h"
    00028
    00029 #include <qwt_plot_zoomer.h>
    00030
    00031 class TL_DLL TeQwtPlotZoomer: public QwtPlotZoomer
    00032 {
    00033            Q_OBJECT
    00034
    00035 public:
    00036     TeQwtPlotZoomer(QwtPlotCanvas *);
    00037     TeQwtPlotZoomer(int xAxis, int yAxis, QwtPlotCanvas *);
    00038     TeQwtPlotZoomer(int xAxis, int yAxis, int selectionFlags,
    00039         DisplayMode trackerMode, QwtPlotCanvas *);
    00040            virtual ~TeQwtPlotZoomer();
    00041
    00042            QwtDoubleRect adjustRect(const QwtDoubleRect&);
    00043
    00044 signals:
    00045            void enablePreviousZoomSignal(bool);
    00046            void enableNextZoomSignal(bool);
    00047
    00048 public slots:
    00049     void forward();
    00050     void backward();
    00051            void setEnabledSlot(bool);
    00052
    00053 protected:
    00054     void widgetKeyPressEvent(QKeyEvent *);
    00055            void widgetMouseReleaseEvent(QMouseEvent *);
    00056
    00057 };
    00058
    00059
    00060 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines