1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Add tooltips to chat buttons

Fixes #516
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-10-24 00:00:30 +02:00
parent 87f1ae2ccb
commit 8dcf5ef6f3
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -53,18 +53,25 @@ GenericChatForm::GenericChatForm(QWidget *parent) :
msgEdit = new ChatTextEdit();
sendButton = new QPushButton();
sendButton->setToolTip(tr("Send message"));
emoteButton = new QPushButton();
emoteButton->setToolTip(tr("Smileys"));
// Setting the sizes in the CSS doesn't work (glitch with high DPIs)
fileButton = new QPushButton();
fileButton->setToolTip(tr("Send a file"));
callButton = new QPushButton();
callButton->setFixedSize(50,40);
callButton->setToolTip(tr("Audio call"));
videoButton = new QPushButton();
videoButton->setFixedSize(50,40);
videoButton->setToolTip(tr("Video call"));
volButton = new QPushButton();
volButton->setFixedSize(25,20);
volButton->setToolTip(tr("Toggle speakers volume"));
micButton = new QPushButton();
micButton->setFixedSize(25,20);
micButton->setToolTip(tr("Toggle microphone"));
footButtonsSmall->setSpacing(2);