Search code examples
rubyqtqtruby

QtRuby InputDialog with default text


With QtRuby, is it possible to create an input dialog that already has a value in the text box?


Solution

  • Pass the initial value as the 5th parameter of QInputDialog::getText method.