graph_analysis
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
graph_analysis::gui::IconManager Class Reference

Singleton to load and store handles on all GUI icons. More...

#include <IconManager.hpp>

Inheritance diagram for graph_analysis::gui::IconManager:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::gui::IconManager:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string, QIcon > IconMap
 maps specific access keywords to loaded qt icons More...
 

Public Member Functions

const QIcon * getIcon (const std::string &key)
 getter method - retrieves a qt icon registered at the given keyword in the icons map More...
 

Static Public Member Functions

static std::string getIconRootPath ()
 

Protected Member Functions

 IconManager ()
 constructor More...
 

Friends

class base::Singleton< IconManager >
 

Detailed Description

Singleton to load and store handles on all GUI icons.

Facilitates access to uniquely loaded icons for all concerned widgets

Member Typedef Documentation

◆ IconMap

typedef std::map<std::string, QIcon> graph_analysis::gui::IconManager::IconMap

maps specific access keywords to loaded qt icons

Constructor & Destructor Documentation

◆ IconManager()

graph_analysis::gui::IconManager::IconManager ( )
protected

constructor

Member Function Documentation

◆ getIcon()

const QIcon * graph_analysis::gui::IconManager::getIcon ( const std::string &  key)

getter method - retrieves a qt icon registered at the given keyword in the icons map

◆ getIconRootPath()

std::string graph_analysis::gui::IconManager::getIconRootPath ( )
static

Friends And Related Function Documentation

◆ base::Singleton< IconManager >

friend class base::Singleton< IconManager >
friend

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