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

#include <color_identity_widget.h>

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

Public Slots

void resizeEvent (QResizeEvent *event) override
void toggleUnusedVisibility ()

Public Member Functions

 ColorIdentityWidget (QWidget *parent, CardInfoPtr card)
 ColorIdentityWidget (QWidget *parent, QString manaCost)
void populateManaSymbolWidgets ()
QStringList parseColorIdentity (const QString &manaString)

Private Attributes

CardInfoPtr card
QString manaCost
QHBoxLayout * layout

Constructor & Destructor Documentation

◆ ColorIdentityWidget() [1/2]

ColorIdentityWidget::ColorIdentityWidget ( QWidget * parent,
CardInfoPtr card )
explicit
Here is the call graph for this function:

◆ ColorIdentityWidget() [2/2]

ColorIdentityWidget::ColorIdentityWidget ( QWidget * parent,
QString manaCost )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ parseColorIdentity()

QStringList ColorIdentityWidget::parseColorIdentity ( const QString & manaString)
Here is the caller graph for this function:

◆ populateManaSymbolWidgets()

void ColorIdentityWidget::populateManaSymbolWidgets ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resizeEvent

void ColorIdentityWidget::resizeEvent ( QResizeEvent * event)
overrideslot

◆ toggleUnusedVisibility

void ColorIdentityWidget::toggleUnusedVisibility ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ card

CardInfoPtr ColorIdentityWidget::card
private

◆ layout

QHBoxLayout* ColorIdentityWidget::layout
private

◆ manaCost

QString ColorIdentityWidget::manaCost
private

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