コード例 #1
0
ファイル: libqtgui_masons.py プロジェクト: ctogle/modular
		def try_pixmap_paths():
			try:
				paths = template.paths[widg_dex]
				if paths:
					labels = [lgb.create_pixmap(pa) for pa in paths]

			except AttributeError: labels = None
			return labels
コード例 #2
0
ファイル: libqtgui_masons.py プロジェクト: ctogle/modular
	def interpret_template_image(self, template, widg_dex):
		path = template.paths[widg_dex]
		return [lgb.create_pixmap(path)]