Cockatrice 2026-03-05-Development-2.11.0-beta.54
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
OverridePrintingWarning Namespace Reference

Functions

bool execMessageBox (QWidget *parent, bool enable)
 Pops up the warning message for the changing the override printing setting. If the user clicks accept, then this also handles changing the setting and resetting the card image cache.

Function Documentation

◆ execMessageBox()

bool OverridePrintingWarning::execMessageBox ( QWidget * parent,
bool enable )

Pops up the warning message for the changing the override printing setting. If the user clicks accept, then this also handles changing the setting and resetting the card image cache.

Parameters
parentThe parent widget
enableWhether the user is trying to enable or disable the setting
Returns
Whether the user clicked accept. All other ways of closing the window returns false.
Here is the call graph for this function:
Here is the caller graph for this function: