Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <berryQtStyleManager.h>
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 (const 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 |
![]() | |
virtual | ~IQtStyleManager () |
Static Public Member Functions | |
static QIcon | ThemeIcon (const QByteArray &originalSVG) |
static QIcon | ThemeIcon (const QString &resourcePath) |
Additional Inherited Members | |
![]() | |
typedef QList< Style > | StyleList |
Definition at line 24 of file berryQtStyleManager.h.
berry::QtStyleManager::QtStyleManager | ( | ) |
Definition at line 83 of file berryQtStyleManager.cpp.
References AddStyles(), Contains(), berry::WorkbenchPlugin::GetDefault(), berry::AbstractUICTKPlugin::GetPreferencesService(), berry::IPreferencesService::GetSystemPreferences(), berry::QtPreferences::QT_STYLE_NAME, berry::QtPreferences::QT_STYLE_SEARCHPATHS, berry::QtPreferences::QT_STYLES_NODE, SetDefaultStyle(), and SetStyle().
|
override |
Definition at line 114 of file berryQtStyleManager.cpp.
References AddStyle(), and SetDefaultStyle().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 185 of file berryQtStyleManager.cpp.
References info().
Referenced by AddStyles(), and ~QtStyleManager().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 215 of file berryQtStyleManager.cpp.
References AddStyle(), BERRY_WARN, Json::in(), and info().
Referenced by QtStyleManager().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 400 of file berryQtStyleManager.cpp.
Referenced by QtStyleManager().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 175 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 385 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 210 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 205 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 165 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 316 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 170 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 180 of file berryQtStyleManager.cpp.
const std::type_info& berry::QtStyleManager::GetType | ( | ) | const |
bool berry::QtStyleManager::IsA | ( | const std::type_info & | type | ) | const |
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 277 of file berryQtStyleManager.cpp.
References SetDefaultStyle().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 287 of file berryQtStyleManager.cpp.
References info(), and SetDefaultStyle().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 390 of file berryQtStyleManager.cpp.
References SetStyle().
Referenced by QtStyleManager(), RemoveStyle(), RemoveStyles(), SetStyle(), and ~QtStyleManager().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 358 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 363 of file berryQtStyleManager.cpp.
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 322 of file berryQtStyleManager.cpp.
References BERRY_WARN, berry::PlatformUI::GetWorkbench(), SetDefaultStyle(), and berry::IWorkbench::UpdateTheme().
Referenced by QtStyleManager(), and SetDefaultStyle().
|
static |
Definition at line 48 of file berryQtStyleManager.cpp.
References berry::ParseColor().
Referenced by berry::AbstractUICTKPlugin::ImageDescriptorFromPlugin(), QmitkExtWorkbenchWindowAdvisor::PostWindowCreate(), QmitkNodeSelectionDialog::QmitkNodeSelectionDialog(), QmitkSingleNodeSelectionWidget::QmitkSingleNodeSelectionWidget(), and ThemeIcon().
|
static |
Definition at line 69 of file berryQtStyleManager.cpp.
References BERRY_WARN, and ThemeIcon().
|
overridevirtual |
Implements berry::IQtStyleManager.
Definition at line 368 of file berryQtStyleManager.cpp.
References berry::PlatformUI::GetWorkbench(), and berry::IWorkbench::UpdateTheme().