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

Qt: Add float config tooltip slider #11900

Merged

Conversation

Filoppi
Copy link
Contributor

@Filoppi Filoppi commented Jun 8, 2023

Needed by:
#11850

This is almost identical to ConfigSlider that was already there, though works with floats instead.

Screenshot:
image


// Automatically converts an int slider into a float one.
// Do not read the int values or ranges directly from it.
class ConfigFloatSlider : public ToolTipSlider
Copy link
Contributor

Choose a reason for hiding this comment

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

class ConfigFloatSlider final

Copy link
Contributor

Choose a reason for hiding this comment

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

The other Config GUI classes aren't final either, though you're right that they probably could be. Maybe open up a separate PR for that?

@AdmiralCurtiss AdmiralCurtiss force-pushed the add_float_config_tooltip_slider branch from dd2073c to 03ec86f Compare June 9, 2023 20:07
@AdmiralCurtiss AdmiralCurtiss merged commit 83b0b8d into dolphin-emu:master Jun 9, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants