Pass the initial value as the 5th parameter of QInputDialog::getText method.
QtRuby InputDialog with default text
문제
With QtRuby, is it possible to create an input dialog that already has a value in the text box?
해결책
제휴하지 않습니다 StackOverflow
문제
With QtRuby, is it possible to create an input dialog that already has a value in the text box?
해결책
Pass the initial value as the 5th parameter of QInputDialog::getText method.