diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-11-16 14:39:17 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-11-16 19:31:44 -0500 |
| commit | 7259170670495345587117922735439997869754 (patch) | |
| tree | 6216fb9dbf42235cc88f0969d0b0c1b254c158af /examples | |
| parent | c798413b1d6625a94d90f1ef56c067370d93bb9f (diff) | |
Special color for exported symbols
Imports have their own color, so exports can too
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/triage/exports.cpp | 2 | ||||
| -rw-r--r-- | examples/triage/imports.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/triage/exports.cpp b/examples/triage/exports.cpp index 92560527..808d1f01 100644 --- a/examples/triage/exports.cpp +++ b/examples/triage/exports.cpp @@ -100,6 +100,8 @@ QVariant GenericExportsModel::data(const QModelIndex& index, int role) const case Qt::ForegroundRole: if (index.column() == AddressColumn) return getThemeColor(AddressColor); + if (index.column() == NameColumn) + return getThemeColor(ExportColor); break; default: break; diff --git a/examples/triage/imports.cpp b/examples/triage/imports.cpp index 26e608b2..2009dccf 100644 --- a/examples/triage/imports.cpp +++ b/examples/triage/imports.cpp @@ -71,6 +71,8 @@ QVariant GenericImportsModel::data(const QModelIndex& index, int role) const case Qt::ForegroundRole: if (index.column() == 0) return getThemeColor(AddressColor); + if (index.column() == m_nameCol) + return getThemeColor(ImportColor); break; default: break; |
