The InfoDialog class represents a dialog to display information about a file or directory.
More...
#include <InfoDialog.h>
|
static InfoDialog * | getInstance (const QString &filePath, QWidget *parent=nullptr) |
| Gets the instance of the InfoDialog for the given file path if it exists, otherwise creates it. More...
|
|
static QString | convertToHumanReadableSize (qint64 size) |
|
The InfoDialog class represents a dialog to display information about a file or directory.
◆ getInstance()
InfoDialog * InfoDialog::getInstance |
( |
const QString & |
filePath, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
static |
Gets the instance of the InfoDialog for the given file path if it exists, otherwise creates it.
- Parameters
-
filePath | The path of the file or directory to display information for. |
parent | The parent widget (optional). |
- Returns
- The instance of the InfoDialog for the given file path.
The documentation for this class was generated from the following files: