The icon class. Represents icon element in menu screens.
More...
#include <icon.h>
|
QString | path |
| path Image path of the icon.
|
|
QString | title |
| title Title of the icon.
|
|
int | topMargin |
| topMargin Top margin of the icon.
|
|
int | bottomMargin |
| bottomMargin Bottom margin of the icon.
|
|
int | leftMargin |
| leftMargin Left margin of the icon.
|
|
int | rightMargin |
| rightMargin Right margin of the icon.
|
|
The icon class. Represents icon element in menu screens.
◆ getBottomMargin()
int Icon::getBottomMargin |
( |
| ) |
const |
getBottomMargin Replaces icon bottom margin.
- Returns
- Bottom margin.
◆ getLeftMargin()
int Icon::getLeftMargin |
( |
| ) |
const |
getLeftMargin Returns icon left margin.
- Returns
- Left margin.
◆ getPath()
QString Icon::getPath |
( |
| ) |
const |
getPath Returns the path of the icon image.
- Returns
- Path of the image.
◆ getRightMargin()
int Icon::getRightMargin |
( |
| ) |
const |
getRightMargin Returns icon right margin.
- Returns
- Right margin.
◆ getTitle()
QString Icon::getTitle |
( |
| ) |
const |
getTitle Returns the icon title.
- Returns
- Title of the icon.
◆ getTopMargin()
int Icon::getTopMargin |
( |
| ) |
const |
getTopMargin Returns icon top margin.
- Returns
- Top margin.
◆ setBottomMargin()
void Icon::setBottomMargin |
( |
int |
value | ) |
|
setBottomMargin Replaces icon bottom margin.
- Parameters
-
value | Bottom margin value. |
◆ setLeftMargin()
void Icon::setLeftMargin |
( |
int |
value | ) |
|
setLeftMargin Replaces icon left margin.
- Parameters
-
◆ setPath()
void Icon::setPath |
( |
const QString |
value | ) |
|
setPath Replaces the path of the icon image.
- Parameters
-
◆ setRightMargin()
void Icon::setRightMargin |
( |
int |
value | ) |
|
setRightMargin Replaces icon right margin.
- Parameters
-
◆ setTitle()
void Icon::setTitle |
( |
const QString & |
value | ) |
|
setTitle Replaces the icon title.
- Parameters
-
◆ setTopMargin()
void Icon::setTopMargin |
( |
int |
value | ) |
|
setTopMargin Replaces icon top margin.
- Parameters
-
The documentation for this class was generated from the following files:
- D:/Documentos/ViewDesignerAssistant/Model/icon.h
- D:/Documentos/ViewDesignerAssistant/Model/icon.cpp