QFileDialog in Dynamic Plugin
Asked by
Dhiraj Salian
Hello Guys,
I am creating a dynamic plugin and i want to include a QFileDialog on button press.I am facing problems in creating it.Here's the code and screenshot.
code:
void OSPMainDialog :: openScript(){
QString moduleDirectoryPath = StelFileMgr:
if(!StelFileMg
StelFileMgr:
}
QString fileName = QFileDialog:
if(!fileName.
QFile f(fileName);
ui->scriptEdit
}
}
screenshot:
https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Stellarium Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alexander Wolf
- Solved:
- Last query:
- Last reply:
To post a message you must log in.