forked from qt-creator/qt-creator
Welcome: Show the url of link buttons as tool tip
Less secretiveness about what these buttons do. Change-Id: I145e5a3e62ccaffd2d1cb97614154a0ef43e1369 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -147,6 +147,7 @@ public:
|
|||||||
{
|
{
|
||||||
setAutoFillBackground(true);
|
setAutoFillBackground(true);
|
||||||
setMinimumHeight(30);
|
setMinimumHeight(30);
|
||||||
|
setToolTip(m_openUrl);
|
||||||
|
|
||||||
const QString fileName = QString(":/welcome/images/%1.png").arg(iconSource);
|
const QString fileName = QString(":/welcome/images/%1.png").arg(iconSource);
|
||||||
const Icon icon({{fileName, Theme::Welcome_ForegroundPrimaryColor}}, Icon::Tint);
|
const Icon icon({{fileName, Theme::Welcome_ForegroundPrimaryColor}}, Icon::Tint);
|
||||||
@@ -191,7 +192,7 @@ public:
|
|||||||
|
|
||||||
QString m_iconSource;
|
QString m_iconSource;
|
||||||
QString m_title;
|
QString m_title;
|
||||||
QString m_openUrl;
|
const QString m_openUrl;
|
||||||
|
|
||||||
QLabel *m_icon;
|
QLabel *m_icon;
|
||||||
QLabel *m_label;
|
QLabel *m_label;
|
||||||
|
|||||||
Reference in New Issue
Block a user