Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

photosIconView.h

Go to the documentation of this file.
00001 //==============================================
00002 //  copyright            : (C) 2003 by Will Stokes
00003 //==============================================
00004 //  This program is free software; you can redistribute it 
00005 //  and/or modify it under the terms of the GNU General 
00006 //  Public License as published by the Free Software 
00007 //  Foundation; either version 2 of the License, or  
00008 //  (at your option) any later version.         
00009 //
00010 //  As a special exception, Will Stokes gives permission to 
00011 //  link this program with Qt non-commercial edition, and 
00012 //  distribute the resulting executable, without including the 
00013 //  source code for the Qt non-commercial edition in the 
00014 //  source distribution. 
00015 //==============================================
00016 
00017 #ifndef GUI_PHOTOSICONVIEW_H
00018 #define GUI_PHOTOSICONVIEW_H
00019 
00020 //--------------------
00021 //forward declarations
00022 class QPixmap;
00023 class QPainter;
00024 //--------------------
00025 
00026 #include <qiconview.h>
00027 
00028 //=====================================
00031 //=====================================
00032 class PhotosIconView : public QIconView
00033 {
00034 Q_OBJECT
00035 
00036 public:
00037   PhotosIconView( QWidget *parent );
00038   
00039   //returns the number of selected items
00040   int numSelected();
00041 //----------------------
00042 signals:
00043   void itemHasMoved();
00044 //----------------------
00045 protected:
00046   void drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph );
00047 //----------------------
00048 private:
00049   void contentsDropEvent( QDropEvent *e );
00050   QPixmap bufferPixmap;
00051    //----------------------
00052 };
00053 //======================
00054 
00055 #endif //GUI_PHOTOSICONVIEW_H

Generated on Thu Nov 13 00:10:54 2003 for AlbumShaper by doxygen 1.3.4