-
Notifications
You must be signed in to change notification settings - Fork 167
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 #1876
Open
andreidanila1
wants to merge
30
commits into
main
Choose a base branch
from
main-tme-led
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andreidanila1
requested review from
andrei47w,
adisuciu,
Andrei-Fabian-Pop,
AlexandraTrifan and
IonutMuthi
January 14, 2025 15:52
Andrei-Fabian-Pop
approved these changes
Jan 22, 2025
AlexandraTrifan
approved these changes
Jan 23, 2025
Signed-off-by: andreidanila1 <[email protected]>
Signed-off-by: andreidanila1 <[email protected]>
Signed-off-by: andreidanila1 <[email protected]>
Signed-off-by: andreidanila1 <[email protected]>
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]>
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]>
andreidanila1
force-pushed
the
main-tme-led
branch
from
January 23, 2025 14:26
d6998f9
to
18a470e
Compare
Andrei-Fabian-Pop
approved these changes
Jan 28, 2025
The signal is received by the tool menu through the ToolMenuEntry. Changes for all plugins are entered here. 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]>
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]>
Signed-off-by: andreidanila1 <[email protected]>
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]>
Signed-off-by: andreidanila1 <[email protected]>
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]>
Signed-off-by: andreidanila1 <[email protected]>
The class is responsible for creating device icons in a customizable way, at runtime. Signed-off-by: andreidanila1 <[email protected]>
…abels. Signed-off-by: andreidanila1 <[email protected]>
ADC, DAC, DATALOGGER, DEBUGGER, PQM, REGMAP, SWIOT. Signed-off-by: andreidanila1 <[email protected]>
Signed-off-by: andreidanila1 <[email protected]>
Signed-off-by: andreidanila1 <[email protected]>
Signed-off-by: andreidanila1 <[email protected]>
If no plugin has a configuration page, the device-level configuration page should not exist. Signed-off-by: andreidanila1 <[email protected]>
andreidanila1
force-pushed
the
main-tme-led
branch
from
January 28, 2025 13:07
18a470e
to
cc02b1c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tool menu features:
Others: