mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Implement filter row instead of tabs, allows for more expressive filters
This commit is contained in:
parent
19a5975d5a
commit
ceb6d4e11d
13 changed files with 444 additions and 110 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "guiutil.h"
|
||||
#include "bitcoinaddressvalidator.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QDateTime>
|
||||
|
|
@ -36,3 +37,12 @@ void GUIUtil::setupAmountWidget(QLineEdit *widget, QWidget *parent)
|
|||
widget->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
}
|
||||
|
||||
bool GUIUtil::parseMoney(const QString &amount, qint64 *val_out)
|
||||
{
|
||||
return ParseMoney(amount.toStdString(), *val_out);
|
||||
}
|
||||
|
||||
QString GUIUtil::formatMoney(qint64 amount, bool plussign)
|
||||
{
|
||||
return QString::fromStdString(FormatMoney(amount, plussign));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue