Implement filter row instead of tabs, allows for more expressive filters
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user