mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Popup context menu and removal of draw signal.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@581 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
28101bb307
commit
94217352c0
@ -303,6 +303,10 @@ public:
|
|||||||
QPixmap getLegendQPixmap(bool);
|
QPixmap getLegendQPixmap(bool);
|
||||||
//similar to above but returns a pointer. Implemented for qgsmaplayer interface
|
//similar to above but returns a pointer. Implemented for qgsmaplayer interface
|
||||||
QPixmap * legendPixmap();
|
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
|
// emit a signal asking for a repaint
|
||||||
void triggerRepaint();
|
void triggerRepaint();
|
||||||
|
|
||||||
@ -332,9 +336,9 @@ private:
|
|||||||
RasterViewPort * theRasterViewPort,
|
RasterViewPort * theRasterViewPort,
|
||||||
GDALRasterBand * theGdalBand);
|
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);
|
void drawMultiBandColor(QPainter * theQPainter, RasterViewPort * theRasterViewPort);
|
||||||
|
|
||||||
@ -384,6 +388,7 @@ private:
|
|||||||
double minGrayDouble;
|
double minGrayDouble;
|
||||||
// maximum gray value - used in scaling procedure
|
// maximum gray value - used in scaling procedure
|
||||||
double maxGrayDouble;
|
double maxGrayDouble;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user