MCPcopy Create free account
hub / github.com/KDE/labplot / print

Method print

src/frontend/MainWin.cpp:1929–1939  ·  view source on GitHub ↗

! prints the current sheet (worksheet, spreadsheet or matrix) */

Source from the content-addressed store, hash-verified

1927 prints the current sheet (worksheet, spreadsheet or matrix)
1928*/
1929void MainWin::print() {
1930 if (!m_currentAspectDock)
1931 return;
1932
1933 AbstractPart* part = static_cast<ContentDockWidget*>(m_currentAspectDock)->part();
1934 statusBar()->showMessage(i18n("Preparing printing of %1", part->name()));
1935 if (part->printView())
1936 statusBar()->showMessage(i18n("%1 printed", part->name()));
1937 else
1938 statusBar()->clearMessage();
1939}
1940
1941void MainWin::printPreview() {
1942 if (!m_currentAspectDock)

Callers 4

printViewMethod · 0.45
printViewMethod · 0.45
printViewMethod · 0.45
printViewMethod · 0.45

Calls 4

showMessageMethod · 0.80
partMethod · 0.45
nameMethod · 0.45
printViewMethod · 0.45

Tested by

no test coverage detected