Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
guiutil.cpp File Reference
#include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "bitcoinunits.h"
#include "qvalidatedlineedit.h"
#include "walletmodel.h"
#include "core.h"
#include "init.h"
#include "util.h"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <QAbstractItemView>
#include <QApplication>
#include <QClipboard>
#include <QDateTime>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QDoubleValidator>
#include <QFileDialog>
#include <QFont>
#include <QLineEdit>
#include <QSettings>
#include <QTextDocument>
#include <QThread>
#include <QUrl>
+ Include dependency graph for guiutil.cpp:

Go to the source code of this file.

Namespaces

 GUIUtil
 Utility functions used by the Bitcoin Qt UI.
 

Functions

QString GUIUtil::dateTimeStr (const QDateTime &date)
 
QString GUIUtil::dateTimeStr (qint64 nTime)
 
QFont GUIUtil::bitcoinAddressFont ()
 
void GUIUtil::setupAddressWidget (QValidatedLineEdit *widget, QWidget *parent)
 
void GUIUtil::setupAmountWidget (QLineEdit *widget, QWidget *parent)
 
bool GUIUtil::parseBitcoinURI (const QUrl &uri, SendCoinsRecipient *out)
 
bool GUIUtil::parseBitcoinURI (QString uri, SendCoinsRecipient *out)
 
QString GUIUtil::formatBitcoinURI (const SendCoinsRecipient &info)
 
bool GUIUtil::isDust (const QString &address, qint64 amount)
 
QString GUIUtil::HtmlEscape (const QString &str, bool fMultiLine)
 
QString GUIUtil::HtmlEscape (const std::string &str, bool fMultiLine)
 
void GUIUtil::copyEntryData (QAbstractItemView *view, int column, int role=Qt::EditRole)
 Copy a field of the currently selected entry of a view to the clipboard. More...
 
QString GUIUtil::getSaveFileName (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedSuffixOut)
 Get save filename, mimics QFileDialog::getSaveFileName, except that it appends a default suffix when no suffix is provided by the user. More...
 
QString GUIUtil::getOpenFileName (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedSuffixOut)
 Get open filename, convenience wrapper for QFileDialog::getOpenFileName. More...
 
Qt::ConnectionType GUIUtil::blockingGUIThreadConnection ()
 Get connection type to call object slot in GUI thread with invokeMethod. More...
 
bool GUIUtil::checkPoint (const QPoint &p, const QWidget *w)
 
bool GUIUtil::isObscured (QWidget *w)
 
void GUIUtil::openDebugLogfile ()
 
void GUIUtil::SubstituteFonts ()
 Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text representation if needed. More...
 
bool GUIUtil::GetStartOnSystemStartup ()
 
bool GUIUtil::SetStartOnSystemStartup (bool fAutoStart)
 
void GUIUtil::saveWindowGeometry (const QString &strSetting, QWidget *parent)
 Save window size and position. More...
 
void GUIUtil::restoreWindowGeometry (const QString &strSetting, const QSize &defaultSizeIn, QWidget *parent)
 Restore window size and position. More...
 
void GUIUtil::setClipboard (const QString &str)
 
boost::filesystem::path GUIUtil::qstringToBoostPath (const QString &path)
 
QString GUIUtil::boostPathToQString (const boost::filesystem::path &path)