#include <dlg_load_deck_from_clipboard.h>
Public Member Functions | |
| DlgEditDeckInClipboard (DeckLoader *_deckLoader, bool _annotated, QWidget *parent=nullptr) | |
| DeckLoader * | getDeckList () const 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 | |
| DeckLoader * | deckLoader |
| bool | annotated |
Additional Inherited Members | |
| Protected Member Functions inherited from AbstractDlgDeckTextEdit | |
| void | setText (const QString &text) |
| bool | loadIntoDeck (DeckLoader *deckLoader) const |
| void | keyPressEvent (QKeyEvent *event) override |
Dialog window for the "Edit deck in clipboard" action
|
explicit |
Creates the dialog window for the "Edit deck in clipboard" action
| _deckLoader | The existing deck in the deck editor. Copies the instance |
| _annotated | Whether to add annotations to the text that is loaded from the deck |
| parent | The parent widget |
|
overrideprotectedslot |
|
overrideprotectedslot |
|
inlinenodiscardoverridevirtual |
Gets the loaded deck. Only call this method after this dialog window has been successfully exec'd.
The returned DeckLoader is parented to this object; make sure to take ownership of the DeckLoader if you intend to use it, since otherwise it will get destroyed once this dlg is destroyed
Implements AbstractDlgDeckTextEdit.
|
private |
|
private |