Logo Search packages:      
Sourcecode: qsstv version File versions  Download package

zoomwindow.h

/***************************************************************************
                          zoomwindow.h  -  QSSTV
                             -------------------
    begin                : Tue Apr 17 22:27:58 CEST 2001
    copyright            : (C) 2001 by Johan Maes ON1MH
    email                : on1mh@pandora.be
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef ZOOMWINDOW_H
#define ZOOMWINDOW_H

#include <qdialog.h>
#include <qframe.h>
#include <qpixmap.h>
#include "zoomform.h"

class zoomWindow : public zoomForm
{
    Q_OBJECT

public:

    zoomWindow(QWidget* parent = NULL,const char* name = NULL);
    virtual ~zoomWindow();
    void zoom(QPixmap * ipm);
            void closeEvent(QCloseEvent *e);
public slots:
      void slotSliderMoved(int);
      void slotClose();
//  void paintEvent( QPaintEvent *e );
//  void resizeEvent(QResizeEvent *);

protected:
  QFrame *zoomCanvas;
  QImage *image;
  QPixmap originalPixmap;
  void scale(int width,int height);
//  QPixmap pmScaled;
};

#endif //

Generated by  Doxygen 1.6.0   Back to index