mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Added showInOverview stub
git-svn-id: http://svn.osgeo.org/qgis/trunk@1540 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
507f1b2132
commit
64659f52e2
@ -73,6 +73,7 @@ QString QgsMapLayer::sourceName()
|
||||
{
|
||||
return internalName;
|
||||
}
|
||||
|
||||
const QgsRect QgsMapLayer::extent()
|
||||
{
|
||||
return layerExtent;
|
||||
@ -122,6 +123,17 @@ void QgsMapLayer::setVisible(bool vis)
|
||||
emit visibilityChanged();
|
||||
} /** Read property of int featureType. */
|
||||
|
||||
void QgsMapLayer::showInOverview(bool theFlag)
|
||||
{
|
||||
if (theFlag)
|
||||
{
|
||||
//do me
|
||||
}
|
||||
else
|
||||
{
|
||||
//do me
|
||||
}
|
||||
}
|
||||
|
||||
const int &QgsMapLayer::featureType()
|
||||
{
|
||||
|
@ -207,6 +207,9 @@ public slots:
|
||||
|
||||
//! set visibility
|
||||
void setVisible(bool vis);
|
||||
/*! Slot connected to popup menus of derived classes. Used to indicate whether this layer
|
||||
* should be shown or hidden in the map overview. */
|
||||
void showInOverview(bool);
|
||||
|
||||
signals:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user