mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
Initial implementation
This commit is contained in:
parent
842753e341
commit
3d20081f93
@ -1790,7 +1790,7 @@ bool QgsVectorLayer::readSymbology( const QDomNode& node, QString& errorMessage
|
||||
QDomNode editFormInitUseCodeNode = node.namedItem( "editforminitusecode" );
|
||||
if ( !editFormInitCodeNode.isNull() )
|
||||
{
|
||||
mEditFormInitUseCode = (bool) editFormInitUseCodeNode.toElement().text().toInt();
|
||||
mEditFormInitUseCode = ( bool ) editFormInitUseCodeNode.toElement().text().toInt();
|
||||
}
|
||||
|
||||
QDomNode fFSuppNode = node.namedItem( "featformsuppress" );
|
||||
@ -2056,7 +2056,7 @@ bool QgsVectorLayer::writeSymbology( QDomNode& node, QDomDocument& doc, QString&
|
||||
node.appendChild( efiField );
|
||||
|
||||
QDomElement efiucField = doc.createElement( "editforminitusecode" );
|
||||
efiucField.appendChild( doc.createTextNode( mEditFormInitUseCode ? "1" : "0") );
|
||||
efiucField.appendChild( doc.createTextNode( mEditFormInitUseCode ? "1" : "0" ) );
|
||||
node.appendChild( efiucField );
|
||||
|
||||
QDomElement eficField = doc.createElement( "editforminitcode" );
|
||||
|
@ -1638,10 +1638,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
|
||||
void setEditFormInit( const QString& function );
|
||||
|
||||
/** Set python code for edit form initialization */
|
||||
void setEditFormInitCode( const QString& code);
|
||||
void setEditFormInitCode( const QString& code );
|
||||
|
||||
/** Set python code for edit form initialization */
|
||||
void setEditFormInitUseCode( const bool useCode);
|
||||
void setEditFormInitUseCode( const bool useCode );
|
||||
|
||||
/**
|
||||
* Access value map
|
||||
@ -1801,7 +1801,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
|
||||
*/
|
||||
QgsConditionalLayerStyles *conditionalStyles() const;
|
||||
|
||||
public slots:
|
||||
public slots:
|
||||
/**
|
||||
* Select feature by its ID
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user