Skip to content

qt-core, qt-cli: Add Qt examples browser web application - #440

Merged
benchoq merged 2 commits into
qt-labs:devfrom
benchoq:ben_0316_example_browser
Mar 23, 2026
Merged

qt-core, qt-cli: Add Qt examples browser web application#440
benchoq merged 2 commits into
qt-labs:devfrom
benchoq:ben_0316_example_browser

Conversation

@benchoq

@benchoq benchoq commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

The input form of the new-item wizard can be reused in other contexts
such as creating a project from an example. Moves the UI and its logic
into comps/ to support these additional use cases.
@benchoq
benchoq force-pushed the ben_0316_example_browser branch 9 times, most recently from 88174e3 to 02e6c77 Compare March 16, 2026 16:29
@benchoq benchoq changed the title (WIP) qt-core, qt-cli: Add Qt examples browser web application qt-core, qt-cli: Add Qt examples browser web application Mar 16, 2026
@benchoq
benchoq marked this pull request as ready for review March 16, 2026 16:46
Comment thread qt-core/webview-ui/src/apps/texts.ts Outdated
Comment thread qt-core/webview-ui/src/apps/texts.ts Outdated
Comment thread qt-core/webview-ui/src/apps/texts.ts Outdated
Comment thread qt-core/webview-ui/src/apps/texts.ts Outdated
Comment thread qt-core/webview-ui/src/apps/texts.ts Outdated
Comment thread qt-core/src/webview/ex-browser/dispatcher.ts Outdated
Comment thread qt-core/webview-ui/src/apps/ex-browser/viewlogic.svelte.ts Outdated
Comment thread qt-core/webview-ui/src/apps/new-item/viewlogic.svelte.ts Outdated
Comment thread qt-core/webview-ui/src/apps/new-item/viewlogic.svelte.ts Outdated
Comment thread qt-core/webview-ui/src/apps/new-item/viewlogic.svelte.ts Outdated
@benchoq
benchoq force-pushed the ben_0316_example_browser branch 3 times, most recently from 73b5f57 to d56c3bb Compare March 17, 2026 15:00
Comment thread qt-core/src/texts.ts Outdated
Comment thread qt-core/webview-ui/src/apps/texts.ts Outdated
@benchoq
benchoq force-pushed the ben_0316_example_browser branch 3 times, most recently from e753b29 to c67c798 Compare March 18, 2026 10:15
Comment thread qt-core/src/texts.ts Outdated
@benchoq
benchoq force-pushed the ben_0316_example_browser branch from c67c798 to 5eb5460 Compare March 18, 2026 11:02

@leena-miettinen leena-miettinen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text looks good, now.

@OrkunTokdemir OrkunTokdemir left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. I shared some comments.

Comment thread qt-core/src/webview/ex-browser/manifest-parser.ts Outdated
Comment thread qt-core/src/webview/ex-browser/helpers-category.ts
Comment thread qt-core/src/webview/ex-browser/helpers-catgory.ts Outdated
Comment thread qt-core/src/webview/ex-browser/resolvers.ts Outdated
Comment thread qt-core/webview-ui/src/apps/ex-browser/viewlogic.svelte.ts Outdated
Comment thread qt-core/src/webview/shared/ex-browser.ts Outdated
Comment thread qt-core/webview-ui/src/comps/VscodeThemeMonitor.svelte.ts Outdated
This patch adds a feature for browsing Qt examples and demos and
creating a new project from a selected example.

Examples are displayed in a grid, where highlighted examples are shown
as larger tiles than the others.

Users can filter examples by categories or tags and search for examples
using keywords. Keywords are matched against the example name and
description.

Users can open related documentation, open some of the project files in
the editor, or reveal the project folder in the OS-specific file
manager.

Examples are loaded from the installation root and from directories
specified by additional qtpaths settings. When these settings change, a
message is shown allowing the user to reload the examples or simply
close the examples window.

This also adds a command to open the Qt examples.

Task-Number: [VSCODEEXT-144](https://qt-project.atlassian.net/browse/VSCODEEXT-144)
Task-Number: [VSCODEEXT-295](https://qt-project.atlassian.net/browse/VSCODEEXT-295)
@benchoq
benchoq force-pushed the ben_0316_example_browser branch from 44b4530 to 750456f Compare March 20, 2026 18:57
@benchoq

benchoq commented Mar 20, 2026

Copy link
Copy Markdown
Collaborator Author

It looks good. I shared some comments.

Thanks for the detailed review :-)

@benchoq
benchoq merged commit 35c8bd5 into qt-labs:dev Mar 23, 2026
9 checks passed
@benchoq
benchoq deleted the ben_0316_example_browser branch April 14, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants