我學習PyQt的,不知是否可以創建自定義/所有者在圖中畫出控制像一個展示如下: alt text http://lh5.ggpht.com/_5XDoB4MglkY/SpoT51SXR1I/AAAAAAAAFcU/ZXjzmhRyDVA/s400/SearchBox.png 搜索框在它的右邊框的放大鏡圖標。用PyQt可以這樣做嗎?謝謝!
>>> from PyQt4 import QtCore
>>> str = QtCore.QString('Hello')
AttributeError: 'module' object has no attribute 'QString'
>>> QtCore.QString._init_(self)
AttributeError: 'module' object has no at