Cockatrice 2026-01-14-Development-2.11.0-beta.46
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, const QString &_colorIdentity="")
 ColorIdentityWidget (QWidget *parent, const CardInfoPtr &card)
void populateManaSymbolWidgets ()

Static Public Member Functions

static QStringList parseColorIdentity (const QString &manaString)

Private Attributes

QString colorIdentity
QHBoxLayout * layout

Constructor & Destructor Documentation

◆ ColorIdentityWidget() [1/2]

ColorIdentityWidget::ColorIdentityWidget ( QWidget * parent,
const QString & _colorIdentity = "" )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ColorIdentityWidget() [2/2]

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

Member Function Documentation

◆ parseColorIdentity()

QStringList ColorIdentityWidget::parseColorIdentity ( const QString & manaString)
static
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

◆ colorIdentity

QString ColorIdentityWidget::colorIdentity
private

◆ layout

QHBoxLayout* ColorIdentityWidget::layout
private

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