MCPcopy Create free account
hub / github.com/Kitware/ParaView / arraySelection

Method arraySelection

Qt/Components/pqDisplayColorWidget.cxx:426–435  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

424
425//-----------------------------------------------------------------------------
426QPair<int, QString> pqDisplayColorWidget::arraySelection() const
427{
428 if (this->Variables->currentIndex() != -1)
429 {
430 return pqDisplayColorWidget::PropertyLinksConnection::convert(
431 this->Variables->itemData(this->Variables->currentIndex()));
432 }
433
434 return QPair<int, QString>();
435}
436
437//-----------------------------------------------------------------------------
438void pqDisplayColorWidget::setArraySelection(const QPair<int, QString>& value)

Callers 5

refreshComponentsMethod · 0.95
currentQtValueMethod · 0.80
getCurrentTextFunction · 0.80

Calls 3

itemDataMethod · 0.80
convertFunction · 0.50
currentIndexMethod · 0.45

Tested by

no test coverage detected