MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / winMessageBox

Method winMessageBox

ChessBoard.cpp:526–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526void ChessBoard::winMessageBox(QString title, QString msg)
527{
528 QMessageBox message(QMessageBox::Information, title, msg);
529 message.setIconPixmap(QPixmap(":/images/win.jpg"));
530 message.setFont(QFont("FangSong", 16, QFont::Bold));
531 message.exec();
532}
533
534QPointF ChessBoard::getRealPoint(QPointF pt)
535{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected