mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
Pass widget as parent to the dialog to avoid "orphaned" child dialogs. The widget is passed as parent to QgsFeatureAction. When creating a dialog the widget is passed as parent to the dialog and the dialog is set as parent to the QgsFeatureAction (last like before). To avoid confusion with opened dialogs the parent's visibility is set to hidden, when child dialog is opened. This fixes #47193
53 lines
2.1 KiB
Plaintext
53 lines
2.1 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgstrackedvectorlayertools.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
class QgsTrackedVectorLayerTools : QgsVectorLayerTools
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgstrackedvectorlayertools.h"
|
|
%End
|
|
public:
|
|
|
|
QgsTrackedVectorLayerTools();
|
|
%Docstring
|
|
Constructor for QgsTrackedVectorLayerTools.
|
|
%End
|
|
|
|
virtual bool addFeature( QgsVectorLayer *layer, const QgsAttributeMap &defaultValues, const QgsGeometry &defaultGeometry, QgsFeature *feature, QWidget *parentWidget = 0, bool showModal = true, bool hideParent = false ) const;
|
|
|
|
virtual bool startEditing( QgsVectorLayer *layer ) const;
|
|
|
|
virtual bool stopEditing( QgsVectorLayer *layer, bool allowCancel ) const;
|
|
|
|
virtual bool saveEdits( QgsVectorLayer *layer ) const;
|
|
|
|
virtual bool copyMoveFeatures( QgsVectorLayer *layer, QgsFeatureRequest &request, double dx = 0, double dy = 0, QString *errorMsg = 0, const bool topologicalEditing = false, QgsVectorLayer *topologicalLayer = 0 ) const;
|
|
|
|
|
|
void setVectorLayerTools( const QgsVectorLayerTools *tools );
|
|
%Docstring
|
|
Set the vector layer tools that will be used to interact with the data
|
|
%End
|
|
|
|
void rollback();
|
|
%Docstring
|
|
Delete all features which have been added via this object.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgstrackedvectorlayertools.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|