Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 07/18/ru: Difference between revisions

From KDE TechBase
(Created page with "Реализация '''<tt>setValue()</tt>''' настолько же прямолинейна. Поскольку ползунок соединён с ЖК-дисплеем, п...")
 
(No difference)

Latest revision as of 17:46, 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 07)
The implementation of '''<tt>setValue()</tt>''' is equally straightforward. Note that because the slider and LCD number are connected, setting the slider's value automatically updates the LCD number as well. In addition, the slider will automatically adjust the value if it is outside its legal range.

Реализация setValue() настолько же прямолинейна. Поскольку ползунок соединён с ЖК-дисплеем, при изменении значения ползунка автоматически меняется число на ЖК-дисплее. Если значение, устанавливаемое для ползунка, не входит в диапазон его возможных значений, оно автоматически исправляется.