QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Classes | Functions
element.cpp File Reference
#include "element.h"
#include "../PropertiesEditor/propertieseditordialog.h"
#include "../autoNum/numerotationcontextcommands.h"
#include "../diagram.h"
#include "../diagramcommands.h"
#include "../diagramcontext.h"
#include "../diagramposition.h"
#include "../elementprovider.h"
#include "../factory/elementpicturefactory.h"
#include "../properties/terminaldata.h"
#include "../qetgraphicsitem/conductor.h"
#include "../qetgraphicsitem/terminal.h"
#include "../ui/elementpropertieswidget.h"
#include "../undocommand/changeelementinformationcommand.h"
#include "dynamicelementtextitem.h"
#include "elementtextitemgroup.h"
#include "iostream"
#include "../qetxml.h"
#include "../qetversion.h"
#include <QDomElement>
#include <utility>
Include dependency graph for element.cpp:

Classes

class  ElementXmlRetroCompatibility
 

Functions

bool comparPos (const Element *elmt1, const Element *elmt2)
 comparPos Compare position of the two elements. Compare 3 points: 1 folio - 2 row - 3 line returns a response when a comparison is found.
 

Function Documentation

◆ comparPos()

bool comparPos ( const Element elmt1,
const Element elmt2 
)

comparPos Compare position of the two elements. Compare 3 points: 1 folio - 2 row - 3 line returns a response when a comparison is found.

Returns
true if elmt1 is at lower position than elmt 2, else false
Here is the call graph for this function:
Here is the caller graph for this function: