Commit Graph

6 Commits

Author SHA1 Message Date
hjk
8d1307552b Copilot: Take advantage of IOptionPage::setWidgetCreator()
Less boilerplate for the implementation add user code access to
IOptionPage::{apply,finish} is planned to be removed.

Change-Id: I03bbde071fdf673bee0568baa9ae9fab8d816590
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-21 07:21:48 +00:00
David Schulz
e25b89ae39 Copilot: Update authenticator widget while changing settings
Use a separate client for the authenticator widget that can react on
changes in the settings widget. This removes the need to manually apply
the settings between setting up the nodejs and agent.js paths and
signing into github.

Change-Id: I6628a3a8906ccbba208f9dac968262df962f93c0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-13 09:12:01 +00:00
Marcus Tillmanns
f19eff5dcb Copilot: Add explanatory text to settings
Change-Id: Ie45d20d77b064e99fbd4cf26f0794a336b02c51a
Reviewed-by: hjk <hjk@qt.io>
2023-03-01 08:10:28 +00:00
Alessandro Portale
a69ff75357 Copilot: Settings/options icon
Exclusive placeholder. While we figure out the legalities around the original Copilot icon.

Change-Id: Iaacebbd8e8a46614659368a4ec7a98b03297e204
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-28 15:33:17 +00:00
hjk
e25bf6e59d Copilot: Merge copilotoptionspagewidget.{h,cpp} into copilotoptionspage.cpp
Too small to be worth a translation unit. Also drop unnecessary Q_OBJECT.

Change-Id: Ife1bce6498eae81e2979c2798f8d4f19da16a11d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-23 15:45:04 +00:00
Marcus Tillmanns
625f0ef726 Copilot: Add LSP plugin for Copilot
Fixes: QTCREATORBUG-27771
Change-Id: I1249b9a4492427208a70b3e21bf20ac668fc3c50
Reviewed-by: hjk <hjk@qt.io>
2023-02-21 10:26:12 +00:00