Skip to content

Commit 42ae6b6

Browse files
Fix processing Call. Add font Helvetica for missing font family issue
1 parent e9dc38e commit 42ae6b6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

case_viewer/case_viewer.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ def __init__(self, treeData, tableData):
5959
self.table.setVisible(True)
6060
self.tableData = tableData
6161
self.treeData = treeData
62+
63+
self.font = QFont("Helvetica", pointSize=12, weight=QFont.Medium)
6264

6365
self.textEdit = QTextEdit()
66+
self.textEdit.setFont(self.font)
6467
self.textEdit.setDocumentTitle("Details")
6568
self.textEdit.setHtml('<h2>Here the details will be displayed</h2>')
6669

@@ -269,7 +272,6 @@ def buildDataPhoneCalls(self, idObject):
269272
tData = []
270273
if idObject == ':Calls':
271274
self.headers = ["From", "To", "Date", "Duration"]
272-
print("phoneCall LEN: " + str(len(phoneCalls)))
273275
for c in phoneCalls:
274276
callDate = c["uco-observable:startTime"]
275277
callDuration = c["uco-observable:duration"]
@@ -1505,7 +1507,7 @@ def processApplication(uuid_object=None, facet=None):
15051507

15061508

15071509
def processCall(uuid_object=None, facet=None):
1508-
callId = jsonObj["@id"]
1510+
#callId = jsonObj["@id"]
15091511
callFromId = get_optional_dict_attribute(facet, "uco-observable:from", {})
15101512
callFrom = "-"
15111513
if callFromId:
@@ -1547,7 +1549,7 @@ def processCall(uuid_object=None, facet=None):
15471549
try:
15481550
phoneCalls.append(
15491551
{
1550-
"@id":callId,
1552+
"@id":uuid_object,
15511553
"uco-observable:from":callFrom,
15521554
"uco-observable:to":callTo,
15531555
"uco-core:name":callApplication,

0 commit comments

Comments
 (0)