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

Method printPreview

src/frontend/MainWin.cpp:1941–1951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1939}
1940
1941void MainWin::printPreview() {
1942 if (!m_currentAspectDock)
1943 return;
1944
1945 AbstractPart* part = static_cast<ContentDockWidget*>(m_currentAspectDock)->part();
1946 statusBar()->showMessage(i18n("Preparing printing of %1", part->name()));
1947 if (part->printPreview())
1948 statusBar()->showMessage(i18n("%1 printed", part->name()));
1949 else
1950 statusBar()->clearMessage();
1951}
1952
1953/**************************************************************************************/
1954

Callers

nothing calls this directly

Calls 3

showMessageMethod · 0.80
partMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected