mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
Added a Status Label for typing..., to display on top of the textedit and not more on statusbar.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d352621f74
commit
a0e426a527
2 changed files with 47 additions and 25 deletions
|
@ -360,6 +360,7 @@ void PopupChatDialog::contextMenu( QPoint point )
|
|||
void PopupChatDialog::resetStatusBar()
|
||||
{
|
||||
statusBar()->showMessage(tr("Chatting with ") + QString::fromStdString(dialogName)) ;
|
||||
ui.statusLabel->setText(QString("")) ;
|
||||
}
|
||||
|
||||
void PopupChatDialog::updateStatusTyping()
|
||||
|
@ -376,7 +377,8 @@ void PopupChatDialog::updateStatusTyping()
|
|||
//
|
||||
void PopupChatDialog::updateStatusString(const QString& status_string)
|
||||
{
|
||||
statusBar()->showMessage(status_string,5000) ; // displays info for 5 secs.
|
||||
//statusBar()->showMessage(status_string,5000) ; // displays info for 5 secs.
|
||||
ui.statusLabel->setText(status_string) ; // displays info for 5 secs.
|
||||
|
||||
QTimer::singleShot(5000,this,SLOT(resetStatusBar())) ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue