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

1709 Enabled Buttons for Modules #1732

Merged
merged 8 commits into from
Dec 1, 2023

Conversation

trisyoungs
Copy link
Member

This PR moves the ModuleLayerModel from QAbstractListModel to QAbstractTableModel with a view to removing the "floating" controls for the enabled/disabled state and frequency of individual modules in the list.

Below, the old style is on the left, with this PR moving us to the right (see that we now have the means to clearly indicate the module type as well).
image

Closes #1709.
Closes #1677 (or at least obfuscates it).

@trisyoungs trisyoungs marked this pull request as ready for review November 29, 2023 14:20
Copy link
Contributor

@rhinoella rhinoella left a comment

Choose a reason for hiding this comment

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

One issue, everything else looks great!

src/gui/models/moduleLayerModel.cpp Outdated Show resolved Hide resolved
@trisyoungs trisyoungs requested a review from rhinoella November 30, 2023 09:48
@trisyoungs
Copy link
Member Author

@rhinoella - Requested a re-review as I missed a couple of bits before!

@trisyoungs trisyoungs merged commit 8eed69a into develop Dec 1, 2023
7 checks passed
@trisyoungs trisyoungs deleted the 1709-enabled-buttons-for-modules branch December 1, 2023 09:17
rprospero pushed a commit that referenced this pull request Mar 11, 2024
rprospero pushed a commit that referenced this pull request Apr 8, 2024
rprospero pushed a commit that referenced this pull request Apr 9, 2024
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.

Put enabled buttons for modules in list Right-clicking module to enable/disable causes program to crash
2 participants