Method: FileSelectorLineEdit#openSelectDlg
- Defined in:
- lib/mylibs.rb
#openSelectDlg ⇒ Object
183 184 185 186 187 188 |
# File 'lib/mylibs.rb', line 183 def openSelectDlg path = Qt::FileDialog::getOpenFileName(self,'select file', @lineEdit.text, @filter) unless !path || path.empty? @lineEdit.text = path end end |