<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi Raphael,</p>
<p>yes this is possible. But you will need to make your own custom
form with qt Designer (delivered with QGIS) and some python code.
A good starting point is the Blog from Nathan Woodrow, which is
for QGIS 2.x but the principle is almost the same. In the Python
scripts you should change the import statements to PyQt5 instead
of PyQt4:
<a class="moz-txt-link-freetext" href="https://woostuff.wordpress.com/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/">https://woostuff.wordpress.com/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/</a></p>
<p>also you will find a brief description on qgis.org:
<a class="moz-txt-link-freetext" href="https://docs.qgis.org/3.10/en/docs/training_manual/create_vector_data/forms.html#hard-fa-creating-a-new-form">https://docs.qgis.org/3.10/en/docs/training_manual/create_vector_data/forms.html#hard-fa-creating-a-new-form</a><br>
</p>
<pre class="moz-signature" cols="72">Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
---------------------------------------------
Einladung zum
Mapbender Anwendertreffen
online am 25.03.2021
<a class="moz-txt-link-freetext" href="https://mapbender.org">https://mapbender.org</a>
---------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany
Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11
<a class="moz-txt-link-abbreviated" href="mailto:stefan.giese@wheregroup.com">stefan.giese@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885</pre>
<div class="moz-cite-prefix">Am 09.02.2021 um 08:01 schrieb Raphael
d'Epagnier:<br>
</div>
<blockquote type="cite"
cite="mid:ZRAP278MB0063DC16A352A73CBA7BCCDE968E9@ZRAP278MB0063.CHEP278.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><a name="_Hlk58222935"
moz-do-not-send="true">Hello everyone<o:p></o:p></a></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935">I
have already asked a similar question on this topic and
received an answer that was very helpful and sufficient for
the previous project, but I still need additional help.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><span
lang="FR-CH">I have a point, line and area layer and an
attribute table with detailed information about the
respective geometry objects. In the attribute table,
several objects of the different geometry types (point,
line, area) can belong to the same object.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><span
lang="FR-CH"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><span
lang="FR-CH">The aim is that when I select a point, for
example, the information from the attribute table is
displayed (attribute table form opens instead of the point
table form).
</span>A view is not an option as the data in the form needs
to be editable. </span>
<span style="mso-bookmark:_Hlk58222935"><span lang="FR-CH">Is
it possible to add a button or double-click to retrieve
the information from the attribute table form? There is no
problem if this opens a separate form or the attribute
table form. I have attached a picture to explain my
problem.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><span
lang="FR-CH"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935">Thanks
for the help<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935">Best
regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935">Raphael<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_Hlk58222935"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;mso-fareast-language:DE-CH">--
<o:p></o:p></span></span></p>
<span style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span><span
style="mso-bookmark:_Hlk58222935"></span>
<table class="MsoNormalTable" style="border-collapse:collapse"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:20.55pt;padding:0cm 2.85pt 0cm 2.85pt"
width="27" valign="top">
<p class="MsoNormal"
style="text-align:right;text-autospace:none"
align="right"><span style="mso-bookmark:_Hlk58222935"><span
style="mso-fareast-language:DE-CH"><img
style="width:.1145in;height:.1145in"
id="Bild_x0020_1"
src="cid:part2.C7CF65EC.79B1F515@wheregroup.com"
alt="Image" class="" width="11" height="11"></span></span><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
<td style="width:428.05pt;padding:0cm 2.85pt 0cm 2.85pt"
width="571" valign="top">
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><b><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH">GeoplanTeam
AG<o:p></o:p></span></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH">Egliweg
6<o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH">CH-2560
Nidau<o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="width:20.55pt;padding:0cm 2.85pt 0cm 2.85pt"
width="27" valign="top">
<p class="MsoNormal"
style="text-align:right;text-autospace:none"
align="right"><span style="mso-bookmark:_Hlk58222935"><span
style="mso-fareast-language:DE-CH"><img
style="width:.1145in;height:.1145in"
id="Bild_x0020_2"
src="cid:part3.187E22BE.33C315AF@wheregroup.com"
alt="Image" class="" width="11" height="11"></span></span><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
<td style="width:428.05pt;padding:0cm 2.85pt 0cm 2.85pt"
width="571" valign="top">
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH">+41 (0)
32 332 78 00<o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="width:20.55pt;padding:0cm 2.85pt 0cm 2.85pt"
width="27" valign="top">
<p class="MsoNormal"
style="text-align:right;text-autospace:none"
align="right"><span style="mso-bookmark:_Hlk58222935"><span
style="mso-fareast-language:DE-CH"><img
style="width:.1145in;height:.1145in"
id="Bild_x0020_3"
src="cid:part4.5F439B8B.09812DB3@wheregroup.com"
alt="Image" class="" width="11" height="11"></span></span><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
<td style="width:428.05pt;padding:0cm 2.85pt 0cm 2.85pt"
width="571" valign="top">
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"></span><a
href="http://www.geoplanteam.ch/"
moz-do-not-send="true"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:#0563C1;mso-fareast-language:DE-CH">www.geoplanteam.ch</span></span><span
style="mso-bookmark:_Hlk58222935"></span></a><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="width:20.55pt;padding:0cm 2.85pt 0cm 2.85pt"
width="27" valign="top">
<p class="MsoNormal"
style="text-align:right;text-autospace:none"
align="right"><span style="mso-bookmark:_Hlk58222935"><span
style="mso-fareast-language:DE-CH"><img
style="width:.1145in;height:.1145in"
id="Bild_x0020_4"
src="cid:part6.6F89EBEE.1F821832@wheregroup.com"
alt="Image" class="" width="11" height="11"
border="0"></span></span><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
<td style="width:428.05pt;padding:0cm 2.85pt 0cm 2.85pt"
width="571" valign="top">
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"></span><a
href="mailto:raphael.depagnier@geoplanteam.ch"
moz-do-not-send="true"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:#0563C1;mso-fareast-language:DE-CH">raphael.depagnier@geoplanteam.ch</span></span><span
style="mso-bookmark:_Hlk58222935"></span></a><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:448.6pt;padding:0cm 2.85pt
0cm 2.85pt" width="598" valign="top">
<span style="mso-bookmark:_Hlk58222935"></span>
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH"><o:p> </o:p></span></span></p>
</td>
</tr>
<tr style="height:100.25pt">
<td colspan="2" style="width:448.6pt;padding:0cm 2.85pt
0cm 2.85pt;height:100.25pt" width="598" valign="top">
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-bookmark:_Hlk58222935"><span
style="mso-fareast-language:DE-CH"><img
style="width:5.9062in;height:1.3958in"
id="Bild_x0020_5"
src="cid:part8.3F7031F9.2FD8E865@wheregroup.com"
alt="Image" class="" width="567" height="134"
border="0"></span></span><span
style="mso-bookmark:_Hlk58222935"><span
style="font-size:10.0pt;font-family:"Century
Gothic",sans-serif;color:black;mso-fareast-language:DE-CH"><o:p></o:p></span></span></p>
</td>
</tr>
</tbody>
</table>
<span style="mso-bookmark:_Hlk58222935"></span>
<p class="MsoNormal"><span style="mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>