Logo Search packages:      
Sourcecode: rosegarden version File versions

void Rosegarden::RosegardenGUIApp::slotFilePrintPreview (  )  [slot]

print preview

Definition at line 2419 of file RosegardenGUIApp.cpp.

References Rosegarden::RosegardenGUIDoc::getComposition(), m_doc, m_view, and Rosegarden::RosegardenGUIView::print().

Referenced by setupActions().

    if (m_doc->getComposition().getNbSegments() == 0) {
        KMessageBox::sorry(0, "Please create some tracks first (until we implement menu state management)");
        return ;

    KTmpStatusMsg msg(i18n("Previewing..."), this);

    m_view->print(&m_doc->getComposition(), true);

Generated by  Doxygen 1.6.0   Back to index