PIVX Core  5.6.99
P2P Digital Currency
contactdropdownrow.h
Go to the documentation of this file.
1 // Copyright (c) 2019 The PIVX Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef PIVX_QT_CONTACTDROPDOWNROW_H
6 #define PIVX_QT_CONTACTDROPDOWNROW_H
7 
8 #include <QWidget>
9 
10 namespace Ui {
11 class ContactDropdownRow;
12 }
13 
14 class ContactDropdownRow : public QWidget
15 {
16  Q_OBJECT
17 
18 public:
19  explicit ContactDropdownRow(QWidget *parent = nullptr);
21 
22  void init(bool isLightTheme, bool isHover);
23  void update(bool isLightTheme, bool isHover, bool isSelected);
24  void setData(QString address, QString label);
25 
26 private:
27  Ui::ContactDropdownRow *ui;
28 };
29 
30 #endif // PIVX_QT_CONTACTDROPDOWNROW_H
void update(bool isLightTheme, bool isHover, bool isSelected)
void init(bool isLightTheme, bool isHover)
void setData(QString address, QString label)
ContactDropdownRow(QWidget *parent=nullptr)
Ui::ContactDropdownRow * ui
bool isLightTheme()
Definition: qtutils.cpp:210