mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 10:22:15 -07:00
* Add options to include/exclude set name and collector number during clipboard import/export. * Missing parentheses in action label. * Revert the silliest lint in the world. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
36 lines
697 B
C++
36 lines
697 B
C++
#ifndef DLG_LOAD_DECK_FROM_CLIPBOARD_H
|
|
#define DLG_LOAD_DECK_FROM_CLIPBOARD_H
|
|
|
|
#include <QCheckBox>
|
|
#include <QDialog>
|
|
|
|
class DeckLoader;
|
|
class QPlainTextEdit;
|
|
class QPushButton;
|
|
|
|
class DlgLoadDeckFromClipboard : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
private slots:
|
|
void actOK();
|
|
void actRefresh();
|
|
void refreshShortcuts();
|
|
|
|
private:
|
|
DeckLoader *deckList;
|
|
QPlainTextEdit *contentsEdit;
|
|
QPushButton *refreshButton;
|
|
QCheckBox *loadSetNameAndNumberCheckBox;
|
|
|
|
public:
|
|
explicit DlgLoadDeckFromClipboard(QWidget *parent = nullptr);
|
|
DeckLoader *getDeckList() const
|
|
{
|
|
return deckList;
|
|
}
|
|
|
|
protected:
|
|
void keyPressEvent(QKeyEvent *event) override;
|
|
};
|
|
|
|
#endif
|