From 00f79b79bb94597602b84b21a3e33aa9e9ac9d32 Mon Sep 17 00:00:00 2001 From: Rizky Luthfianto Date: Sun, 2 Oct 2016 01:52:59 +0700 Subject: [qt/en] Tidy up (#2391) - "is beautiful for creating applications" -> "is great for creating applications" - changed "Slots and Signals" link from Qt 4.8 to Qt 5, to maintaining consistency with "Widgets" link - Furter -> Further - Tidy up "Further Reading" - Added a link to PyQt page - Added an exclamation mark. --- qt.html.markdown | 16 +++++++++------- 1 file 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! -- cgit v1.2.3