Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python2
- # api v2
- import sip
- sip.setapi('QString', 2)
- sip.setapi('QVariant', 2)
- from PyQt4.QtGui import *
- from PyQt4.QtCore import *
- import re,os,sys
- class MyQComboBox(QComboBox):
- def __init__(self, parent=None, listing=None):
- super(MyQComboBox, self).__init__(parent)
- if listing != None:
- self.listSetup(listing)
- def listSetup(self, listing):
- self.setEditable(True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement