Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CreateIcons Class Reference

Class to create icons for MainWindow class. More...

#include <CreateIcons.h>

Inheritance diagram for CreateIcons:
Inheritance graph
Collaboration diagram for CreateIcons:
Collaboration graph

Public Member Functions

 CreateIcons ()
 Single constructor.
 
void create (MainWindow &mw)
 Create QIcon items.
 

Detailed Description

Class to create icons for MainWindow class.

We derive from QObject and use Q_OBJECT so translations work

Definition at line 16 of file CreateIcons.h.

Constructor & Destructor Documentation

◆ CreateIcons()

CreateIcons::CreateIcons ( )

Single constructor.

Definition at line 16 of file CreateIcons.cpp.

17{
18}

Member Function Documentation

◆ create()

void CreateIcons::create ( MainWindow & mw)

Create QIcon items.

Definition at line 20 of file CreateIcons.cpp.

21{
22 LOG4CPP_INFO_S ((*mainCat)) << "CreateIcons::create";
23
24 QIcon icon;
30
31 icon.addPixmap (icon16);
32 icon.addPixmap (icon32);
33 icon.addPixmap (icon64);
34 icon.addPixmap (icon128);
35 icon.addPixmap (icon256);
36
37 mw.setWindowIcon (icon);
38}
const int INNER_RADIUS_MIN
log4cpp::Category * mainCat
Definition Logger.cpp:14
#define LOG4CPP_INFO_S(logger)
Definition convenience.h:18

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