mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Add python bindings for setEditorLayout
This commit is contained in:
parent
7db8601503
commit
d218d0a69f
@ -73,6 +73,13 @@ class QgsVectorLayer : QgsMapLayer
|
||||
UuidGenerator, /* uuid generator - readonly and automatically intialized @added in 1.9 */
|
||||
};
|
||||
|
||||
enum EditorLayout
|
||||
{
|
||||
GeneratedLayout,
|
||||
TabLayout,
|
||||
UiFileLayout,
|
||||
};
|
||||
|
||||
struct RangeData
|
||||
{
|
||||
RangeData();
|
||||
@ -569,6 +576,12 @@ class QgsVectorLayer : QgsMapLayer
|
||||
/**set edit type*/
|
||||
void setEditType( int idx, EditType edit );
|
||||
|
||||
/**get editor layout**/
|
||||
EditorLayout editorLayout();
|
||||
|
||||
/**set editor layout*/
|
||||
void setEditorLayout( EditorLayout layout );
|
||||
|
||||
/** set string representing 'true' for a checkbox (added in 1.4) */
|
||||
void setCheckedState( int idx, QString checked, QString notChecked );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user