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

Method on_pushButton_start_clicked

ChessBoard.cpp:1100–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1098}
1099
1100void ChessBoard::on_pushButton_start_clicked()
1101{
1102 if(!m_bIsStart) //尚未开始 开始计时
1103 {
1104 startGameTimer();
1105 m_bTimerAutoStarted = true;
1106 }
1107 else //已经开始,暂停
1108 {
1109 pauseGameTimer();
1110 }
1111}
1112
1113void ChessBoard::on_pushButton_reset_clicked()
1114{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected