<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MVC Frameworks, PHP Frameworks, CodeIgniter, QT4 - My Experience, Tips ,Tricks, Tweaks, Codes and much more... : MVC{model-view-controller} Logic &#187; QT</title>
	<atom:link href="http://mvclogic.com/category/qt/feed/" rel="self" type="application/rss+xml" />
	<link>http://mvclogic.com</link>
	<description>Code Hungry</description>
	<lastBuildDate>Sat, 03 Apr 2010 16:15:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Removing MinGW dll dependencies in QT Static linking</title>
		<link>http://mvclogic.com/qt/removing-mingw-dll-dependencies-in-qt-static-linking/</link>
		<comments>http://mvclogic.com/qt/removing-mingw-dll-dependencies-in-qt-static-linking/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 16:14:58 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[MinGW dll]]></category>
		<category><![CDATA[QT Static linking]]></category>
		<category><![CDATA[Removing]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=183</guid>
		<description><![CDATA[libgcc_s_dw2-1.dll
Passing -static-libgcc will remove this dependency for all languages other than C.
Note: C++ exceptions depends on this option.
mingwm10.dll
Remove -mthreads option from your makefile.
Note: Multithreading and C++ exceptions depends on this option.
]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/removing-mingw-dll-dependencies-in-qt-static-linking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use QColor from getColor on QLabel and QTextbox</title>
		<link>http://mvclogic.com/qt/use-qcolor-from-getcolor-on-qlabel-and-qtextbox/</link>
		<comments>http://mvclogic.com/qt/use-qcolor-from-getcolor-on-qlabel-and-qtextbox/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:57:00 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[from getColor]]></category>
		<category><![CDATA[on QLabel]]></category>
		<category><![CDATA[QTextbox]]></category>
		<category><![CDATA[Use QColor]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=157</guid>
		<description><![CDATA[
//To use color on text and label 
//Simple sample :)
QColor color = QColorDialog::getColor&#40;QColor&#40;ui-&#62;backgroundColorPickerText-&#62;text&#40;&#41;&#41;, this&#41;;
   if&#40;color.isValid&#40;&#41;&#41;
    &#123;
&#160;
        QPixmap pix&#40;21, 21&#41;;
        pix.fill&#40;color&#41;;
&#160;
        ui-&#62;backgroundColorPickerLabel-&#62;setPixmap&#40;pix&#41;;
        ui-&#62;backgroundColorPickerText-&#62;setText&#40;color.name&#40;&#41;&#41;;
 [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/use-qcolor-from-getcolor-on-qlabel-and-qtextbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>create a custom dialog box with multi line input in qt</title>
		<link>http://mvclogic.com/qt/create-a-custom-dialog-box-with-multi-line-input-in-qt/</link>
		<comments>http://mvclogic.com/qt/create-a-custom-dialog-box-with-multi-line-input-in-qt/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:47:04 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[create a custom dialog box with]]></category>
		<category><![CDATA[multi line input in]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=155</guid>
		<description><![CDATA[
//create a custom dialog box with multi line input
void MainWindow::createMultilineInput&#40;&#41;
&#123;
//class variable    
dlgMultiLine =    new QDialog&#40;this&#41;;
&#160;
//local variable
    QGridLayout *gridLayout = new QGridLayout&#40;dlgMultiLine&#41;;
&#160;
//class variable
    txtMultiline = new QPlainTextEdit&#40;&#41;;
&#160;
    txtMultiline-&#62;setObjectName&#40;QString::fromUtf8&#40;&#34;txtMultiline&#34;&#41;&#41;;
    gridLayout-&#62;addWidget&#40;txtMultiline, 0, 0, 1, 1&#41;;
    QDialogButtonBox *buttonBox [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/create-a-custom-dialog-box-with-multi-line-input-in-qt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>show data in external window with custom widget in qt</title>
		<link>http://mvclogic.com/qt/show-data-in-external-window-with-custom-widget-in-qt/</link>
		<comments>http://mvclogic.com/qt/show-data-in-external-window-with-custom-widget-in-qt/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:42:52 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[custom widget]]></category>
		<category><![CDATA[external window]]></category>
		<category><![CDATA[QT 4]]></category>
		<category><![CDATA[show data]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=153</guid>
		<description><![CDATA[Sometime you need to show data in external window with custom widget(s). This little code will help you.

function showCustomWidget&#40;&#41; &#123;
&#160;
 QDialog *dlgMultiLine =    new QDialog&#40;&#41;;
 QGridLayout *gridLayout = new QGridLayout&#40;dlgMultiLine&#41;;
 QPlainTextEdit *txtMultiline = new QPlainTextEdit&#40;&#41;;
&#160;
 txtMultiline-&#62;setPlainText&#40;this-&#62;toPlainText&#40;&#41;&#41;;
&#160;
 gridLayout-&#62;addWidget&#40;txtMultiline, 0, 0, 1, 1&#41;;
 dlgMultiLine-&#62;show&#40;&#41;;
&#160;
&#125;

]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/show-data-in-external-window-with-custom-widget-in-qt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>getting all files from subdirectories recursively with c using qt framework/</title>
		<link>http://mvclogic.com/qt/getting-all-files-from-subdirectories-recursively-with-c-using-qt-framework/</link>
		<comments>http://mvclogic.com/qt/getting-all-files-from-subdirectories-recursively-with-c-using-qt-framework/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:36:27 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=151</guid>
		<description><![CDATA[
// Display a dialog to the user to choose his music directory
      QString directory_path = QFileDialog::getExistingDirectory&#40;this, tr&#40;&#34;Select your music directory&#34;&#41;, QDir::currentPath&#40;&#41;&#41;;
&#160;
     // Then create an instance of our QDirIterator, which takes as parameters
     // the directory, a QDir filter and an option [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/getting-all-files-from-subdirectories-recursively-with-c-using-qt-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create single instance application in Qt 4 : Qt Tip #1</title>
		<link>http://mvclogic.com/qt/create-single-instance-application-in-qt-4-qt-tip-1/</link>
		<comments>http://mvclogic.com/qt/create-single-instance-application-in-qt-4-qt-tip-1/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 06:02:08 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Create]]></category>
		<category><![CDATA[QT 4]]></category>
		<category><![CDATA[single instance]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=114</guid>
		<description><![CDATA[
Many times we want only single instance of application. How can we achieve this. I&#8217;m going to show a simple way to achieve this.
We need a Utility that is freely provided by Qt guys . Click here to know more qtsingleapplication
Download zip version of this utility from here
Extract file from zip into your project folder. [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/create-single-instance-application-in-qt-4-qt-tip-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simulate a Key event press/release in QT 4</title>
		<link>http://mvclogic.com/qt/simulate-a-key-event-pressrelease-in-qt-4/</link>
		<comments>http://mvclogic.com/qt/simulate-a-key-event-pressrelease-in-qt-4/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 08:14:20 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[Key event]]></category>
		<category><![CDATA[keySimulate]]></category>
		<category><![CDATA[press]]></category>
		<category><![CDATA[QT 4]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://aquireknowledge.com/codemanager/?p=54</guid>
		<description><![CDATA[

QApplication::sendEvent&#40;this, new QKeyEvent
      &#40;QEvent::KeyPress, Qt::Key_Dead_Diaeresis, Qt::NoModifier, QString&#40;&#34;¨&#34;&#41;&#41;&#41;;
&#160;
//Another way I guess easy to understand :) 
//Although both are same
QKeyEvent keyEvent&#40;QEvent::KeyPress,Qt::Key_Escape, Qt::NoModifier&#41;;
QApplication::sendEvent&#40;this, &#38;keyEvent&#41;;

]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/simulate-a-key-event-pressrelease-in-qt-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt Code Example: New File &#124;  Open File &#124; Save File &#124; Save as File &#124; File Print &#124; Print Preview &#124; File Print Preview &#124; Print Preview</title>
		<link>http://mvclogic.com/qt/qt-code-example-new-file-open-file-save-file-save-as-file-file-print-print-preview-file-print-preview-print-preview/</link>
		<comments>http://mvclogic.com/qt/qt-code-example-new-file-open-file-save-file-save-as-file-file-print-print-preview-file-print-preview-print-preview/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 11:36:21 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[File Print]]></category>
		<category><![CDATA[File Print Preview]]></category>
		<category><![CDATA[New File]]></category>
		<category><![CDATA[Open File]]></category>
		<category><![CDATA[Print Preview]]></category>
		<category><![CDATA[Save as File]]></category>
		<category><![CDATA[Save File]]></category>

		<guid isPermaLink="false">http://aquireknowledge.com/codemanager/?p=13</guid>
		<description><![CDATA[
These are few code snippet taken from Qt examples.
I&#8217;m making easier to look for particular functions. That&#8217;s it   .
New File
Open File
Save File
Save as File
File Print
Print Preview
File Print Preview
Print Preview
Save as PDF

&#160;
void TextEdit::fileNew&#40;&#41;
&#123;
    if &#40;maybeSave&#40;&#41;&#41; &#123;
        textEdit-&#62;clear&#40;&#41;;
        [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/qt-code-example-new-file-open-file-save-file-save-as-file-file-print-print-preview-file-print-preview-print-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt Code Example: MessageBox</title>
		<link>http://mvclogic.com/qt/qt-code-example-messagebox/</link>
		<comments>http://mvclogic.com/qt/qt-code-example-messagebox/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 11:23:54 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[MessageBox]]></category>

		<guid isPermaLink="false">http://aquireknowledge.com/codemanager/2009/04/07/qt-code-example-messagebox/</guid>
		<description><![CDATA[

&#160;
QMessageBox::about&#40;this, tr&#40;&#34;About Syntax Highlighter&#34;&#41;,
          tr&#40;&#34;&#60;p&#62;The &#60;b&#62;Syntax Highlighter&#60;/b&#62; example shows how &#34; \
            &#34;to perform simple syntax highlighting by subclassing &#34; \
            &#34;the QSyntaxHighlighter class [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/qt-code-example-messagebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt Code Example : Open File</title>
		<link>http://mvclogic.com/qt/qt-code-example-open-file/</link>
		<comments>http://mvclogic.com/qt/qt-code-example-open-file/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 09:43:37 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[QT]]></category>

		<guid isPermaLink="false">http://aquireknowledge.com/codemanager/?p=3</guid>
		<description><![CDATA[

void MainWindow::openFile&#40;const QString &#38;path&#41;
&#123;
    QString fileName = path;
&#160;
    if &#40;fileName.isNull&#40;&#41;&#41;
        fileName = QFileDialog::getOpenFileName&#40;this,
            tr&#40;&#34;Open File&#34;&#41;, &#34;&#34;, &#34;C++ Files (*.cpp *.h)&#34;&#41;;
&#160;
    if &#40;!fileName.isEmpty&#40;&#41;&#41; &#123;
      [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/qt-code-example-open-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
