Skip to content

Info icon widget#2010

Merged
IonutMuthi merged 5 commits intomainfrom
info_icon_widget
May 12, 2025
Merged

Info icon widget#2010
IonutMuthi merged 5 commits intomainfrom
info_icon_widget

Conversation

@IonutMuthi
Copy link
Copy Markdown
Contributor

Added info icon widget
Added info message option for IIOWidgets
Added info icon to combobox (compact) and editable IIOWidgets

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an info icon widget feature across several IIOWidgets to display helpful information when hovered. Key changes include:

  • Introducing an info message parameter in the widget builder and recipe.
  • Updating both editable and combo GUI strategies to integrate the new info icon.
  • Adding a new InfoIconWidget implementation and its associated header.

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
iio-widgets/src/iiowidgetbuilder.cpp Added info message support in widget construction.
iio-widgets/src/guistrategy/editableguistrategy.cpp Integrated the info icon into the editable widget layout.
iio-widgets/src/guistrategy/comboguistrategy.cpp Integrated the info icon into the combo widget layout.
iio-widgets/include/iio-widgets/iiowidgetdata.h Extended widget recipe with an info message field.
iio-widgets/include/iio-widgets/iiowidgetbuilder.h Added declaration for the info message setter and member.
iio-widgets/include/guistrategy/* Updated GUI strategy interfaces and headers to support the info icon.
gui/src/widgets/infoiconwidget.cpp & gui/include/gui/widgets/infoiconwidget.h Added new implementation and header for InfoIconWidget.
Files not reviewed (1)
  • gui/res/resources.qrc: Language not supported

Comment thread iio-widgets/src/guistrategy/editableguistrategy.cpp
IonutMuthi added 3 commits May 7, 2025 10:16
Signed-off-by: IonutMuthi <ionut.muthi@analog.com>
Signed-off-by: IonutMuthi <ionut.muthi@analog.com>
Signed-off-by: IonutMuthi <ionut.muthi@analog.com>
Comment thread iio-widgets/include/iio-widgets/iiowidgetdata.h Outdated
Signed-off-by: IonutMuthi <ionut.muthi@analog.com>
Comment thread iio-widgets/include/iio-widgets/guistrategy/checkboxguistrategy.h Outdated
Comment thread iio-widgets/include/iio-widgets/guistrategy/comboguistrategy.h Outdated
Comment thread iio-widgets/include/iio-widgets/guistrategy/editableguistrategy.h Outdated
Comment thread iio-widgets/include/iio-widgets/guistrategy/rangeguistrategy.h Outdated
Signed-off-by: IonutMuthi <ionut.muthi@analog.com>
@IonutMuthi IonutMuthi merged commit 935d44c into main May 12, 2025
28 checks passed
@IonutMuthi IonutMuthi deleted the info_icon_widget branch May 12, 2025 10:30
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.

4 participants