mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[composer] Fix display name for attribute table frames
This commit is contained in:
parent
456e971372
commit
10d75c0066
@ -44,6 +44,8 @@ class QgsComposerAttributeTableV2 : QgsComposerTableV2
|
||||
|
||||
QgsComposerAttributeTableV2( QgsComposition* composition /TransferThis/, bool createUndoCommands );
|
||||
~QgsComposerAttributeTableV2();
|
||||
|
||||
virtual QString displayName() const;
|
||||
|
||||
/**Writes properties specific to attribute tables
|
||||
* @param elem an existing QDomElement in which to store the attribute table's properties.
|
||||
|
@ -148,6 +148,11 @@ QgsComposerAttributeTableV2::~QgsComposerAttributeTableV2()
|
||||
{
|
||||
}
|
||||
|
||||
QString QgsComposerAttributeTableV2::displayName() const
|
||||
{
|
||||
return tr( "<attribute table>" );
|
||||
}
|
||||
|
||||
void QgsComposerAttributeTableV2::setVectorLayer( QgsVectorLayer* layer )
|
||||
{
|
||||
if ( layer == mVectorLayer )
|
||||
|
@ -66,6 +66,8 @@ class CORE_EXPORT QgsComposerAttributeTableV2: public QgsComposerTableV2
|
||||
QgsComposerAttributeTableV2( QgsComposition* composition, bool createUndoCommands );
|
||||
~QgsComposerAttributeTableV2();
|
||||
|
||||
virtual QString displayName() const;
|
||||
|
||||
/**Writes properties specific to attribute tables
|
||||
* @param elem an existing QDomElement in which to store the attribute table's properties.
|
||||
* @param doc QDomDocument for the destination xml.
|
||||
|
Loading…
x
Reference in New Issue
Block a user