Loading...
Searching...
No Matches

Preview of a score shown next to a hovered entry: thumbnail, name, author. More...

Inheritance diagram for score::ThumbnailPopup:

Detailed Description

Preview of a score shown next to a hovered entry: thumbnail, name, author.

Public Member Functions

 ThumbnailPopup (const QFont &titleFont, const QFont &subFont, QWidget *parent)
 
void setContent (const QImage &thumbnail, const QString &title, const QString &author, const QString &description, const QString &path)
 
void showFor (QWidget *anchor, const QRect &bounds)
 Shows the popup next to anchor, inside bounds (parent coordinates).
 

Static Public Attributes

static constexpr int Width = 264
 
static constexpr int ThumbHeight = 158
 
static constexpr int Margin = 6
 
static constexpr int DescriptionLines = 2
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 

The documentation for this class was generated from the following file: