/usr/lib/python2.7/dist-packages/PythonCard/templates/dialogs/loginDialog.rsrc.py is in python-pythoncard 0.8.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | {'type':'CustomDialog',
'name':'Template',
'title':'Dialog Template',
'position':(5, 5),
'size':(300, 197),
'components': [
{'type':'TextField',
'name':'fldHost',
'position':(95, 10),
'alignment':'left',
'text':'127.0.0.1',
},
{'type':'TextField',
'name':'fldPort',
'position':(95, 33),
'size':(48, -1),
'alignment':'left',
'text':'80',
},
{'type':'TextField',
'name':'fldUsername',
'position':(95, 57),
'alignment':'left',
'text':'guest',
},
{'type':'TextField',
'name':'fldPassword',
'position':(95, 81),
'alignment':'left',
'text':'guest',
},
{'type':'StaticText',
'name':'stcHost',
'position':(10, 10),
'text':'Host:',
},
{'type':'StaticText',
'name':'stcPort',
'position':(12, 34),
'text':'Port:',
},
{'type':'StaticText',
'name':'stcPassword',
'position':(13, 86),
'text':'Password:',
},
{'type':'StaticText',
'name':'stcUsername',
'position':(11, 61),
'text':'Username:',
},
{'type':'Button',
'id':5100,
'name':'btnOK',
'position':(9, 119),
'label':'OK',
},
{'type':'Button',
'id':5101,
'name':'btnCancel',
'position':(101, 119),
'label':'Cancel',
},
] # end components
} # end CustomDialog
|