From fe9bf29b3bbaa12e4f4be286408473ac6f4dd4f8 Mon Sep 17 00:00:00 2001 From: xiaoming <2014500726@smail.xtu.edu.cn> Date: Tue, 27 Aug 2024 17:38:53 +0800 Subject: [PATCH] Add ToolTip to the connection bar Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn> --- CHANGELOG.md | 2 ++ docs/changelog.md | 1 + src/mainwindow.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d94b397b..8aded823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,12 @@ en-US: - Automatically use the default configuration if the Profile does not exist on Windows +- Add ToolTip to the connection bar zh-CN: - Windows下Profile如果不存在则自动使用默认配置 +- 增加连接条ToolTip显示 ## [[V0.5.0](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.5.0)] - 2024-08-26 diff --git a/docs/changelog.md b/docs/changelog.md index d89d8def..8d1479b7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,7 @@ ## [[Unrelease](https://github.com/QQxiaoming/quardCRT)] - Automatically use the default configuration if the Profile does not exist on Windows +- Add ToolTip to the connection bar ## [[V0.5.0](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.5.0)] - 2024-08-26 diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b66fc8c3..039a02e1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1655,6 +1655,7 @@ void CentralWidget::menuAndToolBarRetranslateUi(void) { disconnectAction->setStatusTip(tr("Disconnect current session")); connectAddressEdit->setPlaceholderText(tr("Enter host to connect")); connectAddressEdit->setStatusTip(tr("Enter host to connect")); + connectAddressEdit->setToolTip(tr("Enter host to connect")); disconnectAllAction->setText(tr("Disconnect All")); disconnectAllAction->setStatusTip(tr("Disconnect all sessions")); cloneSessionAction->setText(tr("Clone Session"));