* 1/3 Add .clang-format file and travis compilation check * 2/3 Run clang-format * 3/3 Fix compilation problems due to include reordering * 3bis/3 AfterControlStatement: false
31 lines
568 B
C++
31 lines
568 B
C++
#ifndef DLG_LOAD_DECK_FROM_CLIPBOARD_H
|
|
#define DLG_LOAD_DECK_FROM_CLIPBOARD_H
|
|
|
|
#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;
|
|
|
|
public:
|
|
explicit DlgLoadDeckFromClipboard(QWidget *parent = nullptr);
|
|
DeckLoader *getDeckList() const
|
|
{
|
|
return deckList;
|
|
}
|
|
};
|
|
|
|
#endif
|