|
My Project
|
An item presented in the launcher. More...
#include <unity/shell/launcher/LauncherItemInterface.h>


Properties | |
| QString | appId |
| The appId of the application associated with the item. | |
| QString | name |
| The user visible name of the item. | |
| QString | icon |
| The full path to the icon to be shown for the item. | |
| QStringList | keywords |
| The keywords for this item. | |
| bool | pinned |
| A flag whether the item is pinned or not. | |
| bool | running |
| A flag whether the application belonging to the icon is currently running or not. | |
| bool | recent |
| A flag wheter the application is in the recently used applications list. | |
| int | progress |
| The percentage of the progress bar shown on the item. More... | |
| int | count |
| The number for the count emblem on the item. More... | |
| bool | countVisible |
| The visibility of the count emblem. More... | |
| bool | focused |
| The focused state of the item. More... | |
| bool | alerting |
| The alerting state of the item. More... | |
| int | surfaceCount |
| The number of surfaces that this application entry has opened. More... | |
| unity::shell::launcher::QuickListModelInterface * | quickList |
| The quick list menu contents for the item. More... | |
An item presented in the launcher.
The items hold all the information required for the visual representation in the launcher.
|
read |
The alerting state of the item.
True if alerting/wobbling, false if not alerting/wobbling
|
read |
The number for the count emblem on the item.
For values >0 this will paint an emblem containing the number. For 0 and negative values, no count emblem will be drawn.
|
read |
The visibility of the count emblem.
True if the count emblem should be visible, false otherwise.
|
read |
The focused state of the item.
True if focused, false if not focused
|
read |
The percentage of the progress bar shown on the item.
For values from 0 and 100 this will present a progress bar on the item. For values outside this range, no progress bar will be drawn.
|
read |
The quick list menu contents for the item.
Items can have a quick list menu. This property holds a model for the contents of that menu. The pointer to the model will be constant, but of course the contents of the model can change.
|
read |
The number of surfaces that this application entry has opened.
The Launcher will display up to 3 pips, one for each surface