13 class SendCoinsRecipient;
15 /** Static utility functions used by the Bitcoin Qt UI.
20 // Create human-readable string from date
21 static QString dateTimeStr(qint64 nTime);
22 static QString dateTimeStr(const QDateTime &datetime);
24 // Render bitcoin addresses in monospace font
25 static QFont bitcoinAddressFont();
27 // Set up widgets for address and amounts
28 static void setupAddressWidget(QLineEdit *widget, QWidget *parent);
29 static void setupAmountWidget(QLineEdit *widget, QWidget *parent);
31 // Parse "bitcoin:" URL into recipient object, return true on succesful parsing
32 // See Bitcoin URL definition discussion here: https://bitcointalk.org/index.php?topic=33490.0
33 static bool parseBitcoinURL(const QUrl *url, SendCoinsRecipient *out);