Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berry::QtStyleManager Class Reference

#include <berryQtStyleManager.h>

Inheritance diagram for berry::QtStyleManager:
Collaboration diagram for berry::QtStyleManager:

Public Member Functions

 QtStyleManager ()
 
 ~QtStyleManager () override
 
Style GetStyle () const override
 
QString GetStylesheet () const override
 
QString GetActiveTabStylesheet () const override
 
QString GetTabStylesheet () const override
 
QString GetFont () const override
 
void AddStyle (const QString &styleFileName, const QString &styleName=QString()) override
 
void AddStyles (const QString &path) override
 
void RemoveStyle (const QString &styleFileName) override
 
void RemoveStyles (const QString &path=QString()) override
 
void GetStyles (StyleList &styles) const override
 
void SetStyle (const QString &fileName) override
 
void GetFonts (QStringList &fontNames) const override
 
void SetFont (const QString &fontName) override
 
void SetFontSize (int fontSize) override
 
void UpdateWorkbenchFont () override
 
Style GetDefaultStyle () const override
 
void SetDefaultStyle () override
 
bool Contains (const QString &fileName) const override
 
bool IsA (const std::type_info &type) const
 
const std::type_info & GetType () const
 
- Public Member Functions inherited from berry::IQtStyleManager
virtual ~IQtStyleManager ()
 

Static Public Member Functions

static QIcon ThemeIcon (const QByteArray &originalSVG)
 
static QIcon ThemeIcon (const QString &resourcePath)
 

Static Public Attributes

static const QString DEFAULT_FONT
 
static const int DEFAULT_FONT_SIZE
 

Additional Inherited Members

- Public Types inherited from berry::IQtStyleManager
typedef QList< StyleStyleList
 

Detailed Description

Definition at line 26 of file berryQtStyleManager.h.

Constructor & Destructor Documentation

◆ QtStyleManager()

berry::QtStyleManager::QtStyleManager ( )

◆ ~QtStyleManager()

berry::QtStyleManager::~QtStyleManager ( )
override

Member Function Documentation

◆ AddStyle()

void berry::QtStyleManager::AddStyle ( const QString &  styleFileName,
const QString &  styleName = QString() 
)
overridevirtual

◆ AddStyles()

void berry::QtStyleManager::AddStyles ( const QString &  path)
overridevirtual

◆ Contains()

bool berry::QtStyleManager::Contains ( const QString &  fileName) const
overridevirtual

◆ GetActiveTabStylesheet()

QString berry::QtStyleManager::GetActiveTabStylesheet ( ) const
overridevirtual

◆ GetDefaultStyle()

Style berry::QtStyleManager::GetDefaultStyle ( ) const
overridevirtual

◆ GetFont()

QString berry::QtStyleManager::GetFont ( ) const
overridevirtual

◆ GetFonts()

void berry::QtStyleManager::GetFonts ( QStringList &  fontNames) const
overridevirtual

◆ GetStyle()

Style berry::QtStyleManager::GetStyle ( ) const
overridevirtual

◆ GetStyles()

void berry::QtStyleManager::GetStyles ( StyleList styles) const
overridevirtual

◆ GetStylesheet()

QString berry::QtStyleManager::GetStylesheet ( ) const
overridevirtual

◆ GetTabStylesheet()

QString berry::QtStyleManager::GetTabStylesheet ( ) const
overridevirtual

◆ GetType()

const std::type_info& berry::QtStyleManager::GetType ( ) const

◆ IsA()

bool berry::QtStyleManager::IsA ( const std::type_info &  type) const

◆ RemoveStyle()

void berry::QtStyleManager::RemoveStyle ( const QString &  styleFileName)
overridevirtual

◆ RemoveStyles()

void berry::QtStyleManager::RemoveStyles ( const QString &  path = QString())
overridevirtual

◆ SetDefaultStyle()

void berry::QtStyleManager::SetDefaultStyle ( )
overridevirtual

◆ SetFont()

void berry::QtStyleManager::SetFont ( const QString &  fontName)
overridevirtual

◆ SetFontSize()

void berry::QtStyleManager::SetFontSize ( int  fontSize)
overridevirtual

◆ SetStyle()

void berry::QtStyleManager::SetStyle ( const QString &  fileName)
overridevirtual

◆ ThemeIcon() [1/2]

static QIcon berry::QtStyleManager::ThemeIcon ( const QByteArray &  originalSVG)
static

◆ ThemeIcon() [2/2]

static QIcon berry::QtStyleManager::ThemeIcon ( const QString &  resourcePath)
static

◆ UpdateWorkbenchFont()

void berry::QtStyleManager::UpdateWorkbenchFont ( )
overridevirtual

Member Data Documentation

◆ DEFAULT_FONT

const QString berry::QtStyleManager::DEFAULT_FONT
static

Definition at line 32 of file berryQtStyleManager.h.

◆ DEFAULT_FONT_SIZE

const int berry::QtStyleManager::DEFAULT_FONT_SIZE
static

Definition at line 33 of file berryQtStyleManager.h.


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