Skip to content

Improve: add a QSpinWidget for adjusting special exit weight in exit dialogue#5758

Merged
SlySven merged 1 commit intoMudlet:developmentfrom
SlySven:Improve_addA_QSpinWidget_forAdjustingSpecialExitWeightInExitDialog
Dec 14, 2021
Merged

Improve: add a QSpinWidget for adjusting special exit weight in exit dialogue#5758
SlySven merged 1 commit intoMudlet:developmentfrom
SlySven:Improve_addA_QSpinWidget_forAdjustingSpecialExitWeightInExitDialog

Conversation

@SlySven
Copy link
Copy Markdown
Member

@SlySven SlySven commented Dec 14, 2021

This uses the same method of providing a custom item delegate has been used for the special exit roomID column in the QTreeWidget derived ExitsTreeWidget in PR #5543 but instead of making use of an enhanced QlineEdit this will replace the standard QLineEdit with a QSpinBox whilst the special exit's weight is being modified.

This concludes the generation of separate chunks of code that was originally in #5308 but which was overlarge.

Signed-off-by: Stephen Lyons slysven@virginmedia.com

Release post highlight

Improve: the control to set a special exit's weighting is now a spinbox whilst it is being edited which can be adjusted between 0 and 9999 - like the controls for normal exits.

…dialog

This uses the same method of providing a custom item delegate has been
used for the special exit roomID column in the `QTreeWidget` derived
`ExitsTreeWidget` in PR Mudlet#5543 but instead of making use of an enhanced
`QlineEdit` this will replace the standard `QLineEdit` with a `QSpinBox`
whilst the special exit's weight is being modified.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
@SlySven SlySven requested a review from a team as a code owner December 14, 2021 05:21
@SlySven SlySven requested a review from a team December 14, 2021 05:21
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Dec 14, 2021

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@github-actions
Copy link
Copy Markdown
Contributor

Messages
✔️

PR type: Improvement

Generated by 🚫 dangerJS against c7ad2ee

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@SlySven SlySven merged commit 352d152 into Mudlet:development Dec 14, 2021
@SlySven SlySven deleted the Improve_addA_QSpinWidget_forAdjustingSpecialExitWeightInExitDialog branch December 14, 2021 16:29
@vadi2 vadi2 added this to the 4.15.0 milestone Jan 11, 2022
vadi2 pushed a commit to SlySven/Mudlet that referenced this pull request Jan 17, 2022
…dialog (Mudlet#5758)

This uses the same method of providing a custom item delegate has been
used for the special exit roomID column in the `QTreeWidget` derived
`ExitsTreeWidget` in PR Mudlet#5543 but instead of making use of an enhanced
`QlineEdit` this will replace the standard `QLineEdit` with a `QSpinBox`
whilst the special exit's weight is being modified.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
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.

2 participants