first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef UIHELPERS_H
|
||||
#define UIHELPERS_H
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
class QFrame;
|
||||
class QLabel;
|
||||
class QTableWidget;
|
||||
|
||||
namespace UiHelpers {
|
||||
|
||||
QFrame *makeCard(const QString &title);
|
||||
QLabel *makeBadge(const QString &text, const QString &color);
|
||||
QLabel *makeStatusCell(const QString &text, const QString &color);
|
||||
QLabel *makeSquareStatusCell(const QString &text, const QString &color);
|
||||
QTableWidget *makeTable(const QStringList &headers);
|
||||
void addRow(QTableWidget *table, const QStringList &values);
|
||||
|
||||
}
|
||||
|
||||
#endif // UIHELPERS_H
|
||||
Reference in New Issue
Block a user