umbrello/umbrello
Functions | |
QPixmap | BarIcon (IconType type) |
QCursor | Cursor (IconType type) |
KIcon | DesktopIcon (IconType type) |
KIcon | iconSet (Uml::DiagramType::Enum dt) |
QPixmap | MainBarIcon (IconType type) |
QPixmap | SmallIcon (IconType type) |
QString | toString (IconType type) |
QPixmap | UserIcon (IconType type) |
Detailed Description
This class is a gateway to KIconLoader for for handling all the used icons in umbrello.
Identification is done with an enum and then a translation to the icon name.
Enumeration Type Documentation
enum Icon_Utils::IconType |
Definition at line 38 of file icon_utils.h.
Function Documentation
QPixmap Icon_Utils::BarIcon | ( | IconType | type | ) |
Returns the pixmap for the given type as bar icon.
- Parameters
-
type the identification of the icon
- Returns
- the wanted pixmap
Definition at line 46 of file icon_utils.cpp.
QCursor Icon_Utils::Cursor | ( | IconType | type | ) |
Returns the pixmap for the given type as user icon.
This is used in worktoolbar to create cursors.
- Parameters
-
type the identification of the icon
- Returns
- the wanted cursor
Definition at line 87 of file icon_utils.cpp.
KIcon Icon_Utils::DesktopIcon | ( | IconType | type | ) |
Returns the pixmap for the given type as desktop icon.
- Parameters
-
type the identification of the icon
- Returns
- the wanted icon
Definition at line 76 of file icon_utils.cpp.
KIcon Icon_Utils::iconSet | ( | Uml::DiagramType::Enum | dt | ) |
Return the icon corresponding to the given Diagram_Type.
- Parameters
-
dt the diagram type
- Returns
- the wanted icon
Definition at line 97 of file icon_utils.cpp.
QPixmap Icon_Utils::MainBarIcon | ( | IconType | type | ) |
Returns the pixmap for the given type as main bar icon.
- Parameters
-
type the identification of the icon
- Returns
- the wanted pixmap
Definition at line 56 of file icon_utils.cpp.
QPixmap Icon_Utils::SmallIcon | ( | IconType | type | ) |
Returns the pixmap for the given type as small icon.
- Parameters
-
type the identification of the icon
- Returns
- the wanted pixmap
Definition at line 36 of file icon_utils.cpp.
QString Icon_Utils::toString | ( | IconType | type | ) |
Conversion from icon type to its string name.
- Parameters
-
type the identification of the icon
- Returns
- the string representation of the type
Definition at line 130 of file icon_utils.cpp.
QPixmap Icon_Utils::UserIcon | ( | IconType | type | ) |
Returns the pixmap for the given type as user icon.
- Parameters
-
type the identification of the icon
- Returns
- the wanted pixmap
Definition at line 66 of file icon_utils.cpp.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.