Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. QFileDialog *dialog = new QFileDialog(this, tr("Open File"),
  2.                                         QDir::currentPath(), tr("Supported Files( *.txt)") );
  3.     dialog->show();
  4.     emit( dialog, SIGNAL(fileSelected(QString)), m_myClass,SLOT(setFile(QString)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement