#include <dlg_load_deck_from_clipboard.h>
Base class for dialog windows for actions that involve loading decks from text input.
◆ AbstractDlgDeckTextEdit()
| AbstractDlgDeckTextEdit::AbstractDlgDeckTextEdit |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Creates the main layout and connects the signals that are common to all versions of this window
◆ actOK
| virtual void AbstractDlgDeckTextEdit::actOK |
( |
| ) |
|
|
protectedpure virtualslot |
◆ actRefresh
| virtual void AbstractDlgDeckTextEdit::actRefresh |
( |
| ) |
|
|
protectedpure virtualslot |
◆ getDeckList()
| virtual const DeckList & AbstractDlgDeckTextEdit::getDeckList |
( |
| ) |
|
|
nodiscardpure virtual |
◆ keyPressEvent()
| void AbstractDlgDeckTextEdit::keyPressEvent |
( |
QKeyEvent * | event | ) |
|
|
overrideprotected |
◆ loadIntoDeck()
| bool AbstractDlgDeckTextEdit::loadIntoDeck |
( |
DeckList & | deckList | ) |
const |
|
protected |
Tries to load the current contents of the contentsEdit into the deckList
- Parameters
-
| deckList | The deckList to load the deck into |
- Returns
- Whether the loading was successful
◆ refreshShortcuts
| void AbstractDlgDeckTextEdit::refreshShortcuts |
( |
| ) |
|
|
privateslot |
◆ setText()
| void AbstractDlgDeckTextEdit::setText |
( |
const QString & | text | ) |
|
|
protected |
Replaces the contents of the contentsEdit with the given text.
- Parameters
-
◆ contentsEdit
| QPlainTextEdit* AbstractDlgDeckTextEdit::contentsEdit |
|
private |
◆ loadSetNameAndNumberCheckBox
| QCheckBox* AbstractDlgDeckTextEdit::loadSetNameAndNumberCheckBox |
|
private |
◆ refreshButton
| QPushButton* AbstractDlgDeckTextEdit::refreshButton |
|
private |
The documentation for this class was generated from the following files: