mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Less agressive tooltip
This commit is contained in:
parent
b908852e3b
commit
ad09980ce7
|
@ -75,6 +75,7 @@ ProfileForm::ProfileForm(QWidget *parent) :
|
||||||
toxId->setReadOnly(true);
|
toxId->setReadOnly(true);
|
||||||
toxId->setFrame(false);
|
toxId->setFrame(false);
|
||||||
toxId->setFont(Style::getFont(Style::Small));
|
toxId->setFont(Style::getFont(Style::Small));
|
||||||
|
toxId->setToolTip(bodyUI->toxId->toolTip());
|
||||||
|
|
||||||
QVBoxLayout *toxIdGroup = qobject_cast<QVBoxLayout*>(bodyUI->toxGroup->layout());
|
QVBoxLayout *toxIdGroup = qobject_cast<QVBoxLayout*>(bodyUI->toxGroup->layout());
|
||||||
toxIdGroup->replaceWidget(bodyUI->toxId, toxId);
|
toxIdGroup->replaceWidget(bodyUI->toxId, toxId);
|
||||||
|
|
|
@ -82,23 +82,28 @@
|
||||||
</item>
|
</item>
|
||||||
<item alignment="Qt::AlignTop">
|
<item alignment="Qt::AlignTop">
|
||||||
<widget class="QGroupBox" name="toxGroup">
|
<widget class="QGroupBox" name="toxGroup">
|
||||||
<property name="toolTip">
|
|
||||||
<string comment="Tox ID tooltip">This bunch of characters tells other Tox clients how to contact you.
|
|
||||||
Share it with your friends to communicate.</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Tox ID</string>
|
<string>Tox ID</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
<item>
|
<item>
|
||||||
<widget class="CroppingLabel" name="toxIdLabel">
|
<widget class="CroppingLabel" name="toxIdLabel">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string comment="Tox ID tooltip">This bunch of characters tells other Tox clients how to contact you.
|
||||||
|
Share it with your friends to communicate.</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Your Tox ID (click to copy)</string>
|
<string>Your Tox ID (click to copy)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="toxId"/>
|
<widget class="QLineEdit" name="toxId">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string comment="Tox ID tooltip">This bunch of characters tells other Tox clients how to contact you.
|
||||||
|
Share it with your friends to communicate.</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="verticalFrame">
|
<widget class="QFrame" name="verticalFrame">
|
||||||
|
@ -119,7 +124,7 @@ Share it with your friends to communicate.</string>
|
||||||
<item alignment="Qt::AlignTop">
|
<item alignment="Qt::AlignTop">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Share this code, so friends can add you</string>
|
<string>This QR code contains your Tox ID. You may share this with your friends as well.</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user