Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,29 @@
#pragma once
#include <QLabel>
#include <QObject>
#include <QPixmap>
class RatioAwareLabel : public QLabel
{
public:
RatioAwareLabel(QWidget *parent);
protected:
void resizeEvent(QResizeEvent *event) override;
QSize sizeHint() const override;
public slots:
void setPixmap(const QPixmap &pixmap);
private:
int heightRatio(int width) const;
void scale();
QPixmap m_pixmap;
};