Fabcoin Core  0.16.2
P2P Digital Currency
titlebar.h
Go to the documentation of this file.
1 #ifndef TITLEBAR_H
2 #define TITLEBAR_H
3 
4 #include <QWidget>
5 #include <QSize>
6 #include <QTabBar>
7 #include <QIcon>
8 #include <walletmodel.h>
9 
10 namespace Ui {
11 class TitleBar;
12 }
13 class WalletModel;
14 class TabBarInfo;
15 class PlatformStyle;
16 
20 class TitleBar : public QWidget
21 {
22  Q_OBJECT
23 public:
28  explicit TitleBar(const PlatformStyle *platformStyle, QWidget *parent = 0);
29 
33  ~TitleBar();
34 
39  void setModel(WalletModel *_model);
40 
45  void setTabBarInfo(QObject* info);
46 
47 Q_SIGNALS:
48 
49 public Q_SLOTS:
53  void setBalance(const CAmount& balance, const CAmount& unconfirmedBalance, const CAmount& immatureBalance, const CAmount& stake,
54  const CAmount& watchBalance, const CAmount& watchUnconfirmedBalance, const CAmount& watchImmatureBalance, const CAmount& watchStake);
55 
60  void on_navigationResized(const QSize& _size);
61 
62 private:
67 };
68 
69 #endif // TITLEBAR_H
struct evm_uint256be balance(struct evm_env *env, struct evm_uint160be address)
Definition: capi.c:7
WalletModel * model
Definition: titlebar.h:64
TabBarInfo * m_tab
Definition: titlebar.h:65
int64_t CAmount
Amount in lius (Can be negative)
Definition: amount.h:15
QIcon m_iconCloseTab
Definition: titlebar.h:66
The TitleBar class Title bar widget.
Definition: titlebar.h:20
Ui::TitleBar * ui
Definition: titlebar.h:63
Interface to Fabcoin wallet from Qt view code.
Definition: walletmodel.h:103
The TabBarInfo class Class for informations about tabs.
Definition: tabbarinfo.h:13