Skip to content

Add web widget accessors#998

Merged
alxvth merged 10 commits intomasterfrom
feature/AddWebWidgetAccessors
Jul 24, 2025
Merged

Add web widget accessors#998
alxvth merged 10 commits intomasterfrom
feature/AddWebWidgetAccessors

Conversation

@alxvth
Copy link
Copy Markdown
Contributor

@alxvth alxvth commented Jul 23, 2025

Currently classes derived from WebWidget cannot access the private members _communicationAvailable and _webPageLoaded.

Added:

public:
    bool isWebPageLoaded();

Removed:

  • WebWidget::js_debug - this function seems to be a duplicate of WebCommunicationObject::js_debug which is the slot that is actually called from the JS side

Comment thread ManiVault/src/widgets/WebWidget.h Outdated
Comment thread ManiVault/src/widgets/WebWidget.cpp Outdated
Comment thread ManiVault/src/widgets/WebWidget.cpp Outdated
Comment thread ManiVault/src/widgets/WebWidget.h Outdated
Comment thread ManiVault/src/widgets/WebWidget.h
Comment thread ManiVault/src/widgets/WebWidget.h Outdated
@alxvth alxvth requested a review from JulianThijssen July 24, 2025 07:35
@alxvth
Copy link
Copy Markdown
Contributor Author

alxvth commented Jul 24, 2025

I reduced the changes to adding a isWebPageLoaded() getter and removing the duplicate function - I also added some small documenting comments that should help in the future

@alxvth alxvth merged commit 33a6c0b into master Jul 24, 2025
10 checks passed
@alxvth alxvth deleted the feature/AddWebWidgetAccessors branch July 24, 2025 12:57
ThomasKroes pushed a commit that referenced this pull request Jul 28, 2025
* Mark explicitly as deprecated

* Add accessor functions

* Add comments

* Add section names
@alxvth alxvth mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants