Neuralyzer::Plots::PlotTooltipContent
Neuralyzer::Plots::PlotTooltipContent
Content to display in the tooltip. More…
#include <PlotTooltipManager.hpp>
Public Functions
| Name | |
|---|---|
| bool | hasPixmap() const |
| bool | hasText() const |
| bool | isEmpty() const |
Public Attributes
| Name | |
|---|---|
| QString | text Plain text tooltip (used if pixmap is null). |
| QPixmap | pixmap Rich tooltip rendered as an image (takes precedence over text). |
Detailed Description
struct Neuralyzer::Plots::PlotTooltipContent;Content to display in the tooltip.
Either plain text (shown via QToolTip::showText) or a pixmap (shown in a lightweight popup widget). At least one must be set.
Public Functions Documentation
function hasPixmap
inline bool hasPixmap() constfunction hasText
inline bool hasText() constfunction isEmpty
inline bool isEmpty() constPublic Attributes Documentation
variable text
QString text;Plain text tooltip (used if pixmap is null).
variable pixmap
QPixmap pixmap;Rich tooltip rendered as an image (takes precedence over text).
Updated on 2026-11-13 at 20:25:41 +0000