mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-08-22 14:14:56 -04:00
fix: Change status bar icon for show chat
This commit is contained in:
@ -8,5 +8,7 @@
|
|||||||
<file>resources/images/improve-current-code-icon.png</file>
|
<file>resources/images/improve-current-code-icon.png</file>
|
||||||
<file>resources/images/suggest-new-icon.png</file>
|
<file>resources/images/suggest-new-icon.png</file>
|
||||||
<file>resources/images/suggest-new-icon@2x.png</file>
|
<file>resources/images/suggest-new-icon@2x.png</file>
|
||||||
|
<file>resources/images/qode-assist-chat-icon.png</file>
|
||||||
|
<file>resources/images/qode-assist-chat-icon@2x.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@ -128,6 +128,8 @@ public:
|
|||||||
|
|
||||||
Utils::Icon QCODEASSIST_ICON(
|
Utils::Icon QCODEASSIST_ICON(
|
||||||
{{":/resources/images/qoderassist-icon.png", Utils::Theme::IconsBaseColor}});
|
{{":/resources/images/qoderassist-icon.png", Utils::Theme::IconsBaseColor}});
|
||||||
|
Utils::Icon QCODEASSIST_CHAT_ICON(
|
||||||
|
{{":/resources/images/qode-assist-chat-icon.png", Utils::Theme::IconsBaseColor}});
|
||||||
|
|
||||||
ActionBuilder requestAction(this, Constants::QODE_ASSIST_REQUEST_SUGGESTION);
|
ActionBuilder requestAction(this, Constants::QODE_ASSIST_REQUEST_SUGGESTION);
|
||||||
requestAction.setToolTip(
|
requestAction.setToolTip(
|
||||||
@ -199,7 +201,7 @@ public:
|
|||||||
showChatViewAction.setDefaultKeySequence(showChatViewShortcut);
|
showChatViewAction.setDefaultKeySequence(showChatViewShortcut);
|
||||||
showChatViewAction.setToolTip(Tr::tr("Show QodeAssist Chat"));
|
showChatViewAction.setToolTip(Tr::tr("Show QodeAssist Chat"));
|
||||||
showChatViewAction.setText(Tr::tr("Show QodeAssist Chat"));
|
showChatViewAction.setText(Tr::tr("Show QodeAssist Chat"));
|
||||||
showChatViewAction.setIcon(QCODEASSIST_ICON.icon());
|
showChatViewAction.setIcon(QCODEASSIST_CHAT_ICON.icon());
|
||||||
showChatViewAction.addOnTriggered(this, [this] {
|
showChatViewAction.addOnTriggered(this, [this] {
|
||||||
if (!m_chatView->isVisible()) {
|
if (!m_chatView->isVisible()) {
|
||||||
m_chatView->show();
|
m_chatView->show();
|
||||||
|
BIN
resources/images/qode-assist-chat-icon.png
Normal file
BIN
resources/images/qode-assist-chat-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 951 B |
BIN
resources/images/qode-assist-chat-icon@2x.png
Normal file
BIN
resources/images/qode-assist-chat-icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user