Popup context menu and removal of draw signal.

git-svn-id: http://svn.osgeo.org/qgis/trunk@581 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-01-25 01:16:08 +00:00
parent 6b9d4821c9
commit 41c828316b

View File

@ -303,6 +303,10 @@ public:
QPixmap getLegendQPixmap(bool);
//similar to above but returns a pointer. Implemented for qgsmaplayer interface
QPixmap * legendPixmap();
// Initialise the right click popup menu
void initContextMenu(QgisApp *);
/** Accessor for the superclass popmenu var - implements pure virtual fn*/
QPopupMenu *contextMenu();
// emit a signal asking for a repaint
void triggerRepaint();
@ -332,9 +336,9 @@ private:
RasterViewPort * theRasterViewPort,
GDALRasterBand * theGdalBand);
void drawMultiBandSingleBandGray(QPainter * theQPainter, RasterViewPort * theRasterViewPort);
void drawMultiBandSingleBandGray(QPainter * theQPainter, RasterViewPort * theRasterViewPort, GDALRasterBand * theGdalBand);
void drawMultiBandSingleBandPseudoColor(QPainter * theQPainter, RasterViewPort * theRasterViewPort);
void drawMultiBandSingleBandPseudoColor(QPainter * theQPainter, RasterViewPort * theRasterViewPort, GDALRasterBand * theGdalBand);
void drawMultiBandColor(QPainter * theQPainter, RasterViewPort * theRasterViewPort);
@ -384,6 +388,7 @@ private:
double minGrayDouble;
// maximum gray value - used in scaling procedure
double maxGrayDouble;
};
#endif