QFileDialog::getSaveFileName( this, tr("Save As"), initialFileName, "PNG Image (*.png);;JPEG Image (*.jpg)" );
m_strFile = QFileDialog::getSaveFileName( QString::null,m_pCodec->toUnicode("Файл звіту") + "(*.html)");if ( m_strFile.section( ".", -1, -1 ) != "html" ) m_strFile+= ".html";