porymap/include/ui/customattributestable.h

22 lines
472 B
C
Raw Normal View History

#ifndef CUSTOMATTRIBUTESTABLE_H
#define CUSTOMATTRIBUTESTABLE_H
#include "event.h"
#include <QObject>
#include <QFrame>
#include <QTableWidget>
2021-02-18 00:20:14 +00:00
class CustomAttributesTable : public QFrame {
public:
2021-02-18 00:20:14 +00:00
explicit CustomAttributesTable(Event* event, QWidget* parent = nullptr);
~CustomAttributesTable();
private:
2021-02-18 00:20:14 +00:00
Event* event;
QTableWidget* table;
void resizeVertically();
QMap<QString, QString> getTableFields();
};
#endif // CUSTOMATTRIBUTESTABLE_H