Copilot: add copilot suggestion tooltips

These tooltips allow to switch the currently visible suggestion as well
as applying it using
the mouse.

Change-Id: I30b9a76ae57c66887f4e1b1311e1a7248ed0f194
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
David Schulz
2023-03-16 06:38:46 +01:00
parent 8a1e34f084
commit 6ab923c39f
13 changed files with 303 additions and 56 deletions

View File

@@ -39,7 +39,8 @@ protected:
Priority_None = 0,
Priority_Tooltip = 5,
Priority_Help = 10,
Priority_Diagnostic = 20
Priority_Diagnostic = 20,
Priority_Suggestion = 40
};
void setPriority(int priority);
int priority() const;