Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) 2011-present The Bitcoin Core developers2// Distributed under the MIT software license, see the accompanying3// file COPYING or http://www.opensource.org/licenses/mit-license.php.5#ifndef BITCOIN_QT_OVERVIEWPAGE_H6#define BITCOIN_QT_OVERVIEWPAGE_H8#include <interfaces/wallet.h>10#include <QWidget>11#include <memory>13class ClientModel;14class TransactionFilterProxy;15class TxViewDelegate;16class PlatformStyle;17class WalletModel;19namespace Ui {20class OverviewPage;21}23QT_BEGIN_NAMESPACE24class QModelIndex;25QT_END_NAMESPACE27/** Overview ("home") page widget */28class OverviewPage : public QWidget29{30Q_OBJECT32public:33explicit OverviewPage(const PlatformStyle *platformStyle, QWidget *parent = nullptr);34~OverviewPage();36void setClientModel(ClientModel *clientModel);37void setWalletModel(WalletModel *walletModel);38void showOutOfSyncWarning(bool fShow);40public Q_SLOTS:41void setBalance(const interfaces::WalletBalances& balances);42void setPrivacy(bool privacy);44Q_SIGNALS:45void transactionClicked(const QModelIndex &index);46void outOfSyncWarningClicked();48protected:49void changeEvent(QEvent* e) override;51private:52Ui::OverviewPage *ui;53ClientModel* clientModel{nullptr};54WalletModel* walletModel{nullptr};55bool m_privacy{false};57const PlatformStyle* m_platform_style;59TxViewDelegate *txdelegate;60std::unique_ptr<TransactionFilterProxy> filter;62private Q_SLOTS:63void LimitTransactionRows();64void updateDisplayUnit();65void handleTransactionClicked(const QModelIndex &index);66void updateAlerts(const QString &warnings);67void setMonospacedFont(const QFont&);68};70#endif // BITCOIN_QT_OVERVIEWPAGE_H
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.