Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

        def kodos_toolbar_logo(toolbar):
    # hack to move logo to right
    blanklabel = QLabel()
    blanklabel.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred)

    logolabel = QLabel("kodos_logo")
    logolabel.setPixmap(QPixmap(":/images/kodos_icon.png"))

    toolbar.addWidget(blanklabel)
    toolbar.addWidget(logolabel)

    return logolabel
        


src/k/o/kodos-HEAD/modules/regexLibrary.py   kodos(Download)
# -*- coding: utf-8 -*-
from PyQt4.QtCore import pyqtSignal
from regexLibraryBA import RegexLibraryBA
from parseRegexLib import ParseRegexLib
from util import restoreWindowSettings, saveWindowSettings, kodos_toolbar_logo
 
        self.populateListBox()
        kodos_toolbar_logo(self.toolBar)
 
        restoreWindowSettings(self, GEO)

src/k/o/kodos-HEAD/modules/reference.py   kodos(Download)
from PyQt4.QtCore import pyqtSignal
from referenceBA import ReferenceBA
from util import kodos_toolbar_logo, restoreWindowSettings, saveWindowSettings
 
GEO = "regex-ref_geometry"
 
        restoreWindowSettings(self, GEO)
        kodos_toolbar_logo(self.toolBar)