wrote viewmodel model for project browsing
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef PROJECT_PANEL_H
|
||||
#define PROJECT_PANEL_H
|
||||
|
||||
#include "project/project.h"
|
||||
#include "widget/panel/panel.h"
|
||||
#include "widget/projectexplorer/projectexplorer.h"
|
||||
|
||||
@@ -10,11 +11,16 @@ class ProjectPanel : public PanelWidget
|
||||
public:
|
||||
ProjectPanel(QWidget* parent);
|
||||
|
||||
Project* project();
|
||||
void set_project(Project* p);
|
||||
|
||||
protected:
|
||||
virtual void changeEvent(QEvent* e) override;
|
||||
|
||||
private:
|
||||
void Retranslate();
|
||||
|
||||
ProjectExplorer* explorer_;
|
||||
};
|
||||
|
||||
#endif // PROJECT_H
|
||||
|
||||
Reference in New Issue
Block a user