file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.ui_query/omni/ui_query/query.py
from typing import Optional, Union, List, Tuple import omni.ui as ui import carb class OmniUIQuery: def __init__(self) -> None: pass @classmethod def _child_widget(cls, widget: ui.Widget, path_segment: str, show_warnings=True) -> Union[ui.Widget, None]: """ Find a widget from a pa...
omniverse-code/kit/exts/omni.ui_query/omni/ui_query/__init__.py
import omni.ui from .query import OmniUIQuery
omniverse-code/kit/exts/omni.ui_query/omni/ui_query/tests/__init__.py
from .test_query import TestQuery
omniverse-code/kit/exts/omni.ui_query/omni/ui_query/tests/test_query.py
from ..query import OmniUIQuery import omni.kit.test import omni.ui class TestQuery(omni.kit.test.AsyncTestCase): def test_create_test_widget1(self): _window = omni.ui.Window("the window with space") button = None with _window.frame: # the frame can only have 1 widget under it ...
omniverse-code/kit/exts/omni.ui_query/docs/index.rst
omni.ui_query ########################### Extension provides API to make omni.ui queries to find widgets using path. .. toctree:: :maxdepth: 1 TUTORIAL.md CHANGELOG.md
omniverse-code/kit/exts/omni.hydra.scene_api/omni/hydra/scene_api/__init__.py
import omni.ext from .bindings._omni_hydra_scene_api import *
omniverse-code/kit/exts/omni.hydra.scene_api/omni/hydra/scene_api/tests/__init__.py
import sys # Temporarily disable all omni.rtx.tests cases until they are stable on Linux with # a driver common to all TC agents if sys.platform == "win32": from .test_backgroundloadingscenedelegate import TestBackgroundLoadingSceneDelegate
omniverse-code/kit/exts/omni.hydra.scene_api/omni/hydra/scene_api/tests/test_backgroundloadingscenedelegate.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.window.provide_feedback/PACKAGE-LICENSES/omni.kit.window.provide_feedback-LICENSE.md
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docume...
omniverse-code/kit/exts/omni.kit.window.provide_feedback/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.0.2" # Lists people or organizations that are considered the "authors" of the package. authors = ["NVIDIA"] # The title and description fields are primarily for displaying extension info in UI title = "Kit Provide Feedback Window" description="...
omniverse-code/kit/exts/omni.kit.window.provide_feedback/omni/kit/window/provide_feedback.py
import carb import omni.ext import webbrowser class Extension(omni.ext.IExt): def on_startup(self): import omni.kit.ui def provide_feedback_func(a, b): url = carb.settings.get_settings().get(f"/exts/omni.kit.window.provide_feedback/url") webbrowser.open(url) ...
omniverse-code/kit/exts/omni.kit.window.provide_feedback/docs/CHANGELOG.md
# CHANGELOG ## [1.0.2] - 2022-05-31 ### Updated - Moved URL into settings ## [1.0.1] - 2021-08-18 ### Updated - Updated menu to match other menu styling ## [1.0.0] - 2021-05-19 - Updated to open URL ## [0.1.0] - 2020-10-29 - Ported old version to extensions 2.0
omniverse-code/kit/exts/omni.kit.window.provide_feedback/docs/index.rst
omni.kit.window.provide_feedback ################################# .. toctree:: :maxdepth: 1 CHANGELOG
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/viewport_layer.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/style.py
import omni.ui as ui from omni.ui import color as cl, constant as fl from pathlib import Path __all__ = ["VIEWPORT_MENUBAR_STYLE", "VIEWPORT_PREFERENCE_STYLE"] # Name of default menubar DEFAULT_MENUBAR_NAME = "__DEFAULT__MENUBAR__" CURRENT_PATH = Path(__file__).parent ICON_PATH = CURRENT_PATH.parent.parent.parent.p...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/extension.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/__init__.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/viewport_menu_model.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/preference/model.py
import omni.ui as ui from ..viewport_menu_model import ViewportMenuModel, AbstractViewportMenuItem from ..menu_item.viewport_menubar_item import ViewportMenubar from ..style import DEFAULT_MENUBAR_NAME __all__ = ["PreferenceModel"] class PreferenceModel(ui.AbstractItemModel): """ Wrapper model for preference ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/preference/menubar_treeview_delegate.py
import omni.ui as ui from typing import Dict, Callable from ..menu_item.viewport_menu_item import ViewportMenuItem from ..viewport_menu_model import ViewportMenuModel from ..model.combobox_model import SettingComboBoxModel from ..model.reset_button import ResetButton __all__ = ["AlignmentImages", "MenubarTreeViewDeleg...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/preference/menubar_page.py
from omni.kit.window.preferences import PreferenceBuilder import omni.ui as ui from typing import Optional from .menubar_treeview_delegate import MenubarTreeViewDelegate from .model import PreferenceModel from ..viewport_menu_model import ViewportMenuModel from ..style import VIEWPORT_PREFERENCE_STYLE __all__ = ["Vie...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/color_menu_item.py
from ..delegate.color_menu_delegate import ColorMenuDelegate from ..model.list_model import ColorModel from .viewport_menu_item import ViewportMenuItem from typing import List, Optional import carb.settings import omni.kit.app import omni.ui as ui import asyncio __all__ = ["AbstractColorMenuItem", "FloatArraySettingC...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/viewport_menu_container.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/viewport_menu_item.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/selectable_menu_item.py
from typing import Callable from ..delegate.viewport_menu_delegate import ViewportMenuDelegate from omni import ui __all__ = ["SelectableMenuItem"] class SelectableMenuItem(ui.MenuItem): """Menu item could be selected and show icon when selected. kwargs: model (ui.AbstractValueModel): Model for sel...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/viewport_menu_separator.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/category_menu_collection.py
import omni.kit.app from omni import ui from ..model.category_model import SimpleCategoryModel, CategoryStateItem, CategoryCollectionItem, CategoryCustomItem from ..delegate.category_menu_delegate import CategoryMenuDelegate, CategoryStatus from ..utils import menu_is_tearable from .selectable_menu_item import Selectab...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/viewport_menu_spacer.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/category_menu_container.py
from ..model.category_model import CategoryCustomItem, SimpleCategoryModel, CategoryStateItem, CategoryCollectionItem, CategoryStatus from .category_menu_collection import CategoryMenuCollection from .selectable_menu_item import SelectableMenuItem from typing import Callable, Dict, Optional __all__ = ["CategoryMenuCo...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/viewport_menubar_item.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/radio_menu_collection.py
from omni import ui from ..model.combobox_model import ComboBoxModel from ..delegate.viewport_menu_delegate import ViewportMenuDelegate from ..utils import menu_is_tearable from .viewport_menu_separator import ViewportMenuSeparator __all__ = ["RadioMenuCollection"] class RadioMenuCollection(ui.MenuItemCollection): ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/menu_item/viewport_button_item.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/spinner_menu_delegate.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/slider_menu_delegate.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/icon_menu_delegate.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/viewport_menu_delegate.py
from typing import Union, Optional, Callable, List import omni.ui as ui STATUS_ICON_WIDTH = 20 MENU_ARROW_SIZE = 8 __all__ = ["OptionBoxStyle", "ViewportMenuDelegate"] class ViewportMenuDelegate(ui.MenuDelegate): """The menu delegate that draws in the menu or menuitem the given status. kwargs: icon...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/separator_menu_delegate.py
import omni.ui as ui class SeparatorDelegate(ui.MenuDelegate): """Generic menu delegate with separator between menu items""" def __init__(self): super().__init__() def __del__(self): self.destroy() def destroy(self): pass def build_item(self, item): self.__frame...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/category_menu_delegate.py
from typing import Callable from .viewport_menu_delegate import ViewportMenuDelegate from ..model.category_model import CategoryStatus import omni.ui as ui import carb.windowing __all__ = ["CategoryMenuDelegate"] class CategoryMenuDelegate(ViewportMenuDelegate): def __init__(self, status: CategoryStatus, icon_cli...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/color_menu_delegate.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/checkbox_menu_delegate.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/abstract_widget_menu_delegate.py
import abc import omni.ui as ui from typing import Optional from ..model.reset_button import ResetButton MENU_ARROW_SIZE = 8 class AbstractWidgetMenuDelegate(ui.MenuDelegate): def __init__( self, model = None, width: ui.Length = ui.Fraction(1), height: ui.Length = ui.Fraction(1), ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/label_menu_delegate.py
import omni.ui as ui class LabelMenuDelegate(ui.MenuDelegate): """ The menu delegate that show menu item text as a label. kwargs: enable (bool): Label enabled or not. Default True. width (ui.Length): Label width. Default ui.Fraction(1). height (ui.Length): Label height. Default 26 ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/delegate/combobox_menu_delegate.py
from typing import Optional from attr import has from omni import ui from omni.ui import constant as fl from ..model.combobox_model import ComboBoxModel from .abstract_widget_menu_delegate import AbstractWidgetMenuDelegate __all__ = ["ComboBoxMenuDelegate"] class ComboBoxMenuDelegate(AbstractWidgetMenuDelegate): ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_button_item.py
from pathlib import Path import omni.ui as ui from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from omni.kit.ui_test.query import MenuRef, WidgetRef, WindowStub import omni.kit.app from ..viewport_menu_model import ViewportMenuModel from .style import...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/abstract_test_container.py
__all__ = ["AbstractTestContainer"] import copy from typing import Dict import carb from omni.kit.viewport.menubar.core import ViewportMenuContainer, IconMenuDelegate import omni.ui as ui from ..style import VIEWPORT_MENUBAR_STYLE from .style import UI_STYLE class AbstractTestContainer(ViewportMenuContainer): ...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_viewport_menu_model.py
## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/example_button.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/style.py
from pathlib import Path CURRENT_PATH = Path(__file__).parent ICON_PATH = CURRENT_PATH.parent.parent.parent.parent.parent.parent.joinpath("data").joinpath("tests") UI_STYLE = { "Menu.Item.Icon::Sample": {"image_url": f"{ICON_PATH}/preferences_dark.svg"}, "Menu.Button.Image::Sample": {"image_url": f"{ICON_PATH...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_radio_collection.py
from pathlib import Path from omni.kit.viewport.menubar.core import RadioMenuCollection, ComboBoxModel import omni.ui as ui from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from omni.kit.ui_test.query import MenuRef import omni.kit.app from .abstract_...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/left_example_menu_container.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/__init__.py
from .test_abstract_delegate import * from .test_button_item import * from .test_icon_delegate import * from .test_models import * from .test_more_menubars import * from .test_radio_collection import * from .test_slider_delegate import * from .test_preference import * from .test_ui import * from .test_viewport_menu_mo...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_ui.py
import omni.kit.test from re import I from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from .left_example_menu_container import LeftExampleMenuContainer from .right_example_menu_container import RightExampleMenuContainer from .example_button import Butt...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_more_menubars.py
import omni.kit.test from re import I from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from omni.kit.viewport.menubar.core import ViewportMenubar, ViewportMenuSpacer, get_instance as get_menubar_instance from .left_example_menu_container import LeftExam...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_models.py
## Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_icon_delegate.py
import copy from pathlib import Path from typing import Dict from omni.kit.viewport.menubar.core import ViewportMenuContainer, AbstractWidgetMenuDelegate, IconMenuDelegate import omni.ui as ui from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from omni....
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_preference.py
import omni.kit.test from omni.ui.tests.test_base import OmniUiTest from pathlib import Path import omni.kit.app import omni.kit.window.preferences from omni.kit.viewport.window import ViewportWindow import omni.ui as ui from omni.kit.viewport.menubar.core import get_instance, ViewportMenuSpacer from .left_example_men...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_abstract_delegate.py
import copy from pathlib import Path from typing import Dict from omni.kit.viewport.menubar.core import ViewportMenuContainer, AbstractWidgetMenuDelegate, IconMenuDelegate import omni.ui as ui from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from omni....
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/right_example_menu_container.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/tests/test_slider_delegate.py
from pathlib import Path from omni.kit.viewport.menubar.core import SliderMenuDelegate import omni.ui as ui from omni.ui.tests.test_base import OmniUiTest from omni.kit.viewport.utility import get_active_viewport_and_window from omni.kit.ui_test.query import MenuRef import omni.kit.app from .abstract_test_container i...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/utils/__init__.py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/omni/kit/viewport/menubar/core/utils/usd_watch.py
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/docs/index.rst
omni.kit.viewport.menubar.core ############################### .. mdinclude:: README.md .. toctree:: :maxdepth: 1 README API (python) <API.rst> CHANGELOG
omniverse-code/kit/exts/omni.kit.viewport.menubar.core/docs/API.rst
API ######### .. automodule:: omni.kit.viewport.menubar.core :platform: Windows-x86_64, Linux-x86_64 :members: :undoc-members: :show-inheritance: :imported-members:
omniverse-code/kit/exts/omni.kit.property.file/PACKAGE-LICENSES/omni.kit.property.file-LICENSE.md
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docume...
omniverse-code/kit/exts/omni.kit.property.file/config/extension.toml
[package] # Semantic Versioning is used: https://semver.org/ version = "1.0.2" category = "Internal" feature = true # Lists people or organizations that are considered the "authors" of the package. authors = ["NVIDIA"] # The title and description fields are primarly for displaying extension info in UI title = "File ...
omniverse-code/kit/exts/omni.kit.property.file/omni/kit/property/file/file_widget.py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.file/omni/kit/property/file/extension.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and rel...
omniverse-code/kit/exts/omni.kit.property.file/omni/kit/property/file/__init__.py
# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software an...
omniverse-code/kit/exts/omni.kit.property.file/omni/kit/property/file/tests/__init__.py
from .test_file import *
omniverse-code/kit/exts/omni.kit.property.file/omni/kit/property/file/tests/test_file.py
## Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. ## ## NVIDIA CORPORATION and its licensors retain all intellectual property ## and proprietary rights in and to this software, related documentation ## and any modifications thereto. Any use, reproduction, disclosure or ## distribution of this software a...
omniverse-code/kit/exts/omni.kit.property.file/docs/CHANGELOG.md
# Changelog The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [1.0.2] - 2022-07-25 ### Changes - Refactored unittests to make use of content_browser test helpers ## [1.0.1] - 2021-08-18 ### Added - Handled exception on shutdown ## [1.0.0] - 2021-01-20 ### Added - Initial version.
omniverse-code/kit/exts/omni.kit.property.file/docs/README.md
# omni.kit.property.file ## Introduction This extension adds file selection listener and a File Info property widget.
omniverse-code/kit/exts/omni.kit.property.file/docs/index.rst
omni.kit.property.file: File Property Widget Extension ####################################################### .. toctree:: :maxdepth: 1 CHANGELOG File Property Widget ========================== .. automodule:: omni.kit.property.file :platform: Windows-x86_64, Linux-x86_64 :members: :undoc-members:...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_version.py
# This file was generated by 'versioneer.py' (0.23) from # revision-control system data, or from the parent directory name of an # unpacked source archive. Distribution tarballs contain a pre-generated copy # of this file. import json version_json = ''' { "date": "2023-01-05T13:27:00-0800", "dirty": false, "error...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/public_api.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. from __future__ import annotations import functools import typing from debugpy import _version # Expose debugpy.server API from subpackage, but do not actually im...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/ThirdPartyNotices.txt
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION Do Not Translate or Localize debugpy incorporates third party material from the projects listed below. 1. PyDev.Debugger (https://github.com/fabioz/PyDev.Debugger) Includes:File copyright Brainwy Software Ltda. Includes:File(s) related to Python, Cpytho...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/__init__.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. """An implementation of the Debug Adapter Protocol (DAP) for Python. https://microsoft.github.io/debug-adapter-protocol/ """ # debugpy stable public API consists so...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/__main__.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. import sys if __name__ == "__main__": # debugpy can also be invoked directly rather than via -m. In this case, the first # entry on sys.path is the one adde...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/_pydevd_packaging.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. from . import VENDORED_ROOT from ._util import cwd, iter_all_files INCLUDES = [ 'setup_pydevd_cython.py', ] def iter_files(): # From the root of pydevd re...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/__init__.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. import contextlib from importlib import import_module import os import sys from . import _util VENDORED_ROOT = os.path.dirname(os.path.abspath(__file__)) # TODO: M...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/force_pydevd.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. from importlib import import_module import os import warnings from . import check_modules, prefix_matcher, preimport, vendored # Ensure that pydevd is our vendored ...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/_util.py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE in the project root # for license information. import contextlib import os @contextlib.contextmanager def cwd(dirname): """A context manager for operating in a different directory.""" orig = os.getcwd() ...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydev_app_engine_debug_startup.py
if False: config = None # See: https://docs.google.com/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit if ':' not in config.version_id: # The default server version_id does not contain ':' import json import os import sys startup = config.python_config.startup_args ...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydev_pysrc.py
'''An empty file in pysrc that can be imported (from sitecustomize) to find the location of pysrc'''
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydevd_tracing.py
from _pydevd_bundle.pydevd_constants import get_frame, IS_CPYTHON, IS_64BIT_PROCESS, IS_WINDOWS, \ IS_LINUX, IS_MAC, DebugInfoHolder, LOAD_NATIVE_LIB_FLAG, \ ENV_FALSE_LOWER_VALUES, ForkSafeLock from _pydev_bundle._pydev_saved_modules import thread, threading from _pydev_bundle import pydev_log, pydev_monkey im...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/setup_pydevd_cython.py
''' A simpler setup version just to compile the speedup module. It should be used as: python setup_pydevd_cython build_ext --inplace Note: the .c file and other generated files are regenerated from the .pyx file by running "python build_tools/build.py" ''' import os import sys from setuptools import setup os.chdir...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydevd.py
''' Entry point module (keep at root): This module starts the debugger. ''' import sys # @NoMove if sys.version_info[:2] < (3, 6): raise RuntimeError('The PyDev.Debugger requires Python 3.6 onwards to be run. If you need to use an older Python version, use an older version of the debugger.') import os try: #...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydevd_file_utils.py
r''' This module provides utilities to get the absolute filenames so that we can be sure that: - The case of a file will match the actual file in the filesystem (otherwise breakpoints won't be hit). - Providing means for the user to make path conversions when doing a remote debugging session in ...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydevconsole.py
''' Entry point module to start the interactive console. ''' from _pydev_bundle._pydev_saved_modules import thread, _code from _pydevd_bundle.pydevd_constants import IS_JYTHON start_new_thread = thread.start_new_thread from _pydevd_bundle.pydevconsole_code import InteractiveConsole compile_command = _code.compile_com...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydev_run_in_console.py
''' Entry point module to run a file in the interactive console. ''' import os import sys import traceback from pydevconsole import InterpreterInterface, process_exec_queue, start_console_server, init_mpl_in_console from _pydev_bundle._pydev_saved_modules import threading, _queue from _pydev_bundle import pydev_import...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/pydev_coverage.py
''' Entry point module to run code-coverage. ''' def is_valid_py_file(path): ''' Checks whether the file can be read by the coverage module. This is especially needed for .pyx files and .py files with syntax errors. ''' import os is_valid = False if os.path.isfile(path) and not os.path.sp...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel.py
import unittest from _pydev_bundle._pydev_saved_modules import thread import queue as Queue from _pydev_runfiles import pydev_runfiles_xml_rpc import time import os import threading import sys #======================================================================================================================= # fl...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_xml_rpc.py
import sys import threading import traceback import warnings from _pydev_bundle._pydev_filesystem_encoding import getfilesystemencoding from _pydev_bundle.pydev_imports import xmlrpclib, _queue from _pydevd_bundle.pydevd_constants import Null Queue = _queue.Queue # This may happen in IronPython (in Python it shouldn...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles.py
from __future__ import nested_scopes import fnmatch import os.path from _pydev_runfiles.pydev_runfiles_coverage import start_coverage_support from _pydevd_bundle.pydevd_constants import * # @UnusedWildImport import re import time #=====================================================================================...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py
import os.path import sys from _pydevd_bundle.pydevd_constants import Null #======================================================================================================================= # get_coverage_files #====================================================================================================...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel_client.py
from _pydev_bundle.pydev_imports import xmlrpclib, _queue Queue = _queue.Queue import traceback import sys from _pydev_runfiles.pydev_runfiles_coverage import start_coverage_support_from_params import threading #==========================================================================================================...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/__init__.py
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_pytest2.py
from _pydev_runfiles import pydev_runfiles_xml_rpc import pickle import zlib import base64 import os from pydevd_file_utils import canonical_normalized_path import pytest import sys import time from pathlib import Path #========================================================================= # Load filters with tests...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_unittest.py
import unittest as python_unittest from _pydev_runfiles import pydev_runfiles_xml_rpc import time from _pydevd_bundle import pydevd_io import traceback from _pydevd_bundle.pydevd_constants import * # @UnusedWildImport from io import StringIO #==========================================================================...
omniverse-code/kit/exts/omni.kit.debug.python/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_nose.py
from nose.plugins.multiprocess import MultiProcessTestRunner # @UnresolvedImport from nose.plugins.base import Plugin # @UnresolvedImport import sys from _pydev_runfiles import pydev_runfiles_xml_rpc import time from _pydev_runfiles.pydev_runfiles_coverage import start_coverage_support from contextlib import contextm...