Skip to content
Permalink
Browse files

Convert cpp type to python type

  • Loading branch information
suricactus committed Jan 7, 2021
1 parent e786da8 commit 5d47b5d8f99571212552fae7a2f42621329c6bf4
@@ -242,6 +242,12 @@ It will only be instantiated by {:py:class:`QgsAbstractRelationEditorWidgetFacto

%TypeHeaderCode
#include "qgsabstractrelationeditorwidget.h"
%End
%ConvertToSubClassCode
if ( qobject_cast<QgsRelationEditorConfigWidget *>( sipCpp ) )
sipType = sipType_QgsRelationEditorConfigWidget;
else
sipType = 0;
%End
public:

@@ -288,6 +288,16 @@ class GUI_EXPORT QgsAbstractRelationEditorWidget : public QWidget
*/
class GUI_EXPORT QgsAbstractRelationEditorConfigWidget : public QWidget
{

#ifdef SIP_RUN
SIP_CONVERT_TO_SUBCLASS_CODE
if ( qobject_cast<QgsRelationEditorConfigWidget *>( sipCpp ) )
sipType = sipType_QgsRelationEditorConfigWidget;
else
sipType = 0;
SIP_END
#endif

Q_OBJECT
public:

0 comments on commit 5d47b5d

Please sign in to comment.
You can’t perform that action at this time.