add context panel

This commit is contained in:
AndreaRigoni
2026-03-21 20:14:29 +00:00
parent add9d37aea
commit a8f786d8d1
14 changed files with 381 additions and 17 deletions

View File

@@ -0,0 +1,31 @@
#ifndef CONTEXT_PANEL_H
#define CONTEXT_PANEL_H
#include <QWidget>
class QTreeView;
class QVBoxLayout;
class QLabel;
class ContextModel;
namespace uLib {
class ObjectsContext;
}
class ContextPanel : public QWidget {
Q_OBJECT
public:
explicit ContextPanel(QWidget* parent = nullptr);
virtual ~ContextPanel();
void setContext(uLib::ObjectsContext* context);
private:
QVBoxLayout* m_layout;
QWidget* m_titleBar;
QLabel* m_titleLabel;
QTreeView* m_treeView;
ContextModel* m_model;
};
#endif // CONTEXT_PANEL_H