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

#include <mana_curve_widget.h>

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

Public Slots

void setDeckModel (DeckListModel *deckModel)
std::unordered_map< int, int > analyzeManaCurve ()
void retranslateUi ()

Public Member Functions

 ManaCurveWidget (QWidget *parent, DeckListModel *deckListModel)
void updateDisplay ()

Private Attributes

DeckListModeldeckListModel
std::unordered_map< int, int > manaCurveMap
QVBoxLayout * layout
BannerWidgetbannerWidget
QWidget * barContainer
QHBoxLayout * barLayout

Constructor & Destructor Documentation

◆ ManaCurveWidget()

ManaCurveWidget::ManaCurveWidget ( QWidget * parent,
DeckListModel * deckListModel )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ analyzeManaCurve

std::unordered_map< int, int > ManaCurveWidget::analyzeManaCurve ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi

void ManaCurveWidget::retranslateUi ( )
slot
Here is the caller graph for this function:

◆ setDeckModel

void ManaCurveWidget::setDeckModel ( DeckListModel * deckModel)
slot
Here is the call graph for this function:

◆ updateDisplay()

void ManaCurveWidget::updateDisplay ( )
Here is the caller graph for this function:

Member Data Documentation

◆ bannerWidget

BannerWidget* ManaCurveWidget::bannerWidget
private

◆ barContainer

QWidget* ManaCurveWidget::barContainer
private

◆ barLayout

QHBoxLayout* ManaCurveWidget::barLayout
private

◆ deckListModel

DeckListModel* ManaCurveWidget::deckListModel
private

◆ layout

QVBoxLayout* ManaCurveWidget::layout
private

◆ manaCurveMap

std::unordered_map<int, int> ManaCurveWidget::manaCurveMap
private

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