<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
On my side, I generally direct the user to a website using:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span class="n" style="margin: 0px; padding: 0px; border: 0px;
color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono',
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 18px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">QDesktopServices</span><span class="p" style="margin: 0px;
padding: 0px; border: 0px; color: rgb(51, 51, 51); font-family:
Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 18px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">()</span><span class="o"
style="margin: 0px; padding: 0px; border: 0px; font-weight: bold;
color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono',
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; letter-spacing: normal; line-height: 18px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">.</span><span class="n" style="margin: 0px; padding: 0px;
border: 0px; color: rgb(51, 51, 51); font-family: Consolas,
'Liberation Mono', Courier, monospace; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 18px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">openUrl</span><span
class="p" style="margin: 0px; padding: 0px; border: 0px; color:
rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono',
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 18px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">(</span><span class="n" style="margin: 0px; padding: 0px;
border: 0px; color: rgb(51, 51, 51); font-family: Consolas,
'Liberation Mono', Courier, monospace; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 18px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">QUrl</span><span class="p"
style="margin: 0px; padding: 0px; border: 0px; color: rgb(51, 51,
51); font-family: Consolas, 'Liberation Mono', Courier, monospace;
font-size: 12px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: 18px;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">("<a class="moz-txt-link-freetext" href="http://">http://</a>.....))<br>
<br>
Cheers,<br>
<br>
Denis<br>
<br>
<br>
</span>
<div class="moz-cite-prefix">On 06/18/2013 02:36 AM, Ricardo Filipe
Soares Garcia da wrote:<br>
</div>
<blockquote
cite="mid:CAFcNcQZWr1v_RYymH1=wdQVga3dRdU+7MP7Ekw7+QsKpVPkfBg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi list<br>
<br>
</div>
What is the recommended way to show a help dialog in a
plugin?<br>
<br>
</div>
The pyqgis cookbook[1] advises using the
qgis.utils.showPluginHelp() function. However, this function
calls iface.openURL(), which logs a DeprecationWarning, so I
guess it should not be used anymore.<br>
<br>
</div>
Is there another recommended way?<br>
<div><br>
[1] - <a moz-do-not-send="true"
href="http://qgis.org/pyqgis-cookbook/plugins.html#documentation">http://qgis.org/pyqgis-cookbook/plugins.html#documentation</a><br
clear="all">
<div>
<div>
<div>
<br>
-- <br>
___________________________ ___ __<br>
Ricardo Garcia Silva
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
</body>
</html>