<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Well, I can't provide screenshots, so I'll try to detail what I did:<br>
<br>
With QGIS source, in Qt Creator:<br>
<br>
* File->New->Qt Designer Form Class<br>
<br>
* I chose the template to be a QGroupBox.<br>
<br>
* Hence, I got my header/source/desgin files.<br>
<br>
* I entered the design mode for my ui file<br>
<br>
* Right click on the root object (MyGroupBox) -> promoted widgets<br>
<br>
* QgsCollapsibleGroupBox is already loaded but I can't promote<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 25. 04. 14 07:58, Nathan Woodrow
wrote:<br>
</div>
<blockquote
cite="mid:CAAi8Yg9UTEUUL-E5tieits80B623yJnxLVsa=9YDjmiJRNjzNA@mail.gmail.com"
type="cite">
<p dir="ltr">We might need some more details and screenshots.</p>
<div class="gmail_quote">On 25/04/2014 3:58 pm, "Denis Rouzaud"
<<a moz-do-not-send="true"
href="mailto:denis.rouzaud@gmail.com">denis.rouzaud@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have a small question regarding promoting widgets.<br>
I created a custom UI class based on a QGroupBox.<br>
It seems I can't promote my custom group box to be a
QgsCollapsibleGroupBox.<br>
<br>
Is this not possible for root element?<br>
<br>
Cheers,<br>
<br>
Denis<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>