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

#include <dlg_select_set_for_cards.h>

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

Public Slots

void actOK ()
void actClear ()
void actSetAllToPreferred ()
void updateLayoutOrder ()
void updateCardLists ()
void dragEnterEvent (QDragEnterEvent *event) override
void dropEvent (QDropEvent *event) override

Signals

void widgetOrderChanged ()
void orderChanged ()

Public Member Functions

 DlgSelectSetForCards (QWidget *parent, DeckListModel *_model)
void retranslateUi ()
void sortSetsByCount ()
QMap< QString, QStringList > getCardsForSets ()
QMap< QString, QStringList > getModifiedCards ()

Public Attributes

QVBoxLayout * listLayout
QList< SetEntryWidget * > entry_widgets
QMap< QString, QStringList > cardsForSets

Private Member Functions

QMap< QString, int > getSetsForCards ()

Private Attributes

QVBoxLayout * layout
QLabel * instructionLabel
QScrollArea * scrollArea
QScrollArea * uneditedCardsArea
FlowWidgetuneditedCardsFlowWidget
QLabel * uneditedCardsLabel
QScrollArea * modifiedCardsArea
FlowWidgetmodifiedCardsFlowWidget
QLabel * modifiedCardsLabel
QWidget * listContainer
QListWidget * listWidget
DeckListModelmodel
QMap< QString, SetEntryWidget * > setEntries
QPushButton * clearButton
QPushButton * setAllToPreferredButton

Constructor & Destructor Documentation

◆ DlgSelectSetForCards()

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

Member Function Documentation

◆ actClear

void DlgSelectSetForCards::actClear ( )
slot
Here is the caller graph for this function:

◆ actOK

void DlgSelectSetForCards::actOK ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actSetAllToPreferred

void DlgSelectSetForCards::actSetAllToPreferred ( )
slot
Here is the caller graph for this function:

◆ dragEnterEvent

void DlgSelectSetForCards::dragEnterEvent ( QDragEnterEvent * event)
overrideslot

◆ dropEvent

void DlgSelectSetForCards::dropEvent ( QDropEvent * event)
overrideslot
Here is the call graph for this function:

◆ getCardsForSets()

QMap< QString, QStringList > DlgSelectSetForCards::getCardsForSets ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getModifiedCards()

QMap< QString, QStringList > DlgSelectSetForCards::getModifiedCards ( )
Here is the caller graph for this function:

◆ getSetsForCards()

QMap< QString, int > DlgSelectSetForCards::getSetsForCards ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ orderChanged

void DlgSelectSetForCards::orderChanged ( )
signal
Here is the caller graph for this function:

◆ retranslateUi()

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

◆ sortSetsByCount()

void DlgSelectSetForCards::sortSetsByCount ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCardLists

void DlgSelectSetForCards::updateCardLists ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateLayoutOrder

void DlgSelectSetForCards::updateLayoutOrder ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ widgetOrderChanged

void DlgSelectSetForCards::widgetOrderChanged ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ cardsForSets

QMap<QString, QStringList> DlgSelectSetForCards::cardsForSets

◆ clearButton

QPushButton* DlgSelectSetForCards::clearButton
private

◆ entry_widgets

QList<SetEntryWidget *> DlgSelectSetForCards::entry_widgets

◆ instructionLabel

QLabel* DlgSelectSetForCards::instructionLabel
private

◆ layout

QVBoxLayout* DlgSelectSetForCards::layout
private

◆ listContainer

QWidget* DlgSelectSetForCards::listContainer
private

◆ listLayout

QVBoxLayout* DlgSelectSetForCards::listLayout

◆ listWidget

QListWidget* DlgSelectSetForCards::listWidget
private

◆ model

DeckListModel* DlgSelectSetForCards::model
private

◆ modifiedCardsArea

QScrollArea* DlgSelectSetForCards::modifiedCardsArea
private

◆ modifiedCardsFlowWidget

FlowWidget* DlgSelectSetForCards::modifiedCardsFlowWidget
private

◆ modifiedCardsLabel

QLabel* DlgSelectSetForCards::modifiedCardsLabel
private

◆ scrollArea

QScrollArea* DlgSelectSetForCards::scrollArea
private

◆ setAllToPreferredButton

QPushButton* DlgSelectSetForCards::setAllToPreferredButton
private

◆ setEntries

QMap<QString, SetEntryWidget *> DlgSelectSetForCards::setEntries
private

◆ uneditedCardsArea

QScrollArea* DlgSelectSetForCards::uneditedCardsArea
private

◆ uneditedCardsFlowWidget

FlowWidget* DlgSelectSetForCards::uneditedCardsFlowWidget
private

◆ uneditedCardsLabel

QLabel* DlgSelectSetForCards::uneditedCardsLabel
private

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