mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
23 lines
657 B
Plaintext
23 lines
657 B
Plaintext
|
class QgsComposerTextTable: QgsComposerTable
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgscomposertexttable.h>
|
||
|
%End
|
||
|
public:
|
||
|
QgsComposerTextTable( QgsComposition* c );
|
||
|
~QgsComposerTextTable();
|
||
|
|
||
|
/** return correct graphics item type. Added in v1.7 */
|
||
|
virtual int type() const;
|
||
|
|
||
|
void setHeaderLabels( const QStringList& l );
|
||
|
void addRow( const QStringList& row );
|
||
|
|
||
|
bool writeXML( QDomElement& elem, QDomDocument & doc ) const;
|
||
|
bool readXML( const QDomElement& itemElem, const QDomDocument& doc );
|
||
|
|
||
|
protected:
|
||
|
// bool getFeatureAttributes( QList< QMap<int, QVariant> >& attributes );
|
||
|
QMap<int, QString> getHeaderLabels() const;
|
||
|
};
|