bunch of stuff. very basic drag/drop now working

This commit is contained in:
Ikatono
2024-05-20 03:23:01 -05:00
commit fac2260a01
28 changed files with 1631 additions and 0 deletions

27
tierrowtitlecard.hpp Normal file
View File

@@ -0,0 +1,27 @@
#ifndef TIERROWTITLECARD_HPP
#define TIERROWTITLECARD_HPP
#include <QWidget>
#include <QLabel>
class TierRowTitleCard : public QFrame
{
Q_OBJECT
public:
using IdType = uint32_t;
explicit TierRowTitleCard(IdType id, QWidget *parent = nullptr);
void setColor(QColor color);
QColor color() const;
void setText(QString& text);
QString text() const;
uint32_t id() const;
private:
QColor _color;
QLabel* titleLabel;
QLabel* idLabel;
signals:
};
#endif // TIERROWTITLECARD_HPP