Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
VersionControlUI::DiffFrame Class Reference
Inheritance diagram for VersionControlUI::DiffFrame:
Core::Reflect< Base >

Public Member Functions

 DiffFrame (Model::Node *oldVersionNode, Model::Node *newVersionNode)
 
void addNewChangedNode (Model::Node *newNode)
 
void addOldChangedNode (Model::Node *oldNode)
 
QString comparisonName ()
 
bool isDummyDiffFrame ()
 
QSet< Model::Node * > newChangedNodes ()
 
Model::NodenewVersionNode ()
 
Model::TextnewVersionObjectPath ()
 
QList< ObjectPathCrumbDataobjectPathCrumbsDataNewNode ()
 
QList< ObjectPathCrumbDataobjectPathCrumbsDataOldNode ()
 
QSet< Model::Node * > oldChangedNodes ()
 
Model::NodeoldVersionNode ()
 
Model::TextoldVersionObjectPath ()
 
Model::TextsingleObjectPath ()
 
virtual QJsonValue toJson () const override
 
bool twoObjectPathsDefined ()
 

Static Public Member Functions

static QString computeObjectPath (Model::Node *node)
 

Private Member Functions

QString computeComponentName ()
 
void computeObjectPath ()
 
QList< ObjectPathCrumbDatacomputeObjectPathCrumbData (Model::Node *node, QString &objectPath)
 
void computeObjectPathCrumbs (Model::Node *oldNode, QString oldNodeObjectPath, Model::Node *newNode, QString newNodeObjectPath)
 
void setComparisonName (Model::Node *node, QString nodeObjectPath, QString componentName)
 

Private Attributes

QString comparisonName_
 
bool isDummyDiffFrame_ {false}
 
QSet< Model::Node * > newChangedNodes_
 
Model::NodenewVersionNode_ {}
 
QList< ObjectPathCrumbDataobjectPathCrumbsDataNewNode_
 
QList< ObjectPathCrumbDataobjectPathCrumbsDataOldNode_
 
QSet< Model::Node * > oldChangedNodes_
 
Model::NodeoldVersionNode_ {}
 
bool twoObjectPathsDefined_ {}
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ DiffFrame()

VersionControlUI::DiffFrame::DiffFrame ( Model::Node oldVersionNode,
Model::Node newVersionNode 
)

Member Function Documentation

◆ addNewChangedNode()

void VersionControlUI::DiffFrame::addNewChangedNode ( Model::Node newNode)
inline

◆ addOldChangedNode()

void VersionControlUI::DiffFrame::addOldChangedNode ( Model::Node oldNode)
inline

◆ comparisonName()

QString VersionControlUI::DiffFrame::comparisonName ( )
inline

◆ computeComponentName()

QString VersionControlUI::DiffFrame::computeComponentName ( )
private

◆ computeObjectPath() [1/2]

void VersionControlUI::DiffFrame::computeObjectPath ( )
private

◆ computeObjectPath() [2/2]

QString VersionControlUI::DiffFrame::computeObjectPath ( Model::Node node)
static

◆ computeObjectPathCrumbData()

QList< ObjectPathCrumbData > VersionControlUI::DiffFrame::computeObjectPathCrumbData ( Model::Node node,
QString &  objectPath 
)
private

◆ computeObjectPathCrumbs()

void VersionControlUI::DiffFrame::computeObjectPathCrumbs ( Model::Node oldNode,
QString  oldNodeObjectPath,
Model::Node newNode,
QString  newNodeObjectPath 
)
private

◆ isDummyDiffFrame()

bool VersionControlUI::DiffFrame::isDummyDiffFrame ( )
inline

◆ newChangedNodes()

QSet< Model::Node * > VersionControlUI::DiffFrame::newChangedNodes ( )
inline

◆ newVersionNode()

Model::Node * VersionControlUI::DiffFrame::newVersionNode ( )
inline

◆ newVersionObjectPath()

Model::Text* VersionControlUI::DiffFrame::newVersionObjectPath ( )

◆ objectPathCrumbsDataNewNode()

QList< ObjectPathCrumbData > VersionControlUI::DiffFrame::objectPathCrumbsDataNewNode ( )
inline

◆ objectPathCrumbsDataOldNode()

QList< ObjectPathCrumbData > VersionControlUI::DiffFrame::objectPathCrumbsDataOldNode ( )
inline

◆ oldChangedNodes()

QSet< Model::Node * > VersionControlUI::DiffFrame::oldChangedNodes ( )
inline

◆ oldVersionNode()

Model::Node * VersionControlUI::DiffFrame::oldVersionNode ( )
inline

◆ oldVersionObjectPath()

Model::Text* VersionControlUI::DiffFrame::oldVersionObjectPath ( )

◆ setComparisonName()

void VersionControlUI::DiffFrame::setComparisonName ( Model::Node node,
QString  nodeObjectPath,
QString  componentName 
)
private

◆ singleObjectPath()

Model::Text* VersionControlUI::DiffFrame::singleObjectPath ( )

◆ toJson()

QJsonValue VersionControlUI::DiffFrame::toJson ( ) const
overridevirtual

◆ twoObjectPathsDefined()

bool VersionControlUI::DiffFrame::twoObjectPathsDefined ( )
inline

Member Data Documentation

◆ comparisonName_

QString VersionControlUI::DiffFrame::comparisonName_
private

◆ isDummyDiffFrame_

bool VersionControlUI::DiffFrame::isDummyDiffFrame_ {false}
private

◆ newChangedNodes_

QSet<Model::Node*> VersionControlUI::DiffFrame::newChangedNodes_
private

◆ newVersionNode_

Model::Node* VersionControlUI::DiffFrame::newVersionNode_ {}
private

◆ objectPathCrumbsDataNewNode_

QList<ObjectPathCrumbData> VersionControlUI::DiffFrame::objectPathCrumbsDataNewNode_
private

◆ objectPathCrumbsDataOldNode_

QList<ObjectPathCrumbData> VersionControlUI::DiffFrame::objectPathCrumbsDataOldNode_
private

◆ oldChangedNodes_

QSet<Model::Node*> VersionControlUI::DiffFrame::oldChangedNodes_
private

◆ oldVersionNode_

Model::Node* VersionControlUI::DiffFrame::oldVersionNode_ {}
private

◆ twoObjectPathsDefined_

bool VersionControlUI::DiffFrame::twoObjectPathsDefined_ {}
private