coincontroltreewidget.h raw
1 // Copyright (c) 2011-present The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef BITCOIN_QT_COINCONTROLTREEWIDGET_H
6 #define BITCOIN_QT_COINCONTROLTREEWIDGET_H
7
8 #include <QKeyEvent>
9 #include <QTreeWidget>
10
11 class CoinControlTreeWidget : public QTreeWidget
12 {
13 Q_OBJECT
14
15 public:
16 explicit CoinControlTreeWidget(QWidget *parent = nullptr);
17
18 protected:
19 virtual void keyPressEvent(QKeyEvent *event) override;
20 };
21
22 #endif // BITCOIN_QT_COINCONTROLTREEWIDGET_H
23