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

#include <dlg_load_deck_from_clipboard.h>

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

Public Member Functions

 DlgEditDeckInClipboard (const DeckList &_deckList, bool _annotated, QWidget *parent=nullptr)
const DeckListgetDeckList () override
Public Member Functions inherited from AbstractDlgDeckTextEdit
 AbstractDlgDeckTextEdit (QWidget *parent=nullptr)

Protected Slots

void actOK () override
void actRefresh () override
Protected Slots inherited from AbstractDlgDeckTextEdit
virtual void actOK ()=0
virtual void actRefresh ()=0

Private Attributes

DeckList deckList
bool annotated

Additional Inherited Members

Protected Member Functions inherited from AbstractDlgDeckTextEdit
void setText (const QString &text)
bool loadIntoDeck (DeckList &deckList) const
void keyPressEvent (QKeyEvent *event) override

Detailed Description

Dialog window for the "Edit deck in clipboard" action

Constructor & Destructor Documentation

◆ DlgEditDeckInClipboard()

DlgEditDeckInClipboard::DlgEditDeckInClipboard ( const DeckList & _deckList,
bool _annotated,
QWidget * parent = nullptr )
explicit

Creates the dialog window for the "Edit deck in clipboard" action

Parameters
_deckListThe existing deck in the deck editor.
_annotatedWhether to add annotations to the text that is loaded from the deck
parentThe parent widget
Here is the call graph for this function:

Member Function Documentation

◆ actOK

void DlgEditDeckInClipboard::actOK ( )
overrideprotectedslot
Here is the call graph for this function:

◆ actRefresh

void DlgEditDeckInClipboard::actRefresh ( )
overrideprotectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDeckList()

const DeckList & DlgEditDeckInClipboard::getDeckList ( )
inlinenodiscardoverridevirtual

Gets the loaded deck. Only call this method after this dialog window has been successfully exec'd.

Returns
The loaded decklist

Implements AbstractDlgDeckTextEdit.

Here is the caller graph for this function:

Member Data Documentation

◆ annotated

bool DlgEditDeckInClipboard::annotated
private

◆ deckList

DeckList DlgEditDeckInClipboard::deckList
private

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