I wrote this funtion:
void GenerateInvoiceDialog::on_saveandPrintpushButton_cliked(){
this,
"Choose a filename to save under",
"/home",
"Images (*.html)");
}
void GenerateInvoiceDialog::on_saveandPrintpushButton_cliked(){
QString s = QFileDialog::getSaveFileName(
this,
"Choose a filename to save under",
"/home",
"Images (*.html)");
}
To copy to clipboard, switch view to plain text mode
unfortunately nothing happens when I click on my saveandPrintpushButton. Isn't that supposed to start a file dialog? Thanx in advance
Patcito
Bookmarks