Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 04/26/fi: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
 
Line 1: Line 1:
[http://doc.qt.nokia.com/latest/qwidget.html#geometry-prop Qt::Widget::setGeometry()] -kutsu asettaa sekä käyttöliittymäkomponentin näyttösijainnin että sen koon. Se on sama, kun kutsuttaisiin metodia [http://doc.qt.nokia.com/latest/qwidget.html#pos-prop Qt::Widget::move()], jota seuraa [http://doc.qt.nokia.com/latest/qwidget.html#size-prop Qt::Widget::resize()].
[http://doc.qt.nokia.com/latest/qwidget.html#geometry-prop Qt::Widget::setGeometry()] -kutsu asettaa sekä käyttöliittymäkomponentin näyttösijainnin että sen koon. Se on sama kuin jos kutsuttaisiin metodia [http://doc.qt.nokia.com/latest/qwidget.html#pos-prop Qt::Widget::move()], jota seuraa [http://doc.qt.nokia.com/latest/qwidget.html#size-prop Qt::Widget::resize()].

Latest revision as of 12:19, 27 August 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 04)
The [http://doc.qt.nokia.com/latest/qwidget.html#geometry-prop Qt::Widget::setGeometry()] call sets both the widget's screen position and the size. It is equivalent to calling [http://doc.qt.nokia.com/latest/qwidget.html#pos-prop Qt::Widget::move()] followed by [http://doc.qt.nokia.com/latest/qwidget.html#size-prop Qt::Widget::resize()].

Qt::Widget::setGeometry() -kutsu asettaa sekä käyttöliittymäkomponentin näyttösijainnin että sen koon. Se on sama kuin jos kutsuttaisiin metodia Qt::Widget::move(), jota seuraa Qt::Widget::resize().