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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-01 10:04:20 +01:00
|
|
|
|
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
|
|
|
|
|
2015-12-01 10:04:20 +01:00
|
|
|
class QgsFeatureSelectionDlg : QDialog
|
|
|
|
{
|
2017-05-23 14:44:34 +02:00
|
|
|
|
2015-12-01 10:04:20 +01: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;
|
2015-12-01 10:04:20 +01:00
|
|
|
%End
|
|
|
|
public:
|
2017-05-01 16:42:33 +02:00
|
|
|
explicit QgsFeatureSelectionDlg( QgsVectorLayer *vl, QgsAttributeEditorContext &context, QWidget *parent /TransferThis/ = 0 );
|
2015-12-01 10:04:20 +01:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
const QgsFeatureIds &selectedFeatures();
|
2017-05-23 14:44:34 +02:00
|
|
|
%Docstring
|
|
|
|
Get the selected features
|
|
|
|
|
|
|
|
:return: The selected feature ids
|
|
|
|
:rtype: QgsFeatureIds
|
|
|
|
%End
|
2015-12-01 10:04:20 +01:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
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
|
|
|
|
|
2015-12-01 10:04:20 +01:00
|
|
|
};
|
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 *
|
|
|
|
************************************************************************/
|