My Project
|
A list of categories for a particular search. More...
#include <unity/shell/scopes/CategoriesInterface.h>
Public Types | |
enum | Roles { RoleCategoryId , RoleName , RoleIcon , RoleRawRendererTemplate , RoleRenderer , RoleComponents , RoleHeaderLink , RoleResults , RoleCount } |
The roles supported by this model. | |
Public Member Functions | |
virtual Q_INVOKABLE bool | overrideCategoryJson (QString const &categoryId, QString const &json)=0 |
Override definition of a category by passing a custom JSON string. | |
A list of categories for a particular search.
This model exposes all categories and their properties (including the results model itself) associated with a particular search.
|
pure virtual |
Override definition of a category by passing a custom JSON string.
A method that helps with scope development, where the renderer definition can be overridden from within the shell.