2018-09-27 17:23:40 +01:00
|
|
|
#ifndef EVENTPROPERTIESFRAME_H
|
|
|
|
#define EVENTPROPERTIESFRAME_H
|
2018-09-25 00:55:58 +01:00
|
|
|
|
2020-01-02 19:59:31 +00:00
|
|
|
#include "event.h"
|
|
|
|
|
2018-09-25 00:55:58 +01:00
|
|
|
#include <QFrame>
|
|
|
|
|
|
|
|
namespace Ui {
|
2018-09-27 17:23:40 +01:00
|
|
|
class EventPropertiesFrame;
|
2018-09-25 00:55:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
class EventPropertiesFrame : public QFrame
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-01-02 19:59:31 +00:00
|
|
|
explicit EventPropertiesFrame(Event *event, QWidget *parent = nullptr);
|
2018-09-25 00:55:58 +01:00
|
|
|
~EventPropertiesFrame();
|
2020-01-02 19:59:31 +00:00
|
|
|
void paintEvent(QPaintEvent*);
|
2018-09-25 00:55:58 +01:00
|
|
|
|
|
|
|
public:
|
2018-09-27 17:23:40 +01:00
|
|
|
Ui::EventPropertiesFrame *ui;
|
2020-01-02 19:59:31 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Event *event;
|
|
|
|
bool firstShow = true;
|
2018-09-25 00:55:58 +01:00
|
|
|
};
|
|
|
|
|
2018-09-27 17:23:40 +01:00
|
|
|
#endif // EVENTPROPERTIESFRAME_H
|