delegate
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.mass.queue.widget.tree.delegate.Actions(value)
Bases:
enum.Enum
An enumeration.
- SHOW_VALIDATION = 'show_validation'
- class omni.flux.validator.mass.queue.widget.tree.delegate.Delegate(use_global_style: bool = False, style: Optional[Dict[str, Any]] = None)
Bases:
omni.ui._ui.AbstractItemDelegate
Delegate of the tree
- __init__(self: omni.ui._ui.AbstractItemDelegate) None
Constructs AbstractItemDelegate.
- kwargs : dict
See below
### Keyword Arguments:
- build_branch(model, item, column_id, level, expanded)
Create a branch widget that opens or closes subtree
- build_header(column_id)
Build the header
- build_widget(model, item: _Item, column_id, level, expanded)
Create a widget per item
- destroy()