summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/dsctriage.h
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2025-04-16 10:21:22 -0400
committerAlexander Taylor <alex@vector35.com>2025-04-16 10:21:22 -0400
commitca696ab4a79902d0448135f6fca3769f0576e39d (patch)
tree3aabbba81e4968c03289c5d10eea5340f15597ce /view/sharedcache/ui/dsctriage.h
parent77c3bf786be64267cb7f45d9d0f118fcbf6d8aea (diff)
Add loaded column for kernel cache view.
Required adding an API to determine if an image is loaded.
Diffstat (limited to 'view/sharedcache/ui/dsctriage.h')
-rw-r--r--view/sharedcache/ui/dsctriage.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/view/sharedcache/ui/dsctriage.h b/view/sharedcache/ui/dsctriage.h
index e847625e..f6ea8cee 100644
--- a/view/sharedcache/ui/dsctriage.h
+++ b/view/sharedcache/ui/dsctriage.h
@@ -170,21 +170,6 @@ public:
}
}
-// bool eventFilter(QObject* obj, QEvent* event) override {
-// if (event->type() == QEvent::KeyPress) {
-// auto* keyEvent = dynamic_cast<QKeyEvent*>(event);
-// if (keyEvent->key() == Qt::Key_Escape) {
-// clearSelection();
-// return true;
-// }
-// if (keyEvent->key() == Qt::Key_Enter || keyEvent->key() == Qt::Key_Return) {
-// emit activated(currentIndex());
-// return true;
-// }
-// }
-// return QTableView::eventFilter(obj, event);
-// }
-
signals:
void filterTextChanged(const QString& text);
};
@@ -219,10 +204,10 @@ public:
void OnAfterOpenFile(UIContext* context, FileContext* file, ViewFrame* frame) override;
void RefreshData();
- void setImageLoaded(uint64_t imageHeaderAddr);
private:
void loadImagesWithAddr(const std::vector<uint64_t>& addresses, bool includeDependencies = false);
+ void setImageLoaded(uint64_t imageHeaderAddr);
QWidget* initImageTable();
void initSymbolTable();
void initCacheInfoTables();