summaryrefslogtreecommitdiff
path: root/python/examples/triage/view.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/triage/view.py')
-rw-r--r--python/examples/triage/view.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/python/examples/triage/view.py b/python/examples/triage/view.py
index 5a39197f..28a99a75 100644
--- a/python/examples/triage/view.py
+++ b/python/examples/triage/view.py
@@ -7,6 +7,7 @@ from PySide6.QtWidgets import QScrollArea, QWidget, QVBoxLayout, QHBoxLayout, QP
from PySide6.QtCore import Qt
from . import headers
from . import entropy
+from . import file_info
from . import imports
from . import exports
from . import sections
@@ -30,10 +31,17 @@ class TriageView(QScrollArea, View):
entropyGroup = QGroupBox("Entropy", container)
entropyLayout = QVBoxLayout()
- entropyLayout.addWidget(entropy.EntropyWidget(entropyGroup, self, self.data))
+ self.entropyWidget = entropy.EntropyWidget(entropyGroup, self, self.data)
+ entropyLayout.addWidget(self.entropyWidget)
entropyGroup.setLayout(entropyLayout)
layout.addWidget(entropyGroup)
+ fileInfoGroup = QGroupBox("File Info", container)
+ fileInfoLayout = QVBoxLayout()
+ fileInfoLayout.addWidget(file_info.FileInfoWidget(fileInfoGroup, self.data, self.entropyWidget))
+ fileInfoGroup.setLayout(fileInfoLayout)
+ layout.addWidget(fileInfoGroup)
+
hdr = None
try:
if self.data.view_type == "PE":