Jump to content

Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 3/18/fi: Difference between revisions

From KDE TechBase
Centerlink (talk | contribs)
Created page with "Luomme tässä yksinkertaisesti pelkän käyttöliittymäkomponenttiobjektin. Luokka [http://doc.qt.nokia.com/latest/qwidget.html Qt::Widget] on käyttöliittymäobjektien perusl..."
 
(No difference)

Latest revision as of 15:24, 25 September 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Qt4 Ruby Tutorial/Chapter 3)
Here we simply create a plain widget object. The [http://doc.qt.nokia.com/latest/qwidget.html Qt::Widget] class is the base class of all user interface objects. The widget is the atom of the user interface: It receives mouse, keyboard and other events from the window system, and paints a representation of itself on the screen. A widget is clipped by its parent and by the widgets in front of it.

Luomme tässä yksinkertaisesti pelkän käyttöliittymäkomponenttiobjektin. Luokka Qt::Widget on käyttöliittymäobjektien perusluokka. Käyttöliittymäkomponentti on käyttölittymän ydin: Se vastaanotta hiiren, näppäimistön ja muita tapahtumia ikkunointijärjestelmästä, piirtää esityksen itsestään näytölle. Vanhempikomponentti ja käyttöliittymäkomponentin edustalla sijaitsevat komponentit leikkaavat käyttöliittymäkomnponenttia.