We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dayu_widgets/page.py 1: 92行 self._current_page_spin_box.valueChanged.connect(self._emit_page_changed) 信号槽不放在底下对应self.bind之后,返回的是MSpinBox控件上次的数值
self._current_page_spin_box.valueChanged.connect(self._emit_page_changed)
2:140行 def _slot_change_current_page(self, offset): self.set_field("current_page", self.field("current_page") + offset) self._emit_page_changed() self._emit_page_changed()会导致self._pre_button和self._next_button点击时发送两次信号
def _slot_change_current_page(self, offset): self.set_field("current_page", self.field("current_page") + offset) self._emit_page_changed()
3:108行 self.bind("total_page", self._current_page_spin_box, "maximum") 设置了这个bind以后,self._current_page_spin_box.setMinimum(1) 失效
self.bind("total_page", self._current_page_spin_box, "maximum")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
dayu_widgets/page.py
1: 92行
self._current_page_spin_box.valueChanged.connect(self._emit_page_changed)
信号槽不放在底下对应self.bind之后,返回的是MSpinBox控件上次的数值
2:140行
def _slot_change_current_page(self, offset): self.set_field("current_page", self.field("current_page") + offset) self._emit_page_changed()
self._emit_page_changed()会导致self._pre_button和self._next_button点击时发送两次信号
3:108行
self.bind("total_page", self._current_page_spin_box, "maximum")
设置了这个bind以后,self._current_page_spin_box.setMinimum(1) 失效
The text was updated successfully, but these errors were encountered: