Cockatrice 2026-06-27-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DeckEditorDatabaseDisplayWidget Class Reference

#include <deck_editor_database_display_widget.h>

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

Public Slots

void setFilterTree (FilterTree *filterTree)
void clearAllDatabaseFilters ()
void actAddCardToMainDeck ()
void actAddCardToSideboard ()
void addCard (const QString &cardName, const QString &zoneName)
void decrementCard (const QString &cardName, const QString &zoneName)
void updateCard (const QString &cardName)

Signals

void cardAdded (const ExactCard &card, const QString &zoneName)
void cardDecremented (const ExactCard &card, const QString &zoneName)
void cardChanged (const ExactCard &_card)
void edhrecRequested (const CardInfoPtr &cardInfo, bool isCommander)
void printingSelectorRequested ()
void cardInfoRequested (const ExactCard &card)

Public Member Functions

 DeckEditorDatabaseDisplayWidget (QWidget *parent, CardDatabaseModel *databaseModel)
CardDatabaseViewgetDatabaseView () const

Private Slots

void retranslateUi ()
void onRelatedCardClicked (const QString &relatedCard)

Private Member Functions

void highlightAllSearchEdit ()

Private Attributes

CardDatabaseDisplayModeldatabaseDisplayModel
CardDatabaseViewdatabaseView
QHBoxLayout * searchLayout
SearchLineEditsearchEdit
QAction * aAddCard
QAction * aAddCardToSideboard
QVBoxLayout * centralFrame
QWidget * centralWidget

Constructor & Destructor Documentation

◆ DeckEditorDatabaseDisplayWidget()

DeckEditorDatabaseDisplayWidget::DeckEditorDatabaseDisplayWidget ( QWidget * parent,
CardDatabaseModel * databaseModel )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ actAddCardToMainDeck

void DeckEditorDatabaseDisplayWidget::actAddCardToMainDeck ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actAddCardToSideboard

void DeckEditorDatabaseDisplayWidget::actAddCardToSideboard ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addCard

void DeckEditorDatabaseDisplayWidget::addCard ( const QString & cardName,
const QString & zoneName )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cardAdded

void DeckEditorDatabaseDisplayWidget::cardAdded ( const ExactCard & card,
const QString & zoneName )
signal
Here is the caller graph for this function:

◆ cardChanged

void DeckEditorDatabaseDisplayWidget::cardChanged ( const ExactCard & _card)
signal
Here is the caller graph for this function:

◆ cardDecremented

void DeckEditorDatabaseDisplayWidget::cardDecremented ( const ExactCard & card,
const QString & zoneName )
signal
Here is the caller graph for this function:

◆ cardInfoRequested

void DeckEditorDatabaseDisplayWidget::cardInfoRequested ( const ExactCard & card)
signal
Here is the caller graph for this function:

◆ clearAllDatabaseFilters

void DeckEditorDatabaseDisplayWidget::clearAllDatabaseFilters ( )
slot

◆ decrementCard

void DeckEditorDatabaseDisplayWidget::decrementCard ( const QString & cardName,
const QString & zoneName )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ edhrecRequested

void DeckEditorDatabaseDisplayWidget::edhrecRequested ( const CardInfoPtr & cardInfo,
bool isCommander )
signal
Here is the caller graph for this function:

◆ getDatabaseView()

CardDatabaseView * DeckEditorDatabaseDisplayWidget::getDatabaseView ( ) const
inline

◆ highlightAllSearchEdit()

void DeckEditorDatabaseDisplayWidget::highlightAllSearchEdit ( )
private
Here is the caller graph for this function:

◆ onRelatedCardClicked

void DeckEditorDatabaseDisplayWidget::onRelatedCardClicked ( const QString & relatedCard)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ printingSelectorRequested

void DeckEditorDatabaseDisplayWidget::printingSelectorRequested ( )
signal
Here is the caller graph for this function:

◆ retranslateUi

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

◆ setFilterTree

void DeckEditorDatabaseDisplayWidget::setFilterTree ( FilterTree * filterTree)
slot

◆ updateCard

void DeckEditorDatabaseDisplayWidget::updateCard ( const QString & cardName)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ aAddCard

QAction* DeckEditorDatabaseDisplayWidget::aAddCard
private

◆ aAddCardToSideboard

QAction * DeckEditorDatabaseDisplayWidget::aAddCardToSideboard
private

◆ centralFrame

QVBoxLayout* DeckEditorDatabaseDisplayWidget::centralFrame
private

◆ centralWidget

QWidget* DeckEditorDatabaseDisplayWidget::centralWidget
private

◆ databaseDisplayModel

CardDatabaseDisplayModel* DeckEditorDatabaseDisplayWidget::databaseDisplayModel
private

◆ databaseView

CardDatabaseView* DeckEditorDatabaseDisplayWidget::databaseView
private

◆ searchEdit

SearchLineEdit* DeckEditorDatabaseDisplayWidget::searchEdit
private

◆ searchLayout

QHBoxLayout* DeckEditorDatabaseDisplayWidget::searchLayout
private

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