diff options
author | Adam <adam@adambard.com> | 2016-10-21 15:35:09 -0700 |
---|---|---|
committer | Adam <adam@adambard.com> | 2016-10-21 15:35:09 -0700 |
commit | 620e5d20402be961d27ce6cc6a007204c81391d4 (patch) | |
tree | e33427b1aa82c11a8e974ccd8a02b789de4c9737 /qt.html.markdown | |
parent | de376b4357e79fc847e4c1ae2717946fe05d3bef (diff) | |
parent | 0659107a78bddd722df816daa01ee622fb4508d1 (diff) |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'qt.html.markdown')
-rw-r--r-- | qt.html.markdown | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/qt.html.markdown b/qt.html.markdown index 71d12909..a9c855a6 100644 --- a/qt.html.markdown +++ b/qt.html.markdown @@ -8,9 +8,9 @@ contributors: lang: en --- -**Qt** is a widely-known framework for developing cross-platform software that can be run on various software and hardware platforms with little or no change in the code, while having the power and speed of native applications. Though **Qt** was originally written in *C++*, there are its ports to other languages: *PyQt*, *QtRuby*, *PHP-Qt*, etc. +**Qt** is a widely-known framework for developing cross-platform software that can be run on various software and hardware platforms with little or no change in the code, while having the power and speed of native applications. Though **Qt** was originally written in *C++*, there are its ports to other languages: *[PyQt](https://learnxinyminutes.com/docs/pyqt/)*, *QtRuby*, *PHP-Qt*, etc. -**Qt** is beautiful for creating applications with graphical user interface (GUI). This tutorial is how to do it in *C++*. +**Qt** is great for creating applications with graphical user interface (GUI). This tutorial is how to do it in *C++*. ```c++ /* @@ -83,7 +83,7 @@ Notice that *QObject::connect* part. This method is used to connect *SIGNALS* of **Slots** are *actions* that might be performed in response to received signals. -[READ MORE ABOUT SLOTS AND SIGNALS](http://doc.qt.io/qt-4.8/signalsandslots.html) +[READ MORE ABOUT SLOTS AND SIGNALS](http://doc.qt.io/qt-5/signalsandslots.html) Next, let's learn that we can not only use standard widgets but also extend their behaviour using inheritance. Let's create a button and count how many times it was pressed. For this purpose we define our own class *CounterLabel*. It must be declared in separate file because of specific Qt architecture. @@ -149,9 +149,11 @@ int main(int argc, char *argv[]) { } ``` -## Furter reading -That's it! Of course Qt framework is much much larger than the part that was covered in this tutorial, so be ready to read and practice. +That's it! Of course, Qt framework is much much larger than the part that was covered in this tutorial, so be ready to read and practice. -[READ MORE ABOUT QT](http://doc.qt.io/qt-4.8/tutorials.html) +## Further reading -Good luck and have fun +- [Qt 4.8 tutorials](http://doc.qt.io/qt-4.8/tutorials.html) +- [Qt 5 tutorials](http://doc.qt.io/qt-5/qtexamplesandtutorials.html) + +Good luck and have fun! |