SILICON
Loading...
Searching...
No Matches
PropertyPanel Class Reference

#include <propertyPanel.hpp>

Inheritance diagram for PropertyPanel:
Collaboration diagram for PropertyPanel:

Public Member Functions

 PropertyPanel (QDockWidget *dock, DiagramScene *scene, ProjectTree *tree, QUndoStack *history, std::optional< SILICON::project::ProjectInfo > &projectInfo, const QString &fileName, std::function< void()> rebuildTree)
void refresh ()

Private Attributes

QDockWidget * propertyDock
DiagramScene * diagramScene
ProjectTree * projectTree
QUndoStack * undoStack
std::optional< SILICON::project::ProjectInfo > & currentProjectInfo
const QString & currentFileName
std::function< void()> rebuildProjectTree
CallbackScope callbacks

Detailed Description

Rebuilds the property dock from the current scene or project selection.

Definition at line 31 of file propertyPanel.hpp.

Constructor & Destructor Documentation

◆ PropertyPanel()

PropertyPanel ( QDockWidget * dock,
DiagramScene * scene,
ProjectTree * tree,
QUndoStack * history,
std::optional< SILICON::project::ProjectInfo > & projectInfo,
const QString & fileName,
std::function< void()> rebuildTree )

Definition at line 83 of file propertyPanel.cpp.

Member Function Documentation

◆ refresh()

void refresh ( )

Definition at line 101 of file propertyPanel.cpp.

Member Data Documentation

◆ callbacks

CallbackScope callbacks
private

Definition at line 48 of file propertyPanel.hpp.

◆ currentFileName

const QString& currentFileName
private

Definition at line 46 of file propertyPanel.hpp.

◆ currentProjectInfo

std::optional<SILICON::project::ProjectInfo>& currentProjectInfo
private

Definition at line 45 of file propertyPanel.hpp.

◆ diagramScene

DiagramScene* diagramScene
private

Definition at line 42 of file propertyPanel.hpp.

◆ projectTree

ProjectTree* projectTree
private

Definition at line 43 of file propertyPanel.hpp.

◆ propertyDock

QDockWidget* propertyDock
private

Definition at line 41 of file propertyPanel.hpp.

◆ rebuildProjectTree

std::function<void()> rebuildProjectTree
private

Definition at line 47 of file propertyPanel.hpp.

◆ undoStack

QUndoStack* undoStack
private

Definition at line 44 of file propertyPanel.hpp.


The documentation for this class was generated from the following files: