QElectroTech  0.8-dev
Classes | Functions
element.h File Reference
#include "qet.h"
#include "qetgraphicsitem.h"
#include "diagramcontext.h"
#include "assignvariables.h"
#include "elementslocation.h"
#include "nameslist.h"
#include <algorithm>
#include <QPicture>
Include dependency graph for element.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Element
 

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. 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
Here is the call graph for this function:
Here is the caller graph for this function: