Skip to content

typing in an 'editable' combobox seems to be passed on to Softimage shortcuts #11

@lichtwerk

Description

@lichtwerk

when you have an "editable" QComboBox and start typing, the events/letters seem to be passed on to Softimage.
This results in keyboard shortcuts being performed in Softimage instead of text being written in the QComboBox...

==== code to reproduce (just run from the script editor) ===========
from PyQt4 import QtGui, QtCore
import sip
si = Application
sianchor = sip.wrapinstance(long(si.getQtSoftimageAnchor()), QtGui.QWidget)

dialog = QtGui.QMainWindow(sianchor)
uiComboBox = QtGui.QComboBox(parent=dialog)
uiComboBox.setFocusPolicy(QtCore.Qt.StrongFocus)
uiComboBox.setEditable(True)
dialog.show()
==== code to reproduce (just run from the script editor) ===========

Greetz
Philipp

P.S.: still using PyQtForSoftimage_beta5.xsiaddon from 05/02/2013

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions