A widget to display the set name and collectors number with adjustable font size.
More...
#include <set_name_and_collectors_number_display_widget.h>
A widget to display the set name and collectors number with adjustable font size.
- Todo
- Document this file.
This widget displays the set name and collectors number on two separate labels.
◆ SetNameAndCollectorsNumberDisplayWidget()
| SetNameAndCollectorsNumberDisplayWidget::SetNameAndCollectorsNumberDisplayWidget |
( |
QWidget * | parent, |
|
|
const QString & | setName, |
|
|
const QString & | collectorsNumber ) |
◆ resizeEvent()
| void SetNameAndCollectorsNumberDisplayWidget::resizeEvent |
( |
QResizeEvent * | event | ) |
|
|
override |
Handles resize events to adjust the height of the set name label.
This method calculates the height required to display the set name label with word wrapping. It adjusts the minimum height of the set name label to fit the text.
- Parameters
-
◆ collectorsNumber
| QLabel* SetNameAndCollectorsNumberDisplayWidget::collectorsNumber |
|
private |
◆ layout
| QVBoxLayout* SetNameAndCollectorsNumberDisplayWidget::layout |
|
private |
◆ setName
| QLabel* SetNameAndCollectorsNumberDisplayWidget::setName |
|
private |
The documentation for this class was generated from the following files: