<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Brent,</p>
<p><br>
</p>
<p>Yes, I see what you mean. It that case, as it has been suggested
already, why not:</p>
<p><br>
</p>
<p>1: right-click layer in legend and:</p>
<p> <img src="cid:part1.3Cp7JjBP.0ZO6GF21@geoproc.com" alt=""></p>
<p><br>
</p>
<p>2: select only 'Form':</p>
<p> <img src="cid:part2.ssXqDkli.L5p1raNh@geoproc.com" alt=""></p>
<p> and save to a file (.qml)</p>
<p><br>
</p>
<p>3: style the other layers with that .qml file:</p>
<p> Right-click layer ---> Properties...</p>
<p> <img src="cid:part3.LA36f7Z0.qxcU8CXg@geoproc.com" alt=""></p>
<p><br>
</p>
<p>Would that be a solution for you?</p>
<p><br>
</p>
<p>Also, when you copy a style it is available even after you remove
the original layer and it can be pasted into another instance of
QGIS. But you need to be on the same computer and not use Ctrl-C
in the meantime...<br>
</p>
<p><br>
</p>
<p>Best regards,<br>
Benoit<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 21/06/2023 23:09, Brent Wood wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ME3PR01MB7077E383425B7004E085E00FA15DA@ME3PR01MB7077.ausprd01.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks, but that only lets me copy them from my existing layer.
If that layer is removed from a project, the form is lost.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I can't copy them to another computer and apply them to another
instance without copying the entire project, what I'd like to be
able to do is save/export/import the form, much like a QGIS
style can be saved to an XML file.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Is this possible?<br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment">
<div class="PlainText">Brent Wood<br>
<br>
Principal Technician, Fisheries<br>
NIWA<br>
DDI: +64 (4) 3860529</div>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b> info
<a class="moz-txt-link-rfc2396E" href="mailto:info@geoproc.com"><info@geoproc.com></a><br>
<b>Sent:</b> Wednesday, June 21, 2023 21:47<br>
<b>To:</b> Brent Wood <a class="moz-txt-link-rfc2396E" href="mailto:Brent.Wood@niwa.co.nz"><Brent.Wood@niwa.co.nz></a>;
<a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:qgis-user@lists.osgeo.org"><qgis-user@lists.osgeo.org></a><br>
<b>Subject:</b> Re: [Qgis-user] Saving QGIS attribute form?</font>
<div> </div>
</div>
<div>
<p>Hi Brent,</p>
<p><br>
</p>
<p>'Copy attributes' from your "form'ed" layer and 'paste
attributes' to your other layer(s) should work.</p>
<p><br>
</p>
<p>Regards,<br>
Benoit</p>
<p><br>
</p>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 21/06/2023 01:45, Brent Wood
via QGIS-User wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div class="x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I have created a data entry form for a Spatialite table
using the new functionality implemented by Nyall Dawson in
the dev version.</div>
<div class="x_elementToProof"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<img class="x_ContentPasted0 x_w-1600 x_h-902"
id="x_imageSelected0" size="105979"
style="max-width:100%; width:670.142px; height:378px"
data-outlook-trace="F:2|T:2"
src="cid:part4.LBcI35ZI.f0MHtvgO@geoproc.com"
width="670" height="378"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
It is for station data for fisheries surveys. This form
takes some time to create, and is linked to the QGIS layer
in the project file.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I'd like to be able to save the form & re-use it for
the same table in other, similar databases.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Can someone suggest how this can be done?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Thanks<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_Signature">
<div>
<div name="x_divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="x_BodyFragment">
<div class="x_PlainText">Brent Wood<br>
<br>
Principal Technician, Fisheries<br>
NIWA<br>
DDI: +64 (4) 3860529</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<br>
<table style="width:600px; font-size:8pt; font-family:Arial"
cellspacing="20">
<tbody>
<tr>
<td><a href="https://www.niwa.co.nz/"
moz-do-not-send="true"><img
src="https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png"
moz-do-not-send="true">
</a></td>
<td><span>Brent Wood <br>
<font color="#1793d2">Principal Technician - GIS and
Spatial Data Management</font><br>
<font color="#1793d2">Programme Leader -
Environmental Information Delivery</font><br>
+64-4-386-0529<br>
<br>
National Institute of Water & Atmospheric
Research Ltd (NIWA)<br>
301 Evans Bay Parade Hataitai Wellington New Zealand<br>
<b>Connect with NIWA:</b> <a
href="https://www.niwa.co.nz/"
moz-do-not-send="true">niwa.co.nz</a> <a
href="https://www.facebook.com/nzniwa"
originalsrc="https://www.facebook.com/nzniwa"
shash="gWmccmFQ6okPt2H8LrfVpsr9nTPvlo7pV4aP9FUhwqjeYgUozEPTQILgnD6L5VkMlBgRvhcEaTBzunhhsTE/5L2xdMvDn0JIGwXJRSKLlwXxqvCL7cZjeZUwTzjJHZJE4iCjL0+wafxx583Pg7cphzAYZ9pQM9Q7JfP7NiZmuCk="
moz-do-not-send="true">
Facebook</a> <a
href="https://www.linkedin.com/company/niwa"
originalsrc="https://www.linkedin.com/company/niwa"
shash="KDIv54GFf6r2qzvnvfr/C5f0HpQba1OQAxGCE9UyLJhxQwiuO6Tua6QrWmcjrcwoQGkls/lHwyVe63sZSb8ov/vxdUXeaZrJIARRUP/RdY5Rvi1CKRIaPYwCffcI/7mTzyDdQRbDeDiUE07KZ1vhMRP4M+DLJ/4rhbhfrkCGkj4="
moz-do-not-send="true">
LinkedIn</a> <a
href="https://twitter.com/niwa_nz"
originalsrc="https://twitter.com/niwa_nz"
shash="y3T0SspnRJ0hvYHUTJzKyHsBEySvdWVf4JtDglnX/YxDqZJV6wbxRuNKLr18r6nPlerZCHpKjPrcuiTKuSchPuBTnnvPw8vrFKS0YJt1rfhI0kmjXYA4W/01S2XBY3nv0Som9MwFB/R3gS2iv3jkskNce4Ihp/z2Ausahm7+p7I="
moz-do-not-send="true">
Twitter</a> <a
href="https://www.instagram.com/niwa_science"
originalsrc="https://www.instagram.com/niwa_science"
shash="sY9tqGL1XV2ZVUxYSoO7tFlBK3GiTkh0wdqGBfpDQ+A7eczDYNu4x87yfFec9cM3Xu6pGQ12YydjU1gOoHpz05OPNDIyqaBdsEguyYSeIxZNC7DBhx67kRfqUEqRbuvJ1oq3uRN+FKcFz90QXn+DzAz4+rwVAbQl6165HfzRSjQ="
moz-do-not-send="true">
Instagram</a> <a
href="https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A"
originalsrc="https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A"
shash="rbaMpgrhqa7PsyfrwBAef6TpW9J03yoqb8Z13O1GzvJWXj7iPansmJJ56+SgbW39qAx6vJJAKLhT1KxVrWDF40UhPe7qO9jX6mWAWs2Bmyp5A3G9Q8tE7wqS5gLX7IFcU39qD736FGuA8GUCUNLIqbuv9ogNQAT6pc0RAF6k5cU="
moz-do-not-send="true">
YouTube</a> </span>
<table style="width:500px">
<tbody>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<font size="1" face="Arial">To ensure compliance with legal
requirements and to maintain cyber security standards,
NIWA's IT systems are subject to ongoing monitoring,
activity logging and auditing. This monitoring and auditing
service may be provided by third parties. Such third parties
can access information transmitted to, processed by and
stored on NIWA's IT systems.
<br>
Note: This email is intended solely for the use of the
addressee and may contain information that is confidential
or subject to legal professional privilege. If you receive
this email in error please immediately notify the sender and
delete the email.
</font><br>
<fieldset class="x_moz-mime-attachment-header"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
QGIS-User mailing list
<a class="x_moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:QGIS-User@lists.osgeo.org" moz-do-not-send="true">QGIS-User@lists.osgeo.org</a>
List info: <a class="x_moz-txt-link-freetext moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" originalsrc="https://lists.osgeo.org/mailman/listinfo/qgis-user" shash="Ygpva+W14gz1S1fELZSv0ptqBpmrTSqu+UAFDSGp84mer08PcY2F4A0vZQeIS5EhoHY3E2I2CDDLuXPKgZLz6f1sMci/ydGdH5vB8PpZTetZcqYdNrqtumDsthjzncn0Vv/PdM6GNN3gRy3tEfUwPe7A981CK7Yg7k1MuSlE28c=" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="x_moz-txt-link-freetext moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" originalsrc="https://lists.osgeo.org/mailman/listinfo/qgis-user" shash="Ygpva+W14gz1S1fELZSv0ptqBpmrTSqu+UAFDSGp84mer08PcY2F4A0vZQeIS5EhoHY3E2I2CDDLuXPKgZLz6f1sMci/ydGdH5vB8PpZTetZcqYdNrqtumDsthjzncn0Vv/PdM6GNN3gRy3tEfUwPe7A981CK7Yg7k1MuSlE28c=" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</div>
</blockquote>
</body>
</html>