1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
{'type':'CustomDialog',
'name':'ConferenceDialog',
'title':'Join Conference',
'size':(238, 156),
'components': [
{'type':'TextField',
'name':'fldRoomName',
'position':(85, 5),
'size':(140, -1),
},
{'type':'Choice',
'name':'cmbRoomServer',
'position':(85, 35),
'size':(140, 21),
'items':['conference.jabber.org', 'private.jabber.org'],
'stringSelection':'conference.jabber.org',
},
{'type':'TextField',
'name':'fldNickname',
'position':(85, 65),
'size':(140, -1),
},
{'type':'StaticText',
'name':'stcNickname',
'position':(10, 70),
'text':'Nickname:',
},
{'type':'StaticText',
'name':'stcRoomServer',
'position':(10, 40),
'text':'Room Server:',
},
{'type':'StaticText',
'name':'stcRoomName',
'position':(10, 10),
'text':'Room Name:',
},
{'type':'Button',
'id':5100,
'name':'btnOK',
'position':(36, 99),
'label':'OK',
},
{'type':'Button',
'id':5101,
'name':'btnCancel',
'position':(126, 99),
'label':'Cancel',
},
] # end components
} # end CustomDialog
|