You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
574 B
26 lines
574 B
// Copyright 2019-2021 The Hush developers
|
|
// Released under the GPLv3
|
|
#ifndef ADDRESSCOMBO_H
|
|
#define ADDRESSCOMBO_H
|
|
|
|
#include "precompiled.h"
|
|
|
|
class AddressCombo : public QComboBox
|
|
{
|
|
Q_OBJECT;
|
|
public:
|
|
explicit AddressCombo(QWidget* parent = nullptr);
|
|
|
|
QString itemText(int i);
|
|
QString currentText();
|
|
|
|
void addItem(const QString& itemText, double bal);
|
|
void insertItem(int index, const QString& text, double bal = 0.0);
|
|
|
|
public slots:
|
|
void setCurrentText(const QString& itemText);
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // ADDRESSCOMBO_H
|
|
|