سؤال

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top