Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
SetEntryWidget Class Reference

#include <dlg_select_set_for_cards.h>

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

Public Slots

void mousePressEvent (QMouseEvent *event) override
void enterEvent (QEnterEvent *event) override
void leaveEvent (QEvent *event) override
void dragMoveEvent (QDragMoveEvent *event) override

Public Member Functions

 SetEntryWidget (DlgSelectSetForCards *parent, const QString &setName, int count)
void toggleExpansion ()
void checkVisibility ()
QStringList getAllCardsForSet ()
void populateCardList ()
void updateCardDisplayWidgets ()
bool isChecked () const

Public Attributes

DlgSelectSetForCards * parent
QString setName
bool expanded

Private Attributes

QVBoxLayout * layout
QCheckBox * checkBox
QPushButton * expandButton
QLabel * countLabel
QLabel * possibleCardsLabel
FlowWidget * cardListContainer
QLabel * alreadySelectedCardsLabel
FlowWidget * alreadySelectedCardListContainer
QVBoxLayout * cardListLayout
QStringList possibleCards
QStringList unusedCards

Constructor & Destructor Documentation

◆ SetEntryWidget()

SetEntryWidget::SetEntryWidget ( DlgSelectSetForCards * parent,
const QString & setName,
int count )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ checkVisibility()

void SetEntryWidget::checkVisibility ( )
Here is the caller graph for this function:

◆ dragMoveEvent

void SetEntryWidget::dragMoveEvent ( QDragMoveEvent * event)
overrideslot

◆ enterEvent

void SetEntryWidget::enterEvent ( QEnterEvent * event)
overrideslot

◆ getAllCardsForSet()

QStringList SetEntryWidget::getAllCardsForSet ( )
Here is the caller graph for this function:

◆ isChecked()

bool SetEntryWidget::isChecked ( ) const
nodiscard
Here is the caller graph for this function:

◆ leaveEvent

void SetEntryWidget::leaveEvent ( QEvent * event)
overrideslot

◆ mousePressEvent

void SetEntryWidget::mousePressEvent ( QMouseEvent * event)
overrideslot

◆ populateCardList()

void SetEntryWidget::populateCardList ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggleExpansion()

void SetEntryWidget::toggleExpansion ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCardDisplayWidgets()

void SetEntryWidget::updateCardDisplayWidgets ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ alreadySelectedCardListContainer

FlowWidget* SetEntryWidget::alreadySelectedCardListContainer
private

◆ alreadySelectedCardsLabel

QLabel* SetEntryWidget::alreadySelectedCardsLabel
private

◆ cardListContainer

FlowWidget* SetEntryWidget::cardListContainer
private

◆ cardListLayout

QVBoxLayout* SetEntryWidget::cardListLayout
private

◆ checkBox

QCheckBox* SetEntryWidget::checkBox
private

◆ countLabel

QLabel* SetEntryWidget::countLabel
private

◆ expandButton

QPushButton* SetEntryWidget::expandButton
private

◆ expanded

bool SetEntryWidget::expanded

◆ layout

QVBoxLayout* SetEntryWidget::layout
private

◆ parent

DlgSelectSetForCards* SetEntryWidget::parent

◆ possibleCards

QStringList SetEntryWidget::possibleCards
private

◆ possibleCardsLabel

QLabel* SetEntryWidget::possibleCardsLabel
private

◆ setName

QString SetEntryWidget::setName

◆ unusedCards

QStringList SetEntryWidget::unusedCards
private

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