Filer
Public Member Functions | Static Public Member Functions | List of all members
InfoDialog Class Reference

The InfoDialog class represents a dialog to display information about a file or directory. More...

#include <InfoDialog.h>

Inheritance diagram for InfoDialog:
Inheritance graph
[legend]
Collaboration diagram for InfoDialog:
Collaboration graph
[legend]

Public Member Functions

 ~InfoDialog ()
 Destructor.
 

Static Public Member Functions

static InfoDialoggetInstance (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)
 

Detailed Description

The InfoDialog class represents a dialog to display information about a file or directory.

Member Function Documentation

◆ 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
filePathThe path of the file or directory to display information for.
parentThe 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: