Skip to content

Commit

Permalink
process_property procesa "set"
Browse files Browse the repository at this point in the history
  • Loading branch information
Aulla committed Feb 6, 2016
1 parent 0673cf9 commit 2810994
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pineboolib/qt3ui.py
Expand Up @@ -303,6 +303,16 @@ def _loadVariant(variant):
except Exception as e:
print(e)
return p

if variant.tag =="set":
v = None
text = variant.text
libs = [QtCore.Qt]
if text=="WordBreak|AlignVCenter": text="AlignVCenter"
for lib in libs:
v = getattr(lib,text,None)
if v is not None: return v

if variant.tag == "enum":
v = None
libs = [Qt, QtGui.QFrame, QtGui.QSizePolicy]
Expand Down

0 comments on commit 2810994

Please sign in to comment.