Searched refs:fileDialog (Results 1 – 2 of 2) sorted by relevance
203 QFileDialog fileDialog(this, tr("Open"), QString(), filter); in openFile() local204 fileDialog.setAcceptMode(QFileDialog::AcceptOpen); in openFile()205 fileDialog.setFileMode(QFileDialog::ExistingFile); in openFile()206 fileDialog.setOptions(QFileDialog::ReadOnly); in openFile()208 if (fileDialog.exec()) { in openFile()209 QString selectedFile = fileDialog.selectedFiles()[0]; in openFile()
219 QFileDialog fileDialog(this, tr("Open"), QString(), filter); in openFile() local220 fileDialog.setAcceptMode(QFileDialog::AcceptOpen); in openFile()221 fileDialog.setFileMode(QFileDialog::ExistingFile); in openFile()222 fileDialog.setOptions(QFileDialog::ReadOnly); in openFile()224 if (fileDialog.exec()) { in openFile()225 QString selectedFile = fileDialog.selectedFiles()[0]; in openFile()