Public Member Functions | Static Public Member Functions | List of all members
pqIconBrowser Class Reference

pqIconBrowser is a dialog to browse available icons. More...

#include <pqIconBrowser.h>

Inherits QDialog.

Public Member Functions

 pqIconBrowser (QWidget *parent)
 
 ~pqIconBrowser () override
 
QString getSelectedIconPath ()
 Returns the absolute path of the selected icon. More...
 

Static Public Member Functions

static QString getIconPath (const QString &defaultPath=QString())
 Returns the absolute path to the selected icon. More...
 

Detailed Description

pqIconBrowser is a dialog to browse available icons.

Available icons includes icons provided by the application but also user defined ones. This dialog allows to import and remove user defined icons.

Definition at line 21 of file pqIconBrowser.h.

Constructor & Destructor Documentation

◆ pqIconBrowser()

pqIconBrowser::pqIconBrowser ( QWidget *  parent)

◆ ~pqIconBrowser()

pqIconBrowser::~pqIconBrowser ( )
override

Member Function Documentation

◆ getIconPath()

static QString pqIconBrowser::getIconPath ( const QString &  defaultPath = QString())
static

Returns the absolute path to the selected icon.

May be empty if no icon were selected. Create a dialog window. Argument defaultPath is used if dialog is rejected.

◆ getSelectedIconPath()

QString pqIconBrowser::getSelectedIconPath ( )

Returns the absolute path of the selected icon.


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