Changeset View
Changeset View
Standalone View
Standalone View
src/qt/guiutil.h
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | |||||
* N/A, if 0*/ | * N/A, if 0*/ | ||||
QString formatPingTime(double dPingTime); | QString formatPingTime(double dPingTime); | ||||
/* Format a CNodeCombinedStats.nTimeOffset into a user-readable string. */ | /* Format a CNodeCombinedStats.nTimeOffset into a user-readable string. */ | ||||
QString formatTimeOffset(int64_t nTimeOffset); | QString formatTimeOffset(int64_t nTimeOffset); | ||||
QString formatNiceTimeOffset(qint64 secs); | QString formatNiceTimeOffset(qint64 secs); | ||||
QString formatBytes(uint64_t bytes); | |||||
class ClickableLabel : public QLabel { | class ClickableLabel : public QLabel { | ||||
Q_OBJECT | Q_OBJECT | ||||
Q_SIGNALS: | Q_SIGNALS: | ||||
/** Emitted when the label is clicked. The relative mouse coordinates of the | /** Emitted when the label is clicked. The relative mouse coordinates of the | ||||
* click are passed to the signal. | * click are passed to the signal. | ||||
*/ | */ | ||||
void clicked(const QPoint &point); | void clicked(const QPoint &point); | ||||
Show All 36 Lines |