QGIS/python/gui/auto_generated/qgsfeatureselectiondlg.sip.in

67 lines
2.0 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 );
%Docstring
Constructor for QgsFeatureSelectionDlg
%End
const QgsFeatureIds &selectedFeatures();
2017-05-23 14:44:34 +02:00
%Docstring
Gets the selected features
2017-12-15 10:36:55 -04:00
:return: The selected feature ids
2017-05-23 14:44:34 +02:00
%End
void setSelectedFeatures( const QgsFeatureIds &ids );
2017-05-23 14:44:34 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Set the selected features
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param ids: The feature ids to select
2017-05-23 14:44:34 +02:00
%End
protected:
virtual void showEvent( QShowEvent *event );
%Docstring
Make sure the dialog does not grow too much
%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 *
************************************************************************/