2014-01-05 14:50:07 +01:00
|
|
|
/***************************************************************************
|
|
|
|
qgsattributeforminterface.sip
|
|
|
|
--------------------------------------
|
|
|
|
Date : 12.5.2014
|
|
|
|
Copyright : (C) 2014 Matthias Kuhn
|
2015-08-30 12:59:30 +02:00
|
|
|
Email : matthias at opengis dot ch
|
2014-01-05 14:50:07 +01:00
|
|
|
***************************************************************************
|
|
|
|
* *
|
|
|
|
* 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 QgsAttributeFormInterface
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsattributeforminterface.h>
|
|
|
|
%End
|
|
|
|
public:
|
2017-05-01 16:42:33 +02:00
|
|
|
explicit QgsAttributeFormInterface( QgsAttributeForm *form );
|
2014-01-05 14:50:07 +01:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual bool acceptChanges( const QgsFeature &feature );
|
2014-01-05 14:50:07 +01:00
|
|
|
|
|
|
|
virtual void initForm();
|
|
|
|
|
|
|
|
virtual void featureChanged();
|
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsAttributeForm *form();
|
2014-01-05 14:50:07 +01:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
const QgsFeature &feature();
|
2014-01-05 14:50:07 +01:00
|
|
|
};
|