We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db8601 commit d218d0aCopy full SHA for d218d0a
python/core/qgsvectorlayer.sip
@@ -73,6 +73,13 @@ class QgsVectorLayer : QgsMapLayer
73
UuidGenerator, /* uuid generator - readonly and automatically intialized @added in 1.9 */
74
};
75
76
+ enum EditorLayout
77
+ {
78
+ GeneratedLayout,
79
+ TabLayout,
80
+ UiFileLayout,
81
+ };
82
+
83
struct RangeData
84
{
85
RangeData();
@@ -569,6 +576,12 @@ class QgsVectorLayer : QgsMapLayer
569
576
/**set edit type*/
570
577
void setEditType( int idx, EditType edit );
571
578
579
+ /**get editor layout**/
580
+ EditorLayout editorLayout();
581
582
+ /**set editor layout*/
583
+ void setEditorLayout( EditorLayout layout );
584
572
585
/** set string representing 'true' for a checkbox (added in 1.4) */
573
586
void setCheckedState( int idx, QString checked, QString notChecked );
574
587
0 commit comments