Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
CardInfoDisplayWidget Class Reference

#include <card_info_display_widget.h>

Inheritance diagram for CardInfoDisplayWidget:
[legend]
Collaboration diagram for CardInfoDisplayWidget:
[legend]

Public Slots

void setCard (const ExactCard &card)
void setCard (const CardRef &cardRef)
void setCard (AbstractCardItem *card)

Public Member Functions

 CardInfoDisplayWidget (const CardRef &cardRef, QWidget *parent=nullptr, Qt::WindowFlags f={})

Private Slots

void clear ()

Private Attributes

qreal aspectRatio
ExactCard exactCard
CardInfoPictureWidgetpic
CardInfoTextWidgettext

Constructor & Destructor Documentation

◆ CardInfoDisplayWidget()

CardInfoDisplayWidget::CardInfoDisplayWidget ( const CardRef & cardRef,
QWidget * parent = nullptr,
Qt::WindowFlags f = {} )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ clear

void CardInfoDisplayWidget::clear ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCard [1/3]

void CardInfoDisplayWidget::setCard ( AbstractCardItem * card)
slot
Here is the call graph for this function:

◆ setCard [2/3]

void CardInfoDisplayWidget::setCard ( const CardRef & cardRef)
slot
Here is the call graph for this function:

◆ setCard [3/3]

void CardInfoDisplayWidget::setCard ( const ExactCard & card)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ aspectRatio

qreal CardInfoDisplayWidget::aspectRatio
private

◆ exactCard

ExactCard CardInfoDisplayWidget::exactCard
private

◆ pic

CardInfoPictureWidget* CardInfoDisplayWidget::pic
private

◆ text

CardInfoTextWidget* CardInfoDisplayWidget::text
private

The documentation for this class was generated from the following files: