Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletframe.cpp
// 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. | ||||
#include "walletframe.h" | #include <qt/walletframe.h> | ||||
#include "walletmodel.h" | |||||
#include "bitcoingui.h" | #include <qt/bitcoingui.h> | ||||
#include "walletview.h" | #include <qt/walletmodel.h> | ||||
#include <qt/walletview.h> | |||||
#include <cassert> | |||||
#include <cstdio> | |||||
#include <QHBoxLayout> | #include <QHBoxLayout> | ||||
#include <QLabel> | #include <QLabel> | ||||
#include <cassert> | |||||
#include <cstdio> | |||||
WalletFrame::WalletFrame(const PlatformStyle *_platformStyle, | WalletFrame::WalletFrame(const PlatformStyle *_platformStyle, | ||||
const Config *configIn, BitcoinGUI *_gui) | const Config *configIn, BitcoinGUI *_gui) | ||||
: QFrame(_gui), gui(_gui), platformStyle(_platformStyle), config(configIn) { | : QFrame(_gui), gui(_gui), platformStyle(_platformStyle), config(configIn) { | ||||
// Leave HBox hook for adding a list view later | // Leave HBox hook for adding a list view later | ||||
QHBoxLayout *walletFrameLayout = new QHBoxLayout(this); | QHBoxLayout *walletFrameLayout = new QHBoxLayout(this); | ||||
setContentsMargins(0, 0, 0, 0); | setContentsMargins(0, 0, 0, 0); | ||||
walletStack = new QStackedWidget(this); | walletStack = new QStackedWidget(this); | ||||
walletFrameLayout->setContentsMargins(0, 0, 0, 0); | walletFrameLayout->setContentsMargins(0, 0, 0, 0); | ||||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |