Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DeckPreviewDeckTagsDisplayWidget Class Reference

#include <deck_preview_deck_tags_display_widget.h>

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

Public Slots

void openTagEditDlg ()

Signals

void tagsChanged (const QStringList &tags)

Public Member Functions

 DeckPreviewDeckTagsDisplayWidget (QWidget *_parent, const QStringList &_tags)
void setTags (const QStringList &_tags)
void refreshTags ()

Private Member Functions

bool promptFileConversionIfRequired (DeckPreviewWidget *deckPreviewWidget)
void execTagDialog (const QStringList &knownTags)

Private Attributes

QStringList currentTags
FlowWidgetflowWidget

Constructor & Destructor Documentation

◆ DeckPreviewDeckTagsDisplayWidget()

DeckPreviewDeckTagsDisplayWidget::DeckPreviewDeckTagsDisplayWidget ( QWidget * _parent,
const QStringList & _tags )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ execTagDialog()

void DeckPreviewDeckTagsDisplayWidget::execTagDialog ( const QStringList & knownTags)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openTagEditDlg

void DeckPreviewDeckTagsDisplayWidget::openTagEditDlg ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ promptFileConversionIfRequired()

bool DeckPreviewDeckTagsDisplayWidget::promptFileConversionIfRequired ( DeckPreviewWidget * deckPreviewWidget)
private

Checks if the deck's file format supports tags. If not, then prompt the user for file conversion.

Returns
whether the resulting file can support adding tags
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshTags()

void DeckPreviewDeckTagsDisplayWidget::refreshTags ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTags()

void DeckPreviewDeckTagsDisplayWidget::setTags ( const QStringList & _tags)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tagsChanged

void DeckPreviewDeckTagsDisplayWidget::tagsChanged ( const QStringList & tags)
signal

Emitted when the tags have changed due to user interaction.

Parameters
tagsThe new list of tags.
Here is the caller graph for this function:

Member Data Documentation

◆ currentTags

QStringList DeckPreviewDeckTagsDisplayWidget::currentTags
private

◆ flowWidget

FlowWidget* DeckPreviewDeckTagsDisplayWidget::flowWidget
private

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