mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-22 01:54:46 -05:00
37 lines
693 B
C++
37 lines
693 B
C++
#ifndef CUSTOMATTRIBUTESFRAME_H
|
|
#define CUSTOMATTRIBUTESFRAME_H
|
|
|
|
/*
|
|
The frame containing the Custom Attributes table and its Add/Delete buttons.
|
|
Shared by the map's Header tab and Events.
|
|
*/
|
|
|
|
#include "customattributestable.h"
|
|
|
|
#include <QObject>
|
|
#include <QFrame>
|
|
|
|
namespace Ui {
|
|
class CustomAttributesFrame;
|
|
}
|
|
|
|
class CustomAttributesFrame : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CustomAttributesFrame(QWidget *parent = nullptr);
|
|
~CustomAttributesFrame();
|
|
|
|
CustomAttributesTable* table() const;
|
|
|
|
private:
|
|
Ui::CustomAttributesFrame *ui;
|
|
|
|
void addAttribute();
|
|
void deleteAttribute();
|
|
void updateDeleteButton();
|
|
};
|
|
|
|
#endif // CUSTOMATTRIBUTESFRAME_H
|