Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 01/26/ru: Difference between revisions

From KDE TechBase
(Created page with "Эта кнопка будет показывать текст "Hello world!". Поскольку мы не задали родительское окно для кнопки (...")
 
(No difference)

Latest revision as of 15:22, 2 July 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 01)
The button is set up to display the text "Hello world!". 
Because we don't specify a parent window (as second argument to the 
[http://doc.qt.nokia.com/latest/qpushbutton.html Qt::PushButton] constructor), 
the button will be a window of its own, with its own window frame and title bar.

Эта кнопка будет показывать текст "Hello world!". Поскольку мы не задали родительское окно для кнопки (это был бы второй аргумент конструктора класса Qt::PushButton), кнопка появится в отдельном окне со своей рамкой и заголовком окна.