MCPcopy Create free account
hub / github.com/ElementsProject/elements / ShutdownWindow

Method ShutdownWindow

src/qt/utilitydialog.cpp:140–150  ·  view source on GitHub ↗

"Shutdown" window */

Source from the content-addressed store, hash-verified

138
139/** "Shutdown" window */
140ShutdownWindow::ShutdownWindow(QWidget *parent, Qt::WindowFlags f):
141 QWidget(parent, f)
142{
143 QVBoxLayout *layout = new QVBoxLayout();
144 layout->addWidget(new QLabel(
145 tr("%1 is shutting down…").arg(PACKAGE_NAME) + "<br /><br />" +
146 tr("Do not shut down the computer until this window disappears.")));
147 setLayout(layout);
148
149 GUIUtil::handleCloseWindowShortcut(this);
150}
151
152QWidget* ShutdownWindow::showShutdownWindow(QMainWindow* window)
153{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected