QElectroTech  0.70
Classes
element.cpp File Reference
#include "element.h"
#include "diagram.h"
#include "conductor.h"
#include "diagramcommands.h"
#include <utility>
#include "elementprovider.h"
#include "diagramposition.h"
#include "terminal.h"
#include "PropertiesEditor/propertieseditordialog.h"
#include "elementpropertieswidget.h"
#include "numerotationcontextcommands.h"
#include "diagramcontext.h"
#include "changeelementinformationcommand.h"
#include "dynamicelementtextitem.h"
#include "elementtextitemgroup.h"
#include "elementpicturefactory.h"
#include "iostream"

Go to the source code of this file.

Classes

class  ElementXmlRetroCompatibility
 

Functions

or nullptr if this element

Element::textGroup

Parameters
name
Returns
the text group named haven't got a group with this name
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. More...
 

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

Definition at line 1414 of file element.cpp.

References Diagram::convertPosition(), QetGraphicsItem::diagram(), and Diagram::folioIndex().

Referenced by Element::linkedElements().