The appropriate use of colors and fonts to highlight the different elements of programming and markup languages helps the brain to grasp document structures. By flagging syntax errors, interactive syntax highlighting also helps reduce the time spent in the "compile, run, test" cycle. Highlighting can even be used to flag spelling mistakes in text documents. With Qt, adding syntax highlighting to a QTextEdit is very easy, as this article will demonstrate. Qt 3.1 introduced QSyntaxHighlighter as an abstract base class to provide syntax highlighting to a QTextEdit .
LibQxt is an extension library for Qt providing a suite of cross-platform utility classes to add functionality not readily available in the Qt toolkit by Qt Development Frameworks, Nokia . This is the home for our source repository on bitbucket, reachable by http://dev.libqxt.org/libqxt or http://bitbucket.org/libqxt/libqxt . Our main website is hosted at http://libqxt.org .
In der ersten Folge des Workshops haben wir die Basisbegriffe kennengelernt, die zum Schreiben von Applikationen in Qt notwendig sind. Dies waren die Klassen QObject und QWidget sowie die darin eingebauten Signal- und Slot- sowie Ereignis- und Zeichnungsmechanismen. In diesem Teil verfolgen wir den Entwicklungsprozess einer größeren Applikation. Programmieren unter Linux Das Programm QtCommander
The easiest way is to call the php interpreter externally. You can do it with QProcess. Please read its docs right now, before asking questions about the class PHP can be handled in two ways -- either embedded in a webserver (like mod_php for Apache does) or as a CGI, which I am explainnig right now. There is a php program which handles that. You can take a look at its usage now, to see what options do you need.
This article demonstrates how to use Qt Creator's Resource Editor to set the icon and other resources for your application. The Resource file is an XML file that lists the files to embed in the executable. The Qt resource system is a platform-independent mechanism for storing binary files in the application's executable. This is useful if your application always needs a certain set of files (icons, translation files, etc.) and you don't want to run the risk of losing the files. The resource used in a application are specified in a .qrc file which stores all necessary information regarding the resources used. Following pictures shows the steps to use the resource editor.
This tutorial gives an introduction to GUI programming using the Qt toolkit. It doesn't cover everything: the emphasis is on teaching the programming philosophy of GUI programming, and Qt's features are introduced as needed. Some commonly used features are never used in this tutorial. Chapter one starts with a ten-line hello-world and each subsequent chapter introduces one or a few more concepts.
The Independent Qt Tutorial is an on-line book aiming to cover most topics involved in the process of developing professional quality Qt applications. The text is example driven, filled with lots of tips and has links to the official Qt documentation. If you are interested in the latest version of Qt, version 4, you might be interested to know that I've written a book called the Foundations of Qt Development available from APress. Table of Contents Italic chapter titles mark future chapters.