begin = info.getInfo(serviceref, iServiceInformation.sTimeCreate)
res = [ (serviceref, begin) ]
- res.append(MultiContentEntryText(pos=(0, 0), size=(560, 30), font = 0, flags = RT_HALIGN_LEFT, text = info.getName(serviceref)))
+ res.append(MultiContentEntryText(pos=(0, 0), size=(420, 30), font = 0, flags = RT_HALIGN_LEFT, text = info.getName(serviceref)))
+ service = ServiceReference(info.getInfoString(serviceref, iServiceInformation.sServiceref))
+ if service is not None:
+ res.append(MultiContentEntryText(pos=(420, 0), size=(140, 30), font = 0, flags = RT_HALIGN_RIGHT, text = service.getServiceName()))
description = info.getInfoString(serviceref, iServiceInformation.sDescription)
self.l = eListboxPythonMultiContent()
if root is not None:
self.reload(root)
- self.l.setFont(0, gFont("Regular", 30))
+ self.l.setFont(0, gFont("Regular", 22))
self.l.setFont(1, gFont("Regular", 18))
def moveToIndex(self, index):
{
case iServiceInformation::sDescription:
return iServiceInformation::resIsString;
+ case iServiceInformation::sServiceref:
+ return iServiceInformation::resIsString;
case iServiceInformation::sTimeCreate:
if (m_parser.m_time_create)
return m_parser.m_time_create;
{
case iServiceInformation::sDescription:
return m_parser.m_description;
+ case iServiceInformation::sServiceref:
+ return m_parser.m_ref.toString();
default:
return "";
}