32 lines
653 B
C++
32 lines
653 B
C++
#ifndef STORYBOARDSPRESENT_H
|
|
#define STORYBOARDSPRESENT_H
|
|
|
|
#include "appcore.h"
|
|
|
|
#include <QTextEdit>
|
|
#include <QTreeView>
|
|
#include <QWidget>
|
|
|
|
namespace Components {
|
|
|
|
class StoryBoardsPresent : public QWidget
|
|
{
|
|
public:
|
|
StoryBoardsPresent(Core::AppCore *core, QWidget *parent=nullptr);
|
|
|
|
void refresh();
|
|
|
|
private:
|
|
Core::AppCore *const core_ins;
|
|
QTreeView *const tree_view;
|
|
QTextEdit *const details_view;
|
|
QStandardItemModel *const model_base;
|
|
|
|
void show_current_details(const QModelIndex &idx);
|
|
void click_to(const QModelIndex &idx);
|
|
};
|
|
}
|
|
|
|
|
|
#endif // STORYBOARDSPRESENT_H
|