QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
masterelement.cpp File Reference
#include "masterelement.h"
#include "../qetproject.h"
#include "../diagram.h"
#include "../qetinformation.h"
#include "crossrefitem.h"
#include "dynamicelementtextitem.h"
#include "../properties/elementdata.h"
#include <QRegularExpression>
Include dependency graph for masterelement.cpp:

Namespaces

namespace  anonymous_namespace{masterelement.cpp}
 MasterElement::contactUsage Count the slave contacts currently linked to this master, by type. This is the single place where that count is worked out: the cross ref item, the properties dialog and the link widgets all read it from here, so they cannot disagree with each other.

Functions

ContactUsage::Type anonymous_namespace{masterelement.cpp}::contactType (ElementData::SlaveState state)