| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Member Functions | List of all members
RecentCaptureFilesDelegate Class Reference

Item delegate that formats recent file entries with size info. More...

`#include <recentcapturefiles_list_model.h>`

Inheritance diagram for RecentCaptureFilesDelegate:

## Public Member Functions
| RecentCaptureFilesDelegate (QObject *parent=nullptr)
QString | displayText (const QVariant &value, const QLocale &locale) const override
void | initStyleOption (QStyleOptionViewItem *option, const QModelIndex &index) const override

## Detailed Description

Item delegate that formats recent file entries with size info.

Displays: "filename (10 MB)" or "filename (not found)" for inaccessible files. Inaccessible files are rendered in italic.

The documentation for this class was generated from the following files:

- /builds/wireshark/wireshark/ui/qt/models/recentcapturefiles_list_model.h
- /builds/wireshark/wireshark/ui/qt/models/recentcapturefiles_list_model.cpp