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

missing: PySide2.QtWidgets.QHeaderView.setSectionsClickable #292

Open
frueter opened this issue Jun 17, 2018 · 3 comments
Open

missing: PySide2.QtWidgets.QHeaderView.setSectionsClickable #292

frueter opened this issue Jun 17, 2018 · 3 comments

Comments

@frueter
Copy link

frueter commented Jun 17, 2018

Hi guys,

looks like this method which exists in PySide2 but not PySide is not handled in Qt.py at the moment:
PySide2.QtWidgets.QHeaderView.setSectionsClickable(clickable)

@mottosso
Copy link
Owner

How would you like this member handled? Qt.py could either hide it from PySide2/PyQt5, or reimplement it for PySide/PyQt4.

@fredrikaverpil
Copy link
Collaborator

fredrikaverpil commented Jun 18, 2018

I believe that just in general, QHeaderView got changed in such a way that some of the methods got renamed into including the "Section" or "Sections" word, for example:

# Qt4
PyQt4.QHeaderView.setResizeMode
PySide.QtGui.QHeaderView.setClickable
PySide.QtGui.QHeaderView.setMovable

# Qt5
PyQt5.QtWidgets.QHeaderView.setSectionResizeMode
PySide2.QtWidgets.QHeaderView.setSectionsClickable
PySide2.QtWidgets.QHeaderView.setSectionsMovable

http://doc.qt.io/archives/qt-4.8/qheaderview.html
http://doc.qt.io/qt-5/qheaderview.html

@frueter
Copy link
Author

frueter commented Jun 18, 2018 via email

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

No branches or pull requests

3 participants