Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: hw access "led" in TME #1845

Open
wants to merge 41 commits into
base: dev
Choose a base branch
from
Open

core: hw access "led" in TME #1845

wants to merge 41 commits into from

Conversation

andreidanila1
Copy link
Contributor

@andreidanila1 andreidanila1 commented Nov 29, 2024

Tool menu features:

  • Connection status led
  • Device icon + device config page
  • hw access status led

Others:

  • Device icon builder

Signed-off-by: andreidanila1 <[email protected]>
The ToolMenuHeaderWidget serves as the device section within the
tool menu. This widget provides two key features: a device button
and blinking LEDs (which can be controlled using the blinkLed signal).

Signed-off-by: andreidanila1 <[email protected]>
The DeviceInfo struct has been introduced to encapsulate all the
essential details about the devices, ensuring better organization and
maintainability. Additionally, the onIioEvent slot has been implemented
to handle IIO events, triggering the blinking LEDs accordingly.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is received by the tool menu through the ToolMenuEntry.

Signed-off-by: andreidanila1 <[email protected]>
The signal is emitted by the ToolMenuHeader widget and it is forwarded
by the ToolMenuManager to the scopymainwindow.

Signed-off-by: andreidanila1 <[email protected]>
This QSS is applied to style tool menu device items.

Signed-off-by: andreidanila1 <[email protected]>
If this preference is enabled, the device header will be a
ToolMenuHeaderWidget, featuring the device icon and a status LED.
Otherwise, the header will contain only the name and the uri of the
device.

Signed-off-by: andreidanila1 <[email protected]>
Using ledBorder property.

Signed-off-by: andreidanila1 <[email protected]>
Plugins can now override the loadConfigPage method to create a
custom configuration widget. This widget, containing all necessary
information, is represented by m_configPage from the PluginBase class.
The widget can be accessed form outside the class using the configPage()
getter.

Signed-off-by: andreidanila1 <[email protected]>
The device configuration page is a tab widget that contains
configuration pages for all its compatible plugins, with each tab
representing a plugin's configuration page. This device configuration
page is added into the ScopyMainWindow tool stack and can be
accessed by clicking the 'Device' button in the tool menu.

Signed-off-by: andreidanila1 <[email protected]>
The LED button no longer includes a timer, while the ToolMenuHeaderWidget
now manages two timers.

Signed-off-by: andreidanila1 <[email protected]>
Created a structure that contains all the information needed to be able
to change an attribute in an SVG file.
Added ChangeSVGAttr method.

Signed-off-by: andreidanila1 <[email protected]>
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.

1 participant