30 lines
606 B
C
30 lines
606 B
C
|
#ifndef MESSAGEPRESENT_H
|
||
|
#define MESSAGEPRESENT_H
|
||
|
|
||
|
#include <QStandardItemModel>
|
||
|
#include <QTableView>
|
||
|
#include <QWidget>
|
||
|
#include <libParse.h>
|
||
|
#include "StoryTool.h"
|
||
|
|
||
|
namespace Components {
|
||
|
/**
|
||
|
* @brief 显示各种提示信息
|
||
|
*/
|
||
|
class MessagePresent : public QTableView
|
||
|
{
|
||
|
public:
|
||
|
MessagePresent(MakeTools::StoryTool * tool, QWidget *parent = nullptr);
|
||
|
virtual ~MessagePresent() = default;
|
||
|
|
||
|
void refresh();
|
||
|
|
||
|
private:
|
||
|
MakeTools::StoryTool *const core_ins;
|
||
|
QStandardItemModel *const items_present;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
#endif // MESSAGEPRESENT_H
|