Cockatrice 2026-06-27-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
card_menu.cpp File Reference
#include "card_menu.h"
#include "../../../client/settings/card_counter_settings.h"
#include "../../../interface/widgets/tabs/tab_game.h"
#include "../../board/card_item.h"
#include "../../game/player/player_actions.h"
#include "../../game/player/player_logic.h"
#include "../../game/zones/view_zone_logic.h"
#include "../card_menu_action_type.h"
#include "../player_graphics_item.h"
#include "move_menu.h"
#include "pt_menu.h"
#include <QPainter>
#include <libcockatrice/card/database/card_database_manager.h>
#include <libcockatrice/card/relation/card_relation.h>
#include <libcockatrice/utility/zone_names.h>
Include dependency graph for card_menu.cpp:

Functions

static QIcon createCircleIcon (const QColor &color)
 Creates a circular icon filled with the specified color.
template<typename Slot>
static QAction * makeAction (QObject *parent, Slot &&slot, bool checkable=false, bool checked=false)

Function Documentation

◆ createCircleIcon()

QIcon createCircleIcon ( const QColor & color)
static

Creates a circular icon filled with the specified color.

Here is the caller graph for this function:

◆ makeAction()

template<typename Slot>
QAction * makeAction ( QObject * parent,
Slot && slot,
bool checkable = false,
bool checked = false )
static
Here is the caller graph for this function: