![]() |
PeriDyno 1.0.0
|
#include <QStringList>
#include <QStyle>
#include <functional>
#include <memory>
#include "API.h"
#include "Styles.h"
Go to the source code of this file.
Namespaces | |
namespace | tt |
Typedefs | |
using | tt::TStyleCreator = std::function<StyleParams*()> |
Functions | |
void | tt::RegisterStyle (const QString &styleName, const TStyleCreator &creator) |
void | tt::UnregisterStyle (const QString &styleName) |
bool | tt::IsStyleRegistered (const QString &styleName) |
QString | tt::GetSheetForStyle (const StyleParams &style) |
QStringList | tt::GetRegisteredStyles () |
std::unique_ptr< StyleParams > | tt::CreateStyle (const QString &styleName) |
QString | tt::GetDefaultStyle () |
float | tt::GetScaleFactor (const QWidget &widget) |
int | tt::GetPixelMetric (QStyle::PixelMetric metric) |