QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
element.h File Reference
#include "../ElementsCollection/elementslocation.h"
#include "../NameList/nameslist.h"
#include "../autoNum/assignvariables.h"
#include "../diagramcontext.h"
#include "../qet.h"
#include "qetgraphicsitem.h"
#include "../properties/elementdata.h"
#include <QHash>
#include <QPicture>
#include <algorithm>
Include dependency graph for element.h:

Go to the source code of this file.

Classes

class  Element
struct  Element::LinkInfo
 The LinkInfo struct Stores link data for element connections. For slave elements, group_index indicates which contact group of the master this slave is assigned to (-1 = no group assigned). More...

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: