Hi all,
I'am writing an application that takes data from a sqlite database and show it thanks to a qtableview. I would like now to add a button export which export the data displayed in this view to a PDF file.
Here is the slot I wrote:
Qt Code:
//Exporter la liste des utilisateurs void PageUser::genPdfUser() { //Paramètres d'impression printer.setOutputFileName(filename); m_userView->render( &painter ); painter.end(); }To copy to clipboard, switch view to plain text mode
It doesn't work because when I click the button, I have no reaction. Hindly help me to corect it.
thanks
Bookmarks