Changeset View
Changeset View
Standalone View
Standalone View
src/qt/guiutil.h
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 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_GUIUTIL_H | #ifndef BITCOIN_QT_GUIUTIL_H | ||||
#define BITCOIN_QT_GUIUTIL_H | #define BITCOIN_QT_GUIUTIL_H | ||||
#include <amount.h> | #include <amount.h> | ||||
#include <fs.h> | #include <fs.h> | ||||
#include <QEvent> | #include <QEvent> | ||||
#include <QHeaderView> | #include <QHeaderView> | ||||
#include <QItemDelegate> | |||||
#include <QLabel> | #include <QLabel> | ||||
#include <QMessageBox> | #include <QMessageBox> | ||||
#include <QObject> | #include <QObject> | ||||
#include <QProgressBar> | #include <QProgressBar> | ||||
#include <QString> | #include <QString> | ||||
#include <QTableView> | #include <QTableView> | ||||
class QValidatedLineEdit; | class QValidatedLineEdit; | ||||
▲ Show 20 Lines • Show All 239 Lines • ▼ Show 20 Lines | Q_SIGNALS: | ||||
void clicked(const QPoint &point); | void clicked(const QPoint &point); | ||||
protected: | protected: | ||||
void mouseReleaseEvent(QMouseEvent *event) override; | void mouseReleaseEvent(QMouseEvent *event) override; | ||||
}; | }; | ||||
typedef ClickableProgressBar ProgressBar; | typedef ClickableProgressBar ProgressBar; | ||||
class ItemDelegate : public QItemDelegate { | |||||
Q_OBJECT | |||||
public: | |||||
ItemDelegate(QObject *parent) : QItemDelegate(parent) {} | |||||
Q_SIGNALS: | |||||
void keyEscapePressed(); | |||||
private: | |||||
bool eventFilter(QObject *object, QEvent *event); | |||||
}; | |||||
} // namespace GUIUtil | } // namespace GUIUtil | ||||
#endif // BITCOIN_QT_GUIUTIL_H | #endif // BITCOIN_QT_GUIUTIL_H |