wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
SelectionCapabilities Struct Reference

Computed capabilities and consensus state of the current element selection. More...

#include <SelectionCapabilities.h>

Public Attributes

bool canChangeAppearance = false
bool canChangeInputSize = false
bool canChangeOutputSize = false
bool canMorph = false
ElementType elementType = ElementType::Unknown
bool hasAudio = false
bool hasAudioBox = false
bool hasColors = false
bool hasDelay = false
bool hasElements = false
bool hasFrequency = false
bool hasLabel = false
bool hasLatchedValue = false
bool hasOnlyInputs = false
bool hasSameAudio = false
bool hasSameColors = false
bool hasSameDelay = false
bool hasSameFrequency = false
bool hasSameInputSize = false
bool hasSameLabel = false
bool hasSameOutputSize = false
bool hasSameOutputValue = false
bool hasSameTrigger = false
bool hasSameType = false
bool hasSameVolume = false
bool hasTrigger = false
bool hasTruthTable = false
bool hasVolume = false
bool hasWirelessMode = false
bool isEmbedded = false
bool isFileBacked = false
int maxCurrentOutputSize = 0
int maximumInputs = 0
int maximumOutputs = 0
int minimumInputs = 0
int minimumOutputs = 0
bool sameCheckState = false

Detailed Description

Computed capabilities and consensus state of the current element selection.

Recomputed from scratch on every selection change by computeCapabilities(). Consumed by ElementEditor (UI updates), ElementContextMenu (menu building), and any other observer of the selection state.

Definition at line 24 of file SelectionCapabilities.h.

Member Data Documentation

◆ canChangeAppearance

bool SelectionCapabilities::canChangeAppearance = false

Definition at line 48 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ canChangeInputSize

bool SelectionCapabilities::canChangeInputSize = false

Definition at line 49 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ canChangeOutputSize

bool SelectionCapabilities::canChangeOutputSize = false

Definition at line 50 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ canMorph

bool SelectionCapabilities::canMorph = false

Definition at line 51 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ elementType

ElementType SelectionCapabilities::elementType = ElementType::Unknown

Definition at line 75 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasAudio

bool SelectionCapabilities::hasAudio = false

Definition at line 28 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasAudioBox

bool SelectionCapabilities::hasAudioBox = false

Definition at line 27 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasColors

bool SelectionCapabilities::hasColors = false

Definition at line 29 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ hasDelay

bool SelectionCapabilities::hasDelay = false

Definition at line 30 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasElements

bool SelectionCapabilities::hasElements = false

Definition at line 31 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ hasFrequency

bool SelectionCapabilities::hasFrequency = false

Definition at line 32 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ hasLabel

bool SelectionCapabilities::hasLabel = false

Definition at line 33 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ hasLatchedValue

bool SelectionCapabilities::hasLatchedValue = false

Definition at line 35 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasOnlyInputs

bool SelectionCapabilities::hasOnlyInputs = false

Definition at line 34 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameAudio

bool SelectionCapabilities::hasSameAudio = false

Definition at line 55 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameColors

bool SelectionCapabilities::hasSameColors = false

Definition at line 56 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameDelay

bool SelectionCapabilities::hasSameDelay = false

Definition at line 57 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameFrequency

bool SelectionCapabilities::hasSameFrequency = false

Definition at line 58 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameInputSize

bool SelectionCapabilities::hasSameInputSize = false

Definition at line 59 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameLabel

bool SelectionCapabilities::hasSameLabel = false

Definition at line 60 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameOutputSize

bool SelectionCapabilities::hasSameOutputSize = false

Definition at line 61 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameOutputValue

bool SelectionCapabilities::hasSameOutputValue = false

Definition at line 62 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameTrigger

bool SelectionCapabilities::hasSameTrigger = false

Definition at line 63 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasSameType

bool SelectionCapabilities::hasSameType = false

Definition at line 64 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ hasSameVolume

bool SelectionCapabilities::hasSameVolume = false

Definition at line 65 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasTrigger

bool SelectionCapabilities::hasTrigger = false

Definition at line 37 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ hasTruthTable

bool SelectionCapabilities::hasTruthTable = false

Definition at line 38 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasVolume

bool SelectionCapabilities::hasVolume = false

Definition at line 39 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ hasWirelessMode

bool SelectionCapabilities::hasWirelessMode = false

Definition at line 36 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ isEmbedded

bool SelectionCapabilities::isEmbedded = false

Definition at line 44 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ isFileBacked

bool SelectionCapabilities::isFileBacked = false

Definition at line 43 of file SelectionCapabilities.h.

Referenced by computeCapabilities(), and ElementContextMenu::exec().

◆ maxCurrentOutputSize

int SelectionCapabilities::maxCurrentOutputSize = 0

Definition at line 74 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ maximumInputs

int SelectionCapabilities::maximumInputs = 0

Definition at line 71 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ maximumOutputs

int SelectionCapabilities::maximumOutputs = 0

Definition at line 73 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ minimumInputs

int SelectionCapabilities::minimumInputs = 0

Definition at line 70 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ minimumOutputs

int SelectionCapabilities::minimumOutputs = 0

Definition at line 72 of file SelectionCapabilities.h.

Referenced by computeCapabilities().

◆ sameCheckState

bool SelectionCapabilities::sameCheckState = false

Definition at line 69 of file SelectionCapabilities.h.

Referenced by computeCapabilities().


The documentation for this struct was generated from the following file: