QGIS/python/gui/qgsfeatureselectiondlg.sip

57 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-05-23 14:44:34 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsfeatureselectiondlg.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2017-05-24 10:26:03 +02:00
// This is required for the ConvertToSubClassCode to work properly
// so RTTI for casting is available in the whole module.
%ModuleCode
#include "qgsfeatureselectiondlg.h"
%End
class QgsFeatureSelectionDlg : QDialog
{
2017-05-23 14:44:34 +02:00
%TypeHeaderCode
#include "qgsfeatureselectiondlg.h"
%End
%ConvertToSubClassCode
2017-05-23 14:44:34 +02:00
if ( qobject_cast<QgsFeatureSelectionDlg *>( sipCpp ) )
sipType = sipType_QgsFeatureSelectionDlg;
else
sipType = 0;
%End
public:
explicit QgsFeatureSelectionDlg( QgsVectorLayer *vl, QgsAttributeEditorContext &context, QWidget *parent /TransferThis/ = 0 );
const QgsFeatureIds &selectedFeatures();
2017-05-23 14:44:34 +02:00
%Docstring
Get the selected features
:return: The selected feature ids
:rtype: QgsFeatureIds
%End
void setSelectedFeatures( const QgsFeatureIds &ids );
2017-05-23 14:44:34 +02:00
%Docstring
Set the selected features
\param ids The feature ids to select
%End
};
2017-05-23 14:44:34 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsfeatureselectiondlg.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/