Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Typedefs | Functions
guiutil.h File Reference
#include <amount.h>
#include <fs.h>
#include <QEvent>
#include <QHeaderView>
#include <QMessageBox>
#include <QObject>
#include <QProgressBar>
#include <QString>
#include <QTableView>
#include <QLabel>
#include <QToolButton>
Include dependency graph for guiutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GUIUtil::ToolTipToRichTextFilter
 Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text representation if needed. More...
 
class  GUIUtil::TableViewLastColumnResizingFixer
 Makes a QTableView last column feel as if it was being resized from its left border. More...
 
class  GUIUtil::ClickableLabel
 
class  GUIUtil::ClickableProgressBar
 

Namespaces

 GUIUtil
 Utility functions used by the Fabcoin Qt UI.
 

Typedefs

typedef ClickableProgressBar GUIUtil::ProgressBar
 

Functions

QString GUIUtil::dateTimeStr (const QDateTime &date)
 
QString GUIUtil::dateTimeStr (qint64 nTime)
 
QFont GUIUtil::fixedPitchFont ()
 
void GUIUtil::setupAddressWidget (QValidatedLineEdit *widget, QWidget *parent)
 
void GUIUtil::setupAmountWidget (QLineEdit *widget, QWidget *parent)
 
bool GUIUtil::parseFabcoinURI (const QUrl &uri, SendCoinsRecipient *out)
 
bool GUIUtil::parseFabcoinURI (QString uri, SendCoinsRecipient *out)
 
QString GUIUtil::formatFabcoinURI (const SendCoinsRecipient &info)
 
bool GUIUtil::isDust (const QString &address, const CAmount &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...
 
void GUIUtil::copyEntryDataFromList (QAbstractItemView *view, int role=Qt::EditRole)
 Copy a field of the currently selected entry of a view to the clipboard. More...
 
QList< QModelIndex > GUIUtil::getEntryData (QAbstractItemView *view, int column)
 Return a field of the currently selected entry as a QString. More...
 
void GUIUtil::setClipboard (const QString &str)
 
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::isObscured (QWidget *w)
 
void GUIUtil::openDebugLogfile ()
 
bool GUIUtil::openFabcoinConf ()
 
void GUIUtil::SubstituteFonts (const QString &language)
 
bool GUIUtil::GetStartOnSystemStartup ()
 
bool GUIUtil::SetStartOnSystemStartup (bool fAutoStart)
 
fs::path GUIUtil::qstringToBoostPath (const QString &path)
 
QString GUIUtil::boostPathToQString (const fs::path &path)
 
QString GUIUtil::formatDurationStr (int secs)
 
QString GUIUtil::formatServicesStr (quint64 mask)
 
QString GUIUtil::formatPingTime (double dPingTime)
 
QString GUIUtil::formatTimeOffset (int64_t nTimeOffset)
 
QString GUIUtil::formatNiceTimeOffset (qint64 secs)
 
void GUIUtil::formatToolButtons (QToolButton *btn1, QToolButton *btn2, QToolButton *btn3)