49 lines
857 B
Python
49 lines
857 B
Python
#
|
|
#
|
|
# 3DE4.script.name: TestUI
|
|
#
|
|
# 3DE4.script.version: v1.0
|
|
#
|
|
# 3DE4.script.comment:
|
|
#
|
|
# 3DE4.script.gui: Main Window::xgiovio
|
|
#
|
|
# 3DE4.script.hide: false
|
|
# 3DE4.script.startup: false
|
|
#
|
|
# Giovanni Di Grezia 2016
|
|
# http://www.xgiovio.com
|
|
|
|
global gino
|
|
def f () :
|
|
|
|
#gino += 4
|
|
print gino
|
|
f()
|
|
print gino
|
|
|
|
##########
|
|
'''
|
|
custom = tde4.createCustomRequester()
|
|
tde4.addListWidget (custom,"widget","widgetlabel",1,100)
|
|
|
|
|
|
for i in range (10):
|
|
tde4.insertListWidgetItem (custom,"widget","Item " + str(i),0)
|
|
|
|
tde4.postCustomRequester (custom,"title",400,200,"Create","Cancel")
|
|
'''
|
|
#############
|
|
'''
|
|
m = tde4.postQuestionRequester("Titolo","Messaggio abbastanza lungo per titolo","a","b","c")
|
|
print m
|
|
'''
|
|
|
|
######
|
|
'''
|
|
tde4.postProgressRequesterAndContinue ("title","messaggio ok",50,"BUtton1","Button2")
|
|
tde4.updateProgressRequester (10,"ajeje")
|
|
|
|
time.sleep(5)
|
|
'''
|