Translate
Appearance
Text
This page always uses small font size
Width
AllDevelopment/Tutorials/Qt4 Ruby Tutorial
Translate to Diné bizaad
Translation of the wiki page Development/Tutorials/Qt4 Ruby Tutorial from English (en) to Diné bizaad (nv)
This tool does not work without JavaScript. JavaScript is disabled, failed to work, or this browser is unsupported.
Translations:Development/Tutorials/Qt4 Ruby Tutorial/Page display title/nv
Development/Tutorials/Qt4 Ruby Tutorial
You need translation rights to translate messages.Get permission
''Author:'' [mailto:qt-tutorial@darshancomputing.com Darshan Ishaya, qt-tutorial@darshancomputing.com]
Translations:Development/Tutorials/Qt4 Ruby Tutorial/1/nv
''Author:'' [mailto:qt-tutorial@darshancomputing.com Darshan Ishaya, qt-tutorial@darshancomputing.com]
You need translation rights to translate messages.Get permission
This tutorial gives an introduction to GUI programming using the
[http://qt.nokia.com Qt toolkit],
[http://www.ruby-lang.org Ruby], and
[http://rubyforge.org/projects/korundum/ qt4-qtruby].
It is simply a port of Nokia's fine
[https://doc.qt.io/archives/4.2/tutorial.html Qt Tutorial].
Therefore, most of the text after this paragraph comes straight from their tutorial. I have modified it as necessary to make it make sense with the Ruby bindings, and have rearranged or rewritten a few parts to make them (I hope) a bit clearer.
This tutorial 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 minimal "Hello world" program and the following chapters introduce new concepts. By Chapter 14, the "Hello world" program from Chapter 1 will have turned into a 448-line game.
If you're completely new to Qt, you might want to read [https://doc.qt.io/archives/qt-4.8/how-to-learn-qt.html How to Learn Qt] if you haven't already done so. Keep in mind that like most documents about Qt, it is very C++ oriented.
This little game doesn't look much like a modern GUI application. It uses some GUI techniques, but after you've worked through it, I recommend checking out the [http://doc.qt.nokia.com/latest/mainwindows-application.html Application] example, which presents a small GUI application with menus, tool bars, a status bar, and so on. There are quite a few very educational [http://doc.qt.nokia.com/latest/all-examples.html Examples]. They are all written in C++, but are easy enough to follow since the point of them is to demonstrate usage of the Qt library, not C++ features.
Loading messages...
0% translated, 0% reviewed
Retrieved from "https://techbase.kde.org/Special:Translate"