Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

void RosegardenGUIApp::slotFilePrintPreview (  )  [slot]

print preview

Definition at line 2347 of file rosegardengui.cpp.

References RosegardenGUIDoc::getComposition(), m_doc, m_view, and 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