SILICON
Loading...
Searching...
No Matches
ThemedSvgItem Class Reference

#include <themedSvgItem.hpp>

Inheritance diagram for ThemedSvgItem:
Collaboration diagram for ThemedSvgItem:

Classes

class  RendererLease

Public Member Functions

 ThemedSvgItem (QString path, QGraphicsItem *parent=nullptr)
 ~ThemedSvgItem () override

Private Member Functions

void refreshTheme ()

Private Attributes

QString path
RendererLease * rendererLease
CallbackScope callbacks

Detailed Description

A circuit SVG item backed by the current theme's cached renderer.

Definition at line 18 of file themedSvgItem.hpp.

Constructor & Destructor Documentation

◆ ThemedSvgItem()

ThemedSvgItem ( QString path,
QGraphicsItem * parent = nullptr )
explicit

Definition at line 305 of file icons.cpp.

◆ ~ThemedSvgItem()

~ThemedSvgItem ( )
overridedefault

Member Function Documentation

◆ refreshTheme()

void refreshTheme ( )
private

Definition at line 315 of file icons.cpp.

Member Data Documentation

◆ callbacks

CallbackScope callbacks
private

Definition at line 31 of file themedSvgItem.hpp.

◆ path

QString path
private

Definition at line 26 of file themedSvgItem.hpp.

◆ rendererLease

RendererLease* rendererLease
private

Definition at line 30 of file themedSvgItem.hpp.


The documentation for this class was generated from the following files: