QtNovelUI/WordsIDE/vsessionmaintenance.h

32 lines
881 B
C++

#ifndef VSESSIONMAINTENANCE_H
#define VSESSIONMAINTENANCE_H
#include "projectpresent.h"
#include <QList>
#include <QStandardItemModel>
#include <libConfig.h>
#include <presentcontainer.h>
#include <splitpanel.h>
namespace Core {
class VSessionMaintenance : public QObject {
Q_OBJECT
public:
VSessionMaintenance(Config::Configration *port);
void initPresentView(SplitFrame::ViewPresent *host, Components::PresentContainer *center_frame, Components::ProjectPresent *project_present,
QStandardItemModel *model);
void viewStatesSave(SplitFrame::ViewPresent *root);
void viewStatesRestore(SplitFrame::ViewPresent *root);
private:
Config::Configration *const recover_port;
QHash<QString, SplitFrame::RectCom *> view_store;
};
} // namespace Core
#endif // VSESSIONMAINTENANCE_H