34#include <NDEVR/BaseValues.h>
35#include <NDEVR/Resource.h>
36#include <NDEVR/TranslatedString.h>
70 bool event(QEvent* event)
override;
80 bool m_is_vertical =
false;
81 bool m_is_flipped =
false;
82 bool m_is_bold =
false;
Displays translated text. No user interaction functionality is provided. The visual appearance of the...
Definition QCustomLabel.h:46
void setText(const QString &text)
QSize minimumSizeHint() const override
Theme m_theme
Definition QCustomLabel.h:79
QCustomLabel(const QString &text, QWidget *parent=nullptr)
QSize sizeHint() const override
void setLightingTheme(Theme theme)
bool event(QEvent *event) override
QCustomLabel(const TranslatedString &text, QWidget *parent=nullptr)
TranslatedString text() const
void setText(const TranslatedString &text)
fltp04 m_font_multiplier
Definition QCustomLabel.h:78
TranslatedString m_translated_text
Definition QCustomLabel.h:77
static Resource< fltp08 > default_multiplier_desktop
Definition QCustomLabel.h:71
void setText(const char *text)
Theme
Definition QCustomLabel.h:49
void setText(const String &text)
QCustomLabel(QWidget *parent=nullptr)
void setFlipped(bool flipped)
void paintEvent(QPaintEvent *e) override
void setVertical(bool vertical)
void setBold(bool is_bold)
void setFontMultiplier(fltp04 font_multiplier)
static Resource< fltp08 > default_multiplier_touch
Definition QCustomLabel.h:72
A core part of the engine, stores variables that can be listened to with ResourceListener which will ...
Definition Toggle.h:41
The core String class for the NDEVR API.
Definition String.h:69
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
Definition BaseValues.hpp:127