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

#include <mana_base_widget.h>

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

Public Slots

void setDeckModel (DeckListModel *deckModel)
void retranslateUi ()

Public Member Functions

 ManaBaseWidget (QWidget *parent, DeckListModel *deckListModel)
QHash< QString, int > analyzeManaBase ()
void updateDisplay ()
QHash< QString, int > determineManaProduction (const QString &manaString)
void mergeManaCounts (QHash< QString, int > &manaCounts1, const QHash< QString, int > &manaCounts2)

Private Attributes

DeckListModeldeckListModel
BannerWidgetbannerWidget
QHash< QString, int > manaBaseMap
QVBoxLayout * layout
QWidget * barContainer
QHBoxLayout * barLayout

Constructor & Destructor Documentation

◆ ManaBaseWidget()

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

Member Function Documentation

◆ analyzeManaBase()

QHash< QString, int > ManaBaseWidget::analyzeManaBase ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ determineManaProduction()

QHash< QString, int > ManaBaseWidget::determineManaProduction ( const QString & manaString)
Here is the caller graph for this function:

◆ mergeManaCounts()

void ManaBaseWidget::mergeManaCounts ( QHash< QString, int > & manaCounts1,
const QHash< QString, int > & manaCounts2 )
Here is the caller graph for this function:

◆ retranslateUi

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

◆ setDeckModel

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

◆ updateDisplay()

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

Member Data Documentation

◆ bannerWidget

BannerWidget* ManaBaseWidget::bannerWidget
private

◆ barContainer

QWidget* ManaBaseWidget::barContainer
private

◆ barLayout

QHBoxLayout* ManaBaseWidget::barLayout
private

◆ deckListModel

DeckListModel* ManaBaseWidget::deckListModel
private

◆ layout

QVBoxLayout* ManaBaseWidget::layout
private

◆ manaBaseMap

QHash<QString, int> ManaBaseWidget::manaBaseMap
private

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