I need help. I just asked you whether it anyways helps you. Please do not interpret wrongly. Here is the entire code in the function,
Util.readFilepath(sPath);
QFileDialog l_pFiledDlg
(this, tr
("Open Files"), sPath, tr
("All Files (*)"));
if (l_pFiledDlg.exec()) sFilename3 = l_pFiledDlg.selectedFiles()[0];
if( sFilename3.isEmpty() )
return;
m_sFilename3 = sFilename3;
Util.storeFilepath(m_sFilename3);
m_pLineEdit3->setText(m_sFilename3);
validateandParseLineEdit3(m_sFilename3);
QString sPath;
Util.readFilepath(sPath);
QString sFilename3;
QFileDialog l_pFiledDlg(this, tr("Open Files"), sPath, tr("All Files (*)"));
l_pFiledDlg.setViewMode(QFileDialog::Detail);
l_pFiledDlg.setFileMode(QFileDialog::ExistingFile);
if (l_pFiledDlg.exec()) sFilename3 = l_pFiledDlg.selectedFiles()[0];
if( sFilename3.isEmpty() )
return;
m_sFilename3 = sFilename3;
Util.storeFilepath(m_sFilename3);
m_pLineEdit3->setText(m_sFilename3);
validateandParseLineEdit3(m_sFilename3);
To copy to clipboard, switch view to plain text mode
Bookmarks