Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

23
qt/qt_common/spinner.hpp Normal file
View file

@ -0,0 +1,23 @@
#pragma once
#include <cstddef>
#include <vector>
#include <QtGui/QPixmap>
#include <QtWidgets/QLabel>
class Spinner : private QLabel
{
public:
Spinner();
void Show();
void Hide();
QLabel & AsWidget() { return static_cast<QLabel &>(*this); }
private:
std::vector<QPixmap> m_pixmaps;
QTimer * m_timer = nullptr;
size_t m_progress = 0;
};