Changeset View
Changeset View
Standalone View
Standalone View
src/qt/coincontroltreewidget.h
// Copyright (c) 2011-2014 The Bitcoin Core developers | // Copyright (c) 2011-2014 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_QT_COINCONTROLTREEWIDGET_H | #ifndef BITCOIN_QT_COINCONTROLTREEWIDGET_H | ||||
#define BITCOIN_QT_COINCONTROLTREEWIDGET_H | #define BITCOIN_QT_COINCONTROLTREEWIDGET_H | ||||
#include <QKeyEvent> | #include <QKeyEvent> | ||||
#include <QTreeWidget> | #include <QTreeWidget> | ||||
class CoinControlTreeWidget : public QTreeWidget { | class CoinControlTreeWidget : public QTreeWidget { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
explicit CoinControlTreeWidget(QWidget *parent = 0); | explicit CoinControlTreeWidget(QWidget *parent = nullptr); | ||||
protected: | protected: | ||||
virtual void keyPressEvent(QKeyEvent *event) override; | virtual void keyPressEvent(QKeyEvent *event) override; | ||||
}; | }; | ||||
#endif // BITCOIN_QT_COINCONTROLTREEWIDGET_H | #endif // BITCOIN_QT_COINCONTROLTREEWIDGET_H |