QGIS/python/core/qgsfieldformatterregistry.sip

37 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-12-04 17:23:37 +01:00
/***************************************************************************
qgsfieldformatterregistry.sip - QgsFieldFormatterRegistry
2016-12-04 17:23:37 +01:00
---------------------
begin : 2.12.2016
copyright : (C) 2016 by Matthias Kuhn
email : matthias@opengis.ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
class QgsFieldFormatterRegistry : QObject
2016-12-04 17:23:37 +01:00
{
%TypeHeaderCode
#include "qgsfieldformatterregistry.h"
2016-12-04 17:23:37 +01:00
%End
public:
QgsFieldFormatterRegistry();
~QgsFieldFormatterRegistry();
2016-12-04 17:23:37 +01:00
void addFieldFormatter( QgsFieldFormatter* kit /Transfer/ );
2016-12-04 17:23:37 +01:00
void removeFieldFormatter( QgsFieldFormatter* kit );
2016-12-04 17:23:37 +01:00
QgsFieldFormatter* fieldKit( const QString& id ) const;
2016-12-04 17:23:37 +01:00
signals:
void fieldKitAdded( QgsFieldFormatter* kit );
2016-12-04 17:23:37 +01:00
void fieldKitRemoved( QgsFieldFormatter* kit );
2016-12-04 17:23:37 +01:00
};