44 lines
718 B
C++
Executable File
44 lines
718 B
C++
Executable File
#pragma once
|
|
|
|
#include "../aes_base_exports.h"
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
#include <Services/AreaEffectSimulation/aes.hpp>
|
|
|
|
|
|
namespace Ui
|
|
{
|
|
class BaseInfo;
|
|
}
|
|
|
|
namespace LtsSession
|
|
{
|
|
class LtsSessionDataDds;
|
|
}
|
|
|
|
|
|
namespace AreaEffectSimulation
|
|
{
|
|
|
|
class AESBASEGUI_EXPORT BaseInfo : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit BaseInfo(QWidget *parent = nullptr);
|
|
~BaseInfo();
|
|
|
|
bool setData(const AesItem *item);
|
|
void init(LtsSession::LtsSessionDataDds *session);
|
|
|
|
void setEffectStart(qint64 effectStart);
|
|
void setEffectDuration(int32_t effectDuration);
|
|
|
|
private:
|
|
void retranslate() override;
|
|
|
|
LtsSession::LtsSessionDataDds *m_session;
|
|
Ui::BaseInfo *m_ui;
|
|
};
|
|
|
|
}
|