From 9afab1ed19ea374a4079f320feab096fbe85e897 Mon Sep 17 00:00:00 2001 From: methylDragon Date: Fri, 17 Jun 2022 20:02:35 -0700 Subject: [PATCH] ign -> gz Upstream Macro Migration : gz-gui (#413) Co-authored-by: Louise Poubel --- Migration.md | 8 ++- .../config/dialog_on_exit_shutdown.config | 4 +- examples/config/grid_config.config | 12 ++--- examples/config/plugin_params.config | 18 +++---- examples/config/pubsub.config | 8 +-- examples/config/scene3d.config | 28 +++++----- examples/config/scroll.config | 20 +++---- examples/config/style.config | 4 +- examples/config/time.config | 24 ++++----- .../custom_context_menu/CustomContext.cc | 2 +- .../dialog_from_plugin/DialogFromPlugin.cc | 2 +- examples/plugin/gz_components/GzComponents.cc | 2 +- examples/plugin/hello_plugin/HelloPlugin.cc | 2 +- examples/plugin/multiple_qml/MultipleQml.cc | 2 +- .../standalone/point_cloud/point_cloud.config | 24 ++++----- include/gz/gui/Conversions.hh | 10 ++-- include/gz/gui/GuiEvents.hh | 40 +++++++------- include/gz/gui/gz.hh | 3 +- src/Application.cc | 6 +-- src/Application_TEST.cc | 14 ++--- src/Helpers_TEST.cc | 6 +-- src/MainWindow_TEST.cc | 34 ++++++------ src/PlottingInterface_TEST.cc | 6 +-- src/Plugin.cc | 53 ++++++++++++------- src/Plugin_TEST.cc | 6 +-- src/cmd/cmdgui.rb.in | 8 +-- src/ign.cc | 11 ++-- src/ign_TEST.cc | 8 +-- src/plugins/camera_tracking/CameraTracking.cc | 8 +-- src/plugins/grid_config/GridConfig.cc | 2 +- src/plugins/image_display/ImageDisplay.cc | 2 +- .../InteractiveViewControl.cc | 2 +- src/plugins/key_publisher/KeyPublisher.cc | 2 +- src/plugins/marker_manager/MarkerManager.cc | 8 +-- src/plugins/minimal_scene/MinimalScene.cc | 2 +- src/plugins/minimal_scene/MinimalScene.hh | 6 +-- src/plugins/navsat_map/NavSatMap.cc | 2 +- src/plugins/plotting/TransportPlotting.cc | 2 +- src/plugins/plotting/TransportPlotting.hh | 4 +- src/plugins/point_cloud/PointCloud.cc | 4 +- src/plugins/point_cloud/PointCloud_TEST.cc | 2 +- src/plugins/publisher/Publisher.cc | 2 +- src/plugins/publisher/Publisher_TEST.cc | 6 +-- src/plugins/scene3d/Scene3D.cc | 2 +- src/plugins/screenshot/Screenshot.cc | 4 +- src/plugins/screenshot/Screenshot_TEST.cc | 2 +- src/plugins/shutdown_button/ShutdownButton.cc | 2 +- .../shutdown_button/ShutdownButton_TEST.cc | 6 +-- src/plugins/shutdown_button/test.config | 4 +- src/plugins/tape_measure/TapeMeasure.cc | 2 +- src/plugins/teleop/Teleop.cc | 2 +- src/plugins/teleop/Teleop_TEST.cc | 4 +- src/plugins/topic_echo/TopicEcho.cc | 2 +- src/plugins/topic_viewer/TopicViewer.cc | 2 +- src/plugins/topic_viewer/TopicViewer_TEST.cc | 4 +- .../TransportSceneManager.cc | 2 +- src/plugins/world_control/WorldControl.cc | 2 +- .../world_control/WorldControl_TEST.cc | 12 ++--- src/plugins/world_stats/WorldStats.cc | 2 +- src/plugins/world_stats/WorldStats_TEST.cc | 10 ++-- test/integration/ExamplesBuild_TEST.cc | 2 +- test/integration/Examples_TEST.cc | 2 +- test/integration/camera_tracking.cc | 2 +- test/integration/marker_manager.cc | 2 +- test/integration/minimal_scene.cc | 4 +- test/integration/scene3d.cc | 6 +-- test/integration/transport_scene_manager.cc | 4 +- test/plugins/TestBadInheritancePlugin.cc | 2 +- test/plugins/TestInvalidQmlPlugin.cc | 2 +- test/plugins/TestPlugin.cc | 2 +- 70 files changed, 269 insertions(+), 242 deletions(-) diff --git a/Migration.md b/Migration.md index baaedefcf..b216b12d6 100644 --- a/Migration.md +++ b/Migration.md @@ -11,7 +11,13 @@ release will remove the deprecated code. * The `ignition` namespace is deprecated and will be removed in future versions. Use `gz` instead. * Header files under `ignition/...` are deprecated and will be removed in future versions. - Use `gz/...` instead. + Please use `gz/...` instead. + +* The `ignition-gui` element is deprecated and will be removed. + Please use `gz-gui` instead. + +* `ignitionVersion()` is deprecated and will be removed in future versions. + Please use `gzVersion()` instead. ## Gazebo GUI 6.2 to 6.3 diff --git a/examples/config/dialog_on_exit_shutdown.config b/examples/config/dialog_on_exit_shutdown.config index d3156c89c..bbbc57db5 100644 --- a/examples/config/dialog_on_exit_shutdown.config +++ b/examples/config/dialog_on_exit_shutdown.config @@ -18,12 +18,12 @@ - + Shutdown 500 950 180 240 - + diff --git a/examples/config/grid_config.config b/examples/config/grid_config.config index 037268656..d667c6efa 100644 --- a/examples/config/grid_config.config +++ b/examples/config/grid_config.config @@ -1,10 +1,10 @@ - + View 1 docked - + ogre2 scene 1 1 1 @@ -12,7 +12,7 @@ -6 3 6 0 0.5 0 - + @@ -22,12 +22,12 @@ 5 floating false - + - + docked - + 3 2 diff --git a/examples/config/plugin_params.config b/examples/config/plugin_params.config index 46fb98998..4e68df600 100644 --- a/examples/config/plugin_params.config +++ b/examples/config/plugin_params.config @@ -6,10 +6,10 @@ - + Publisher 1