<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hey everyone, I am having a bit of a problem when trying to
display a jpg thumbnail image in a QTextEdit widget. I have a function that
builds an html string that has includes the image as well as some properties
regarding the image sequence that the thumbnail represents. Once the string has
been created I use the setHtml() method to set the string as the contents of
the QTextEdit. When I run my tool, I get all the text information, but a broken
image icon is displayed instead. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The part that mystifies me is that the html string I created
is based off of what worked in the Qt Designer when I made the ui, once I got a
stand in to look right I simply copied the source html and used it as the
foundation of my method. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The image or images in question are located on our file
server which is accessed in a typical UNC fashion, OS is WinXp x64. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The example source code that worked looked a bit like so:&#8220;/////bright1/shows/stu&#8230;
../myImage.jpg&#8221;. &nbsp;Which I tried in my code, but no workie. I&#8217;ve
tried &#8220;//bright1/shows&#8230;.&#8221;, &nbsp;&#8220;file://///bright1/shows..&#8221;,
&nbsp;even &#8220;/bright1/shows&#8230;.&#8221;, but it seams that no matter
what I try the image won&#8217;t show. So I am kind puzzled to why I can get a
picture to work in Designer, but when I try to get it to work at runtime of my
tool. It doesn&#8217;t.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Anyone have any ideas?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Greg<o:p></o:p></span></font></p>

</div>

</body>

</html>