mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-01 08:09:59 +02:00
Add isFull method to check slave limit
Added a new method to check if the slave limit is reached.
This commit is contained in:
@@ -45,6 +45,8 @@ class MasterElement : public Element
|
|||||||
void initLink (QETProject *project) override;
|
void initLink (QETProject *project) override;
|
||||||
QRectF XrefBoundingRect() const;
|
QRectF XrefBoundingRect() const;
|
||||||
|
|
||||||
|
bool isFull() const; // NEU: Prüft, ob das Slave-Limit erreicht ist
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QVariant itemChange(
|
QVariant itemChange(
|
||||||
GraphicsItemChange change,
|
GraphicsItemChange change,
|
||||||
|
|||||||
Reference in New Issue
Block a user