<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Qt Centre Forum - Qt Programming</title>
		<link>http://www.qtcentre.org/</link>
		<description>General more advanced Qt programming issues.</description>
		<language>en</language>
		<lastBuildDate>Wed, 19 Jun 2013 14:22:33 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>15</ttl>
		<image>
			<url>http://www.qtcentre.org/images/misc/rss.png</url>
			<title>Qt Centre Forum - Qt Programming</title>
			<link>http://www.qtcentre.org/</link>
		</image>
		<item>
			<title>copying the alpha channel</title>
			<link>http://www.qtcentre.org/threads/55052-copying-the-alpha-channel?goto=newpost</link>
			<pubDate>Wed, 19 Jun 2013 13:26:17 GMT</pubDate>
			<description><![CDATA[What is the fastest way to copy the alpha values of pixels between 2 images of the same dimensions? That is: 
 
<div class="bbcode_container"> 
	<div...]]></description>
			<content:encoded><![CDATA[<div>What is the fastest way to copy the alpha values of pixels between 2 images of the same dimensions? That is:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">copyAlphaChannel<span style="color: #000000;">&#40;</span>image1, image2<span style="color: #000000;">&#41;</span>;</div></li></ol></pre></code><hr />
</div><br />
where image1.size() == image2.size().</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>ugluk</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55052-copying-the-alpha-channel</guid>
		</item>
		<item>
			<title>How to use QColumnView with QSqlTableModel</title>
			<link>http://www.qtcentre.org/threads/55050-How-to-use-QColumnView-with-QSqlTableModel?goto=newpost</link>
			<pubDate>Wed, 19 Jun 2013 09:40:05 GMT</pubDate>
			<description><![CDATA[Hello, how I can use a QColumnView to display the items of a QSqlTableModel? 
 
For example, if I define something like this code: 
 
<div...]]></description>
			<content:encoded><![CDATA[<div>Hello, how I can use a <a class="bbcodeurl" href="http://qt-project.org/doc/qt-4.8/qcolumnview.html">QColumnView</a> to display the items of a <a class="bbcodeurl" href="http://qt-project.org/doc/qt-4.8/qsqltablemodel.html">QSqlTableModel</a>?<br />
<br />
For example, if I define something like this code:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://qt-project.org/doc/qt-4.8/qsqltablemodel.html"><span style="">QSqlTableModel</span></a> <span style="color: #000000;">*</span>model <span style="color: #000000;">=</span> <span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qsqltablemodel.html"><span style="">QSqlTableModel</span></a> ;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">model<span style="color: #000000;">-</span>&gt;setTable<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;dataBaseTable&quot;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">model<span style="color: #000000;">-</span>&gt;select<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">QColumnView <span style="color: #000000;">*</span>view <span style="color: #000000;">=</span> <span style="color: #009900;">new</span> QColumnView;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">view<span style="color: #000000;">-</span>&gt;setModel<span style="color: #000000;">&#40;</span>model<span style="color: #000000;">&#41;</span>;</div></li></ol></pre></code><hr />
</div><br />
I obtain the elements of the first column of the dataBaseTable in the left column of the view, but when I click one element in the view, how I can to see more elements in the next column view?<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>npascual</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55050-How-to-use-QColumnView-with-QSqlTableModel</guid>
		</item>
		<item>
			<title>cannot connect to UDP socket</title>
			<link>http://www.qtcentre.org/threads/55046-cannot-connect-to-UDP-socket?goto=newpost</link>
			<pubDate>Wed, 19 Jun 2013 06:08:01 GMT</pubDate>
			<description><![CDATA[I wrote this code to connect to the ip address of my own machine. bind returns true, though connect wouldn't prompt anything. I also run another...]]></description>
			<content:encoded><![CDATA[<div>I wrote this code to connect to the ip address of my own machine. bind returns true, though connect wouldn't prompt anything. I also run another program, using same ip and port but these two do not connect.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> UDP<span style="color: #000000;">::</span><span style="color: #009900;">UDPtInit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    socketPort <span style="color: #000000;">=</span> PORT;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    udpsocket <span style="color: #000000;">=</span> <span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qudpsocket.html"><span style="">QUdpSocket</span></a><span style="color: #000000;">&#40;</span><span style="color: #009900;">this</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">!</span>udpsocket<span style="color: #000000;">-</span>&gt;bind<span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qhostaddress.html"><span style="">QHostAddress</span></a><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;192.168.111.1&quot;</span><span style="color: #000000;">&#41;</span>,socketPort<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        qDebug<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &lt;&lt; <span style="color: #666666;">&quot;true&quot;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        qDebug<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &lt;&lt; <span style="color: #666666;">&quot;false&quot;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">connect</span><span style="color: #000000;">&#40;</span>udpsocket,<span style="color: #0000ff;">SIGNAL</span><span style="color: #000000;">&#40;</span>readyRead<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,<span style="color: #009900;">this</span>,<span style="color: #0000ff;">SLOT</span><span style="color: #000000;">&#40;</span>readState<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">connect</span><span style="color: #000000;">&#40;</span>udpsocket,<span style="color: #0000ff;">SIGNAL</span><span style="color: #000000;">&#40;</span>connected<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,<span style="color: #009900;">this</span>,<span style="color: #0000ff;">SLOT</span><span style="color: #000000;">&#40;</span>socketConnected<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">connect</span><span style="color: #000000;">&#40;</span>udpsocket,<span style="color: #0000ff;">SIGNAL</span><span style="color: #000000;">&#40;</span>error<span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qabstractsocket.html"><span style="">QAbstractSocket</span></a><span style="color: #000000;">::</span><span style="color: #009900;">SocketError</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,<span style="color: #009900;">this</span>,<span style="color: #0000ff;">SLOT</span><span style="color: #000000;">&#40;</span>socketError<span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qabstractsocket.html"><span style="">QAbstractSocket</span></a><span style="color: #000000;">::</span><span style="color: #009900;">SocketError</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    emit clientActive<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> UDP<span style="color: #000000;">::</span><span style="color: #009900;">socketError</span><span style="color: #000000;">&#40;</span> <a href="http://qt-project.org/doc/qt-4.8/qabstractsocket.html"><span style="">QAbstractSocket</span></a><span style="color: #000000;">::</span><span style="color: #009900;">SocketError</span> <span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    qDebug<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &lt;&lt; <span style="color: #666666;">&quot;UDPCLIENT ERROR: &quot;</span>&lt;&lt; udpsocket<span style="color: #000000;">-</span>&gt;errorString<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span>    UDP<span style="color: #000000;">::</span><span style="color: #009900;">socketConnected</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    qDebug<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &lt;&lt; <span style="color: #666666;">&quot;UDPCLIENT : Socket connected!&quot;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    emit clientLogMessage<span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qstring.html"><span style="">QString</span></a><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;UDPCLIENT : Connected !&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>saman_artorious</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55046-cannot-connect-to-UDP-socket</guid>
		</item>
		<item>
			<title>QtScriptEngine and QtScriptDebugger inquiry</title>
			<link>http://www.qtcentre.org/threads/55043-QtScriptEngine-and-QtScriptDebugger-inquiry?goto=newpost</link>
			<pubDate>Wed, 19 Jun 2013 03:05:37 GMT</pubDate>
			<description>Hello, 
 
I’ve been traying to make some implementation using QtScript and QScriptDebugger, but I wonder if ayone have information regarding the...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I’ve been traying to make some implementation using QtScript and QScriptDebugger, but I wonder if ayone have information regarding the following topic:<br />
<br />
When using the function attachTo() of QtScriptDebugger, in the documentation it says that it sets a “custom” QScriptAgent, to the ScriptEngine, and that if I would like to have more monitoring regarding my script execution I should create a Proxy Agent and fordward the required events to this “custom” Script Agent set by the ScriptDebugger to the ScriptEngine.<br />
<br />
So how can I make or implement this kind of proxy agent to forward the events? I think I get the main idea/concept behind this stuff, but I just can’t find any example or deeper information on the web and I haven’t figured it out yet, so that’s why I am asking for some help.<br />
<br />
Hopefully someone has some information regarding this topic!<br />
<br />
Thanks in advance!</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>Qnoobish</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55043-QtScriptEngine-and-QtScriptDebugger-inquiry</guid>
		</item>
		<item>
			<title>vlc-qt lib</title>
			<link>http://www.qtcentre.org/threads/55040-vlc-qt-lib?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 18:51:10 GMT</pubDate>
			<description>Hi, can anyone give me step by step solution of installing vlc-qt libary it can be staticly or dynamicly, i dont care. I tried google i will preciate...</description>
			<content:encoded><![CDATA[<div>Hi, can anyone give me step by step solution of installing vlc-qt libary it can be staticly or dynamicly, i dont care. I tried google i will preciate any help. I found in this site: <a class="bbcodeurl" href="http://projects.tano.si/" target="_blank">http://projects.tano.si/</a> libary and i added .h files but compiler gives me error: undefined reference to `_imp___ZN14VlcMediaPlayerC1EP11VlcInstance, so i think i dont have .dll files, but i dont know how to get them and where to put. i'm using windows and qt creator.</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>postep</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55040-vlc-qt-lib</guid>
		</item>
		<item>
			<title><![CDATA[Transparency doesn't work in building Qt from sources]]></title>
			<link>http://www.qtcentre.org/threads/55037-Transparency-doesn-t-work-in-building-Qt-from-sources?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 13:31:39 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I've encountered a problem in building a simple application using Qt 4.8.4 (built statically) and Linux Mint 14. 
 
<div...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I've encountered a problem in building a simple application using Qt 4.8.4 (built statically) and Linux Mint 14.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;QApplication&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339900;">#include &lt;QLabel&gt;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">int</span> main<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span> <span style="color: #000000;">*</span>argv<span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <a href="http://qt-project.org/doc/qt-4.8/qapplication.html"><span style="">QApplication</span></a> a<span style="color: #000000;">&#40;</span>argc, argv<span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <a href="http://qt-project.org/doc/qt-4.8/qlabel.html"><span style="">QLabel</span></a> label<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;label&quot;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    label.<span style="color: #009900;">setAttribute</span><span style="color: #000000;">&#40;</span>Qt<span style="color: #000000;">::</span><span style="color: #009900;">WA_TranslucentBackground</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    label.<span style="color: #009900;">setFixedSize</span><span style="color: #000000;">&#40;</span><span style="color: #0000dd;">400</span>,<span style="color: #0000dd;">400</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    label.<span style="color: #009900;">show</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">return</span> a.<span style="color: #009900;">exec</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code><hr />
</div>In my linux distribution I've enabled compositing and I've installed Qt Creator and the previous version of Qt libraries (4.8.3) from the repositories.<br />
Using this version I don't have any problem with transparency, the label is shown as expected, but if I want to build statically my application using the 4.8.4 version, the background color is black.<br />
<br />
I've tried to change the style using QApplication::setStyle(...) or using another Qt libraries version (4.8.2) built statically, but I was not able to solve the problem.<br />
If anybody has any idea, please help me.<br />
Thanks in advance</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>AspiringEngineer</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55037-Transparency-doesn-t-work-in-building-Qt-from-sources</guid>
		</item>
		<item>
			<title>Creating Custom Arrow for label</title>
			<link>http://www.qtcentre.org/threads/55036-Creating-Custom-Arrow-for-label?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 13:21:48 GMT</pubDate>
			<description><![CDATA[Label within class 
I can change the cursor icon from the  Qt ui dropdown list. 
 
I'm trying to add my own cursor a "circumpunct" 
This is what I...]]></description>
			<content:encoded><![CDATA[<div>Label within class<br />
I can change the cursor icon from the  Qt ui dropdown list.<br />
<br />
I'm trying to add my own cursor a &quot;circumpunct&quot;<br />
This is what I got:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">setOverrideCursor<span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qcursor.html"><span style="">QCursor</span></a><span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qpixmap.html"><span style="">QPixmap</span></a><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;CircumpunctCursor.bmp&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li></ol></pre></code><hr />
</div><br />
<b>Not sure where to place the code?</b><br />
&amp; is the code correct?<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>ebsaith</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55036-Creating-Custom-Arrow-for-label</guid>
		</item>
		<item>
			<title>Qt and GTK performance</title>
			<link>http://www.qtcentre.org/threads/55035-Qt-and-GTK-performance?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 13:14:07 GMT</pubDate>
			<description>Hi, 
 
        I am drawing an underlay and overlay pixmaps and compositing the layers on to a window. I have two different codes using Qt and GTK....</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
        I am drawing an underlay and overlay pixmaps and compositing the layers on to a window. I have two different codes using Qt and GTK. My system configuration is;<br />
<br />
        OS - RHEL 6.0<br />
        Graphics card - Nvidia GeForce GTX650Ti<br />
        Qt Version - 4.8.4<br />
<br />
        The composite time of the pixmaps in Qt is more than GTK.Even the CPU load is more<br />
<br />
              CPU LOAD     Draw Time    Composite Time      Total Time<br />
 <br />
Qt-4.8.4   29 %	        1.00 ms	  12.410 ms	             13.410 ms <br />
<br />
GTK	      1 – 2 %	0.04 ms	   0.00 ms	             0.04 ms<br />
<br />
<br />
<br />
          Kindly suggest the solution. How to increase the performance in Qt?<br />
<br />
Thanks ,<br />
Anu</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>A9am</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55035-Qt-and-GTK-performance</guid>
		</item>
		<item>
			<title>Keeping points displayed as new ones created</title>
			<link>http://www.qtcentre.org/threads/55033-Keeping-points-displayed-as-new-ones-created?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 11:41:35 GMT</pubDate>
			<description>Good Day, 
 
I made a simple program that creates 2 points based on mouse click position and draws lines between them 
Since it happens several times...</description>
			<content:encoded><![CDATA[<div>Good Day,<br />
<br />
I made a simple program that creates 2 points based on mouse click position and draws lines between them<br />
Since it happens several times new points are created and new lines are drawn.... Works fine all points are saved in an array<br />
<br />
My problem is after line drawn between two points, when user clicks a new point for a new line<br />
the old line/old points disappear.<br />
<br />
How do i keep the points displayed all the time</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>ebsaith</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55033-Keeping-points-displayed-as-new-ones-created</guid>
		</item>
		<item>
			<title>how to make updateGL() realtime in QT</title>
			<link>http://www.qtcentre.org/threads/55028-how-to-make-updateGL()-realtime-in-QT?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 10:13:54 GMT</pubDate>
			<description>I wonder if calling updateGL() in fixed timer intervals may slow down the rendering process. So, I want to try making the render real time. I do not...</description>
			<content:encoded><![CDATA[<div>I wonder if calling updateGL() in fixed timer intervals may slow down the rendering process. So, I want to try making the render real time. I do not the function to make it execute automatically. Anyone knows that?</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>saman_artorious</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55028-how-to-make-updateGL()-realtime-in-QT</guid>
		</item>
		<item>
			<title>connecting Pop up Menu List to actions/functions</title>
			<link>http://www.qtcentre.org/threads/55023-connecting-Pop-up-Menu-List-to-actions-functions?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 08:01:08 GMT</pubDate>
			<description>Thanks.... Solved :)</description>
			<content:encoded><![CDATA[<div>Thanks.... Solved :)</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>ebsaith</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55023-connecting-Pop-up-Menu-List-to-actions-functions</guid>
		</item>
		<item>
			<title>QVideoWidget on macos blocks application, need help.</title>
			<link>http://www.qtcentre.org/threads/55022-QVideoWidget-on-macos-blocks-application-need-help?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 07:57:23 GMT</pubDate>
			<description>Hi, 
 
I have a strange problem with a macos X build, each time I instantiate a QVideoWidget many control elements in the GUI stops working,...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have a strange problem with a macos X build, each time I instantiate a QVideoWidget many control elements in the GUI stops working, especially tree controls.<br />
<br />
I noticed that than the application outputs: <br />
QBackingStore::flush() called with non-exposed window, behavior is undefined<br />
<br />
on windows and linux this problem does not occurs.<br />
<br />
I'm using qt 5.0.2 <br />
<br />
<br />
does anyone head a seminar issue and may be know how to fix it?</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>DavidXanatos</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55022-QVideoWidget-on-macos-blocks-application-need-help</guid>
		</item>
		<item>
			<title>Right Click pop up menu .Not Working</title>
			<link>http://www.qtcentre.org/threads/55021-Right-Click-pop-up-menu-Not-Working?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 07:22:01 GMT</pubDate>
			<description><![CDATA[Good Day, 
 
Created a signal in a subclass(qlabel) 
connected it to slot in mainWindow class(main) 
 
This is my code: 
qlabel.h 
<div...]]></description>
			<content:encoded><![CDATA[<div>Good Day,<br />
<br />
Created a signal in a subclass(qlabel)<br />
connected it to slot in mainWindow class(main)<br />
<br />
This is my code:<br />
qlabel.h<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">signals</span><span style="color: #000000;">:</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #0000ff;">void</span> popUpMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></li></ol></pre></code><hr />
</div>qlabel.cpp<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> qlabel<span style="color: #000000;">::</span><span style="color: #009900;">mousePressEvent</span><span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qmouseevent.html"><span style="">QMouseEvent</span></a> <span style="color: #000000;">*</span>ev<span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #0000ff;">if</span><span style="color: #000000;">&#40;</span>ev<span style="color: #000000;">-</span>&gt;button<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">==</span>Qt<span style="color: #000000;">::</span><span style="color: #009900;">RightButton</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        emit popUpMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">...</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code><hr />
</div>main.cpp<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">connect</span><span style="color: #000000;">&#40;</span>ui<span style="color: #000000;">-</span>&gt;label2, <span style="color: #0000ff;">SIGNAL</span><span style="color: #000000;">&#40;</span>popUpMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, <span style="color: #009900;">this</span>, <span style="color: #0000ff;">SLOT</span><span style="color: #000000;">&#40;</span>slPopUpMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">...</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> MainWindow<span style="color: #000000;">::</span><span style="color: #009900;">slPopUpMenu</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://qt-project.org/doc/qt-4.8/qmenu.html"><span style="">QMenu</span></a> <span style="color: #000000;">*</span>newMenu <span style="color: #000000;">=</span> <span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qmenu.html"><span style="">QMenu</span></a><span style="color: #000000;">&#40;</span><span style="color: #009900;">this</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">newMenu<span style="color: #000000;">-</span>&gt;addAction<span style="color: #000000;">&#40;</span><span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qaction.html"><span style="">QAction</span></a><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;do this&quot;</span>, <span style="color: #009900;">this</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">newMenu<span style="color: #000000;">-</span>&gt;addAction<span style="color: #000000;">&#40;</span><span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qaction.html"><span style="">QAction</span></a><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;do that&quot;</span>, <span style="color: #009900;">this</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">newMenu<span style="color: #000000;">-</span>&gt;addAction<span style="color: #000000;">&#40;</span><span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qaction.html"><span style="">QAction</span></a><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Cancel&quot;</span>, <span style="color: #009900;">this</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">newMenu<span style="color: #000000;">-</span>&gt;exec<span style="color: #000000;">&#40;</span>newMenu, <a href="http://qt-project.org/doc/qt-4.8/qcursor.html"><span style="">QCursor</span></a><span style="color: #000000;">::</span><span style="color: #009900;">pos</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code><hr />
</div><br />
receiving multiple errors with this code!<br />
Where am I going wrong?<br />
<br />
thanks<br />
<br />
<div style="padding: 0px;">
<hr style="height: 1px; background-color: rgb(196,196,196); border: 0; margin-bottom: 2px; display: block;" /><i>Added after 9 minutes:</i>
</div><br />
<br />
Not to worry... Solved<br />
Should have been patient before posting problem -&gt; myBad<br />
<br />
Solution was in main.cpp<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">newMenu<span style="color: #000000;">-</span>&gt;exec<span style="color: #000000;">&#40;</span><a href="http://qt-project.org/doc/qt-4.8/qcursor.html"><span style="">QCursor</span></a><span style="color: #000000;">::</span><span style="color: #009900;">pos</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;</div></li></ol></pre></code><hr />
</div><br />
Kind Regards<br />
<br />
<b><font color="#0000FF">New Prob:<br />
Any ideas/threads out there on how to perform a function once user clicks an action on the pop up menu</font></b><br />
<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>ebsaith</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55021-Right-Click-pop-up-menu-Not-Working</guid>
		</item>
		<item>
			<title><![CDATA[QWidget over current widget - it's in place, but not painted]]></title>
			<link>http://www.qtcentre.org/threads/55019-QWidget-over-current-widget-it-s-in-place-but-not-painted?goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 00:16:41 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I just created simple "QMainWindow" application, just from QtCreator New Project wizard. I've added two push buttons into center widget, then...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I just created simple &quot;QMainWindow&quot; application, just from QtCreator New Project wizard. I've added two push buttons into center widget, then each of them connected (clicked() signal) with slots:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><pre class="qt" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> MainWindow<span style="color: #000000;">::</span><span style="color: #009900;">on_pushButton_clicked</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    w <span style="color: #000000;">=</span> <span style="color: #009900;">new</span> <a href="http://qt-project.org/doc/qt-4.8/qwidget.html"><span style="">QWidget</span></a><span style="color: #000000;">&#40;</span><span style="color: #009900;">this</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    w<span style="color: #000000;">-</span>&gt;move<span style="color: #000000;">&#40;</span><span style="color: #0000dd;">0</span>, <span style="color: #0000dd;">0</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    w<span style="color: #000000;">-</span>&gt;setFixedSize<span style="color: #000000;">&#40;</span><span style="color: #0000dd;">50</span>, <span style="color: #0000dd;">200</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    w<span style="color: #000000;">-</span>&gt;setVisible<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">true</span><span style="color: #000000;">&#41;</span>;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">void</span> MainWindow<span style="color: #000000;">::</span><span style="color: #009900;">on_pushButton_2_clicked</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #009900;">delete</span> w;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div></li></ol></pre></code><hr />
</div><br />
What bothers me is that after pressing button1, widget is created and resized as expected, but it's not painted at all. I mean I see that the widget is there, because it covers left part of the upper push button, therefore the pushbutton doesn't light-up on mouse over event, but when I move mouse right the pushbutton lights up. But... the widget itself is not painted at all, like it was transparent :(<br />
<br />
What am I missing here? Shouldn't the widget paint itself as empty rectangle, instead of transparent one?</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>googie</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55019-QWidget-over-current-widget-it-s-in-place-but-not-painted</guid>
		</item>
		<item>
			<title>NCreport on qt 5.0.1</title>
			<link>http://www.qtcentre.org/threads/55016-NCreport-on-qt-5-0-1?goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 18:49:01 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm altmost new to qt environment. I'm working on an applicaiton using qt 5.0.1 and ncreport build for this version(last one). I have an issue...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm altmost new to qt environment. I'm working on an applicaiton using qt 5.0.1 and ncreport build for this version(last one). I have an issue at link phase when I use in the application this line of code:<br />
<br />
 NCReportPreviewWindow * pv = new NCReportPreviewWindow();<br />
<br />
The link problem is that the implementation for <br />
    virtual void activatePrint();<br />
    virtual void activatePdf();<br />
    virtual void activateSvg();<br />
<br />
is not found. Does anybody get the same issue? I double checked if the lib in .pro is pointing to the path where the ncreport is installed. At first sight the NCReportDebug2.lib does not contain the implementation of the above functions.<br />
<br />
Thanks,<br />
Geanni</div>

]]></content:encoded>
			<category domain="http://www.qtcentre.org/forums/2-Qt-Programming">Qt Programming</category>
			<dc:creator>geanni</dc:creator>
			<guid isPermaLink="true">http://www.qtcentre.org/threads/55016-NCreport-on-qt-5-0-1</guid>
		</item>
	</channel>
</rss>
