Changeset View
Changeset View
Standalone View
Standalone View
src/qt/overviewpage.cpp
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
int unit; | int unit; | ||||
const PlatformStyle *platformStyle; | const PlatformStyle *platformStyle; | ||||
}; | }; | ||||
#include <qt/overviewpage.moc> | #include <qt/overviewpage.moc> | ||||
OverviewPage::OverviewPage(const PlatformStyle *platformStyle, QWidget *parent) | OverviewPage::OverviewPage(const PlatformStyle *platformStyle, QWidget *parent) | ||||
: QWidget(parent), ui(new Ui::OverviewPage), clientModel(0), walletModel(0), | : QWidget(parent), ui(new Ui::OverviewPage), clientModel(nullptr), | ||||
walletModel(nullptr), | |||||
txdelegate(new TxViewDelegate(platformStyle, this)) { | txdelegate(new TxViewDelegate(platformStyle, this)) { | ||||
ui->setupUi(this); | ui->setupUi(this); | ||||
m_balances.balance = -SATOSHI; | m_balances.balance = -SATOSHI; | ||||
// use a SingleColorIcon for the "out of sync warning" icon | // use a SingleColorIcon for the "out of sync warning" icon | ||||
QIcon icon = platformStyle->SingleColorIcon(":/icons/warning"); | QIcon icon = platformStyle->SingleColorIcon(":/icons/warning"); | ||||
// also set the disabled icon because we are using a disabled QPushButton to | // also set the disabled icon because we are using a disabled QPushButton to | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |