napari_locan.data_model.region_specifications.RegionSpecifications#

class napari_locan.data_model.region_specifications.RegionSpecifications(datasets=None, names=None)[source]#

Bases: napari_locan.data_model.data_model_base.DataModel

Container for one or more region specifications.

Variables
  • datasets_changed_signal (PyQt5.QtCore.pyqtSignal) – A Qt signal for index

  • names_changed_signal (PyQt5.QtCore.pyqtSignal) – A Qt signal for names

  • index_changed_signal (PyQt5.QtCore.pyqtSignal) – A Qt signal for index

  • datasets – Data structures

  • names – Data structure string identifier

  • index – Current selection of data structure

  • dataset – The selected data object

  • name – The selected data identifier

Methods

__init__([datasets, names])

append_item(dataset[, name, set_index])

Append a new item to the end of datasets and point index to new dataset if set_index is true.

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

delete_all()

Delete all datasets and set index to -1.

delete_item()

Delete current dataset and set index to the previous dataset.

disconnect(-> bool)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

findChild(-> QObjectT)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

parent(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

set_datasets_and_names([datasets, names])

Set datasets and names to the given values and point index to the last item.

set_index_slot(value)

QT slot for property self.index.

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(self, sourceText[, disambiguation, n])

Attributes

count

dataset

rtype

Optional[Any]

datasets

rtype

list[Any]

datasets_changed_signal

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

destroyed

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

index

rtype

int

index_changed_signal

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

name

rtype

str

names

rtype

list[str]

names_changed_signal

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject