Added mechanism for viewpanes to request buttons on the main toolbar (#1189)

This commit is contained in:
Terry Michaels
2021-06-08 12:02:02 -05:00
committed by GitHub
parent b24c83122e
commit 0fcd6e84ec
5 changed files with 33 additions and 1 deletions
@@ -42,6 +42,9 @@ namespace AzToolsFramework
bool detachedWindow = false; ///< set to true if the view pane should use a detached, non-dockable widget. This is to workaround a problem with QOpenGLWidget on macOS. Currently this has no effect on other platforms.
bool isDisabledInSimMode = false; ///< set to true if the view pane should not be openable from level editor menu when editor is in simulation mode.
bool showOnToolsToolbar = false; ///< set to true if the view pane should create a button on the tools toolbar to open/close the pane
QString toolbarIcon; ///< path to the icon to use for the toolbar button - only used if showOnToolsToolbar is set to true
};
} // namespace AzToolsFramework