Changeset View
Changeset View
Standalone View
Standalone View
src/qt/guiutil.h
Show All 23 Lines | |||||
class Config; | class Config; | ||||
namespace interfaces { | namespace interfaces { | ||||
class Node; | class Node; | ||||
} | } | ||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
class QAbstractItemView; | class QAbstractItemView; | ||||
class QAction; | |||||
class QDateTime; | class QDateTime; | ||||
class QFont; | class QFont; | ||||
class QLineEdit; | class QLineEdit; | ||||
class QMenu; | |||||
class QPoint; | |||||
class QProgressDialog; | class QProgressDialog; | ||||
class QUrl; | class QUrl; | ||||
class QWidget; | class QWidget; | ||||
QT_END_NAMESPACE | QT_END_NAMESPACE | ||||
/** | /** | ||||
* Utility functions used by the Bitcoin Qt UI. | * Utility functions used by the Bitcoin Qt UI. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
int TextWidth(const QFontMetrics &fm, const QString &text); | int TextWidth(const QFontMetrics &fm, const QString &text); | ||||
/** | /** | ||||
* Writes to debug.log short info about the used Qt and the host system. | * Writes to debug.log short info about the used Qt and the host system. | ||||
*/ | */ | ||||
void LogQtInfo(); | void LogQtInfo(); | ||||
/** | |||||
* Call QMenu::popup() only on supported QT_QPA_PLATFORM. | |||||
*/ | |||||
void PopupMenu(QMenu *menu, const QPoint &point, QAction *at_action = nullptr); | |||||
// Fix known bugs in QProgressDialog class. | // Fix known bugs in QProgressDialog class. | ||||
void PolishProgressDialog(QProgressDialog *dialog); | void PolishProgressDialog(QProgressDialog *dialog); | ||||
} // namespace GUIUtil | } // namespace GUIUtil | ||||
#endif // BITCOIN_QT_GUIUTIL_H | #endif // BITCOIN_QT_GUIUTIL_H |