#include <MultiWidgets/WidgetRenderer.hpp>
Public Member Functions | |
| int | maxDepth () const |
| Maximum render depth. More... | |
| void | render (Luminous::RenderContext &r, const WidgetPtr &widget) const |
| Renders widget and optionally its children recursively. More... | |
| void | setExcludeSelectors (const QString &selectors) |
| Exclude widgets matching these selectors. More... | |
| void | setExcludeSelectors (QList< Stylish::Selector > selectors) |
| void | setIncludeSelectors (const QString &selectors) |
| Only include widgets matching these selectors If the include selectors set is empty, by default everything is included. | |
| void | setIncludeSelectors (QList< Stylish::Selector > selectors) |
| void | setMaxDepth (int depth) |
| int MultiWidgets::WidgetRenderer::maxDepth | ( | ) | const |
Maximum render depth.
Negative value means no limit, zero renders only the given widget without any children, positive value means recursion depth.
| void MultiWidgets::WidgetRenderer::render | ( | Luminous::RenderContext & | r, |
| const WidgetPtr & | widget | ||
| ) | const |
Renders widget and optionally its children recursively.
Doesn't apply transformations or opacity for widget.
| void MultiWidgets::WidgetRenderer::setExcludeSelectors | ( | const QString & | selectors | ) |
Exclude widgets matching these selectors.
Can be used together with include selectors.