Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QFileDialog *dialog = new QFileDialog(this, tr("Open File"),
- QDir::currentPath(), tr("Supported Files( *.txt)") );
- dialog->show();
- emit( dialog, SIGNAL(fileSelected(QString)), m_myClass,SLOT(setFile(QString)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement