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

spinbox function add in window covering #129

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

gdinolee
Copy link
Collaborator

Modified to operate when the arrow button of the spinbox is pressed in window covering
Spinbox code clean up

Copy link
Collaborator

@junyong-sim junyong-sim left a comment

Choose a reason for hiding this comment

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

Thanks for hard work

@gdinolee gdinolee merged commit e335607 into Samsung:main Jun 29, 2023
@gdinolee gdinolee deleted the feature/windows_spinbox branch June 29, 2023 07:10
self.spinBoxWindow.valueChanged.connect(self.spin_value_changed)
self.spinBoxWindow.setSingleStep(1)


Copy link
Collaborator

Choose a reason for hiding this comment

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

remove empty line

def init_spinbox(self):
self.spinBoxWindow.installEventFilter(self)
self.spinBoxWindow.valueChanged.connect(self.spin_value_changed)
self.spinBoxWindow.setSingleStep(1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since the init_spinbox function has been created, the following spinbox contents of init_slider function must be moved.
self.spinBoxWindow.setRange(
WINDOWCOVERING_MIN_VAL, WINDOWCOVERING_MAX_VAL)
self.spinBoxWindow.setSingleStep(
self.common_window.get_slider_single_step(WINDOWCOVERING_MIN_VAL, WINDOWCOVERING_MAX_VAL))
self.spinBoxWindow.setValue(WC_INIT_LEVEL)

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.

None yet

4 participants