When working with QComboBox in a tree widget/view in QT I ran into an issue where the user scrolling up and down in the list would accidentally change the QComboBox value instead. Here’s a really simple inherited class that gets rid of the mouse wheel for QComboBox

class ComboBoxNoWheel(QtGui.QComboBox):
	def wheelEvent (self, event):

Perforce for python 2.6 doesn’t come pre-compiled for x64 for some strange reason. So here’s the compiled .pyd file, and it’s companion .py file.

If your studio uses perforce, integrating it into your DCC apps is a must! Your artists will thank you! 🙂

You must be logged in to post a comment.