verity capability before edit
This commit is contained in:
parent
4f7d77c803
commit
511c4224ef
|
@ -101,6 +101,9 @@ uint16_t QSacnUniverse::activeSlots() const
|
|||
*/
|
||||
void QSacnUniverse::setDescription(std::string desc)
|
||||
{
|
||||
if (!universe_->isEditable())
|
||||
return;
|
||||
|
||||
universe_->provenance()->source_name = desc;
|
||||
emit changed();
|
||||
}
|
||||
|
@ -112,6 +115,9 @@ void QSacnUniverse::setDescription(std::string desc)
|
|||
*/
|
||||
void QSacnUniverse::setOptions(sACN::DATA::data_options o)
|
||||
{
|
||||
if (!universe_->isEditable())
|
||||
return;
|
||||
|
||||
universe_->provenance()->options = o;
|
||||
emit changed();
|
||||
}
|
||||
|
@ -123,6 +129,9 @@ void QSacnUniverse::setOptions(sACN::DATA::data_options o)
|
|||
*/
|
||||
void QSacnUniverse::setPriority(uint8_t p)
|
||||
{
|
||||
if (!universe_->isEditable())
|
||||
return;
|
||||
|
||||
universe_->provenance()->priority = p;
|
||||
emit changed();
|
||||
}
|
||||
|
@ -134,6 +143,9 @@ void QSacnUniverse::setPriority(uint8_t p)
|
|||
*/
|
||||
void QSacnUniverse::setSyncAddress(uint16_t a)
|
||||
{
|
||||
if (!universe_->isEditable())
|
||||
return;
|
||||
|
||||
universe_->provenance()->sync_address = a;
|
||||
emit changed();
|
||||
}
|
||||
|
@ -146,6 +158,9 @@ void QSacnUniverse::setSyncAddress(uint16_t a)
|
|||
*/
|
||||
void QSacnUniverse::setValue (const uint16_t addr, const uint8_t level)
|
||||
{
|
||||
if (!universe_->isEditable())
|
||||
return;
|
||||
|
||||
universe_->sACN::Universe::setValue(addr, level);
|
||||
emit changed();
|
||||
}
|
||||
|
@ -160,6 +175,9 @@ void QSacnUniverse::setValue (const uint16_t addr, const uint8_t level)
|
|||
void QSacnUniverse::setValue (const uint16_t addr, const uint16_t size,
|
||||
const uint8_t* profile)
|
||||
{
|
||||
if (!universe_->isEditable())
|
||||
return;
|
||||
|
||||
universe_->sACN::Universe::setValue(addr, size, profile);
|
||||
emit changed();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue