Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
QTreeWidgetItem.setIcon(int, QIcon)

src/p/y/PyRQ-0.4.1/PyRQ/Ui/qt4/RRQDebugger/ScriptTreeBuilder.py   PyRQ(Download)
    def addConfigDelayPost(self, script, index, config, parent):
        item = TreeCommandDelayPost(script, index, config, parent)
        item.setText(0, "_delay_post_")
        item.setText(1, str(config["_delay_post_"]))
        item.setIcon(0, self._icons["time"]["delay"])
    def addConfigSleepPost(self, script, index, config, parent):
        item = TreeCommandDelayPost(script, index, config, parent)
        item.setText(0, "_delay_post_")
        item.setText(1, str(config["_delay_post_"]))
        item.setIcon(0, self._icons["time"]["sleep"])