![]() |
Sayonara Player
|
#include <SayonaraWidgetTemplate.h>
Template for Sayonara Widgets. This template is responsible for holding a reference to the settings and so, the REGISTER_LISTENER and REGISTER_LISTENER_NO_CALL macros are available.
Public Member Functions | |
SayonaraWidgetTemplate (QWidget *parent=nullptr) | |
bool | is_dark () const |
Returns, if the current skin is dark. More... | |
Protected Member Functions | |
QString | elide_text (const QString &text, QWidget *widget, int max_lines) |
Protected Attributes | |
Settings * | _settings =nullptr |
|
inline |
Returns, if the current skin is dark.