16 #include <QMessageBox>
22 , m_pixmap(
":/images/warning@2x.png")
23 , m_caution_header(
"Houston, we have a problem.")
25 setAttribute(Qt::WA_NoSystemBackground);
32 QPainter painter(
this);
34 painter.drawPixmap(target,
m_pixmap);
43 box.setStandardButtons(QMessageBox::Ok);
44 box.setDefaultButton(QMessageBox::Ok);