mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 19:13:55 -07:00
load deck from clipboard; closing feature request 0000019
This commit is contained in:
parent
e6e20cb048
commit
ca12aeb5a7
10 changed files with 498 additions and 280 deletions
25
cockatrice/src/dlg_load_deck_from_clipboard.h
Normal file
25
cockatrice/src/dlg_load_deck_from_clipboard.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef DLG_LOAD_DECK_FROM_CLIPBOARD_H
|
||||
#define DLG_LOAD_DECK_FROM_CLIPBOARD_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class DeckList;
|
||||
class QPlainTextEdit;
|
||||
class QPushButton;
|
||||
|
||||
class DlgLoadDeckFromClipboard : public QDialog {
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void actOK();
|
||||
void actRefresh();
|
||||
private:
|
||||
DeckList *deckList;
|
||||
public:
|
||||
DlgLoadDeckFromClipboard(QWidget *parent = 0);
|
||||
DeckList *getDeckList() const { return deckList; }
|
||||
private:
|
||||
QPlainTextEdit *contentsEdit;
|
||||
QPushButton *refreshButton, *okButton, *cancelButton;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue