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

@@ -165,7 +165,6 @@ private:
std::unique_ptr<TextSuggestion> m_suggestion;
};
class TEXTEDITOR_EXPORT TextDocumentLayout : public QPlainTextDocumentLayout
{
Q_OBJECT