#include <ShaderManagementConsoleWindow.h>
Inherits AtomToolsFramework::AtomToolsDocumentMainWindow.
Public Types | |
using | Base = AtomToolsFramework::AtomToolsDocumentMainWindow |
![]() | |
using | Base = AtomToolsMainWindow |
![]() | |
using | Base = AzQtComponents::DockMainWindow |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (ShaderManagementConsoleWindow, AZ::SystemAllocator) | |
ShaderManagementConsoleWindow (const AZ::Crc32 &toolId, QWidget *parent=0) | |
void | OnDocumentOpened (const AZ::Uuid &documentId) override |
AZStd::string | GetSaveDocumentParams (const AZStd::string &initialPath, const AZ::Uuid &documentId) const override |
Select the target path where a document will be saved. | |
void | CreateMenus (QMenuBar *menuBar) override |
void | GenerateStatisticView () |
void | ShowContextMenu (const QPoint &pos) |
void | ErrorMessageBoxesForDocumentVerification (const DocumentVerificationResult &verification) |
![]() | |
AZ_CLASS_ALLOCATOR (AtomToolsDocumentMainWindow, AZ::SystemAllocator) | |
AtomToolsDocumentMainWindow (const AZ::Crc32 &toolId, const QString &objectName, QWidget *parent=0) | |
QString | GetDocumentPath (const AZ::Uuid &documentId) const |
Helper function to get the absolute path for a document represented by the document ID. | |
AZ::Uuid | GetDocumentTabId (const int tabIndex) const |
Retrieves the document ID from a tab with the index. | |
AZ::Uuid | GetCurrentDocumentId () const |
Retrieves the document ID from the currently selected tab. | |
int | GetDocumentTabIndex (const AZ::Uuid &documentId) const |
Searches for the tab index corresponding to the document ID, returning -1 if not found. | |
bool | HasDocumentTab (const AZ::Uuid &documentId) const |
Determine if a tab exists for the document ID. | |
bool | AddDocumentTab (const AZ::Uuid &documentId, QWidget *viewWidget) |
void | RemoveDocumentTab (const AZ::Uuid &documentId) |
Destroys the tab and view associated with the document ID. | |
void | UpdateDocumentTab (const AZ::Uuid &documentId) |
Updates the displayed text and tooltip for a tab associated with a document ID. | |
void | SelectPrevDocumentTab () |
void | SelectNextDocumentTab () |
virtual void | OpenDocumentTabContextMenu () |
Forces a context menu to appear above the selected tab, populated with actions for the associated document ID. | |
virtual void | PopulateTabContextMenu (const AZ::Uuid &documentId, QMenu &menu) |
Insert items into the tab context menu for the document ID. | |
void | CreateMenus (QMenuBar *menuBar) override |
void | UpdateMenus (QMenuBar *menuBar) override |
void | PopulateSettingsInspector (InspectorWidget *inspector) const override |
![]() | |
AtomToolsMainWindow (const AZ::Crc32 &toolId, const QString &objectName, QWidget *parent=0) | |
void | ActivateWindow () override |
bool | AddDockWidget (const AZStd::string &name, QWidget *widget, uint32_t area) override |
void | RemoveDockWidget (const AZStd::string &name) override |
void | SetDockWidgetVisible (const AZStd::string &name, bool visible) override |
bool | IsDockWidgetVisible (const AZStd::string &name) const override |
AZStd::vector< AZStd::string > | GetDockWidgetNames () const override |
void | QueueUpdateMenus (bool rebuildMenus) override |
void | SetStatusMessage (const AZStd::string &message) override |
void | SetStatusWarning (const AZStd::string &message) override |
void | SetStatusError (const AZStd::string &message) override |
void | CreateMenus (QMenuBar *menuBar) override |
void | UpdateMenus (QMenuBar *menuBar) override |
virtual void | OpenSettingsDialog () |
virtual void | OnSettingsDialogClosed () |
virtual AZStd::string | GetHelpUrl () const |
virtual void | OpenHelpUrl () |
virtual void | OpenAboutDialog () |
Additional Inherited Members | |
![]() | |
using | LayoutSettingsMap = AZStd::map<AZStd::string, AZStd::string> |
![]() | |
void | BuildCreateMenu (QAction *insertPostion) |
void | BuildOpenMenu (QAction *insertPostion) |
void | AddDocumentTabBar () |
void | UpdateRecentFileMenu () |
bool | SaveDocument (const AZ::Uuid &documentId) |
bool | CloseDocumentCheck (const AZ::Uuid &documentId) |
bool | CloseDocuments (const AZStd::vector< AZ::Uuid > &documentIds) |
const AZStd::vector< AZ::Uuid > | GetOpenDocumentIds () const |
void | OnDocumentOpened (const AZ::Uuid &documentId) override |
void | OnDocumentClosed (const AZ::Uuid &documentId) override |
void | OnDocumentCleared (const AZ::Uuid &documentId) override |
void | OnDocumentError (const AZ::Uuid &documentId) override |
void | OnDocumentDestroyed (const AZ::Uuid &documentId) override |
void | OnDocumentModified (const AZ::Uuid &documentId) override |
void | OnDocumentUndoStateChanged (const AZ::Uuid &documentId) override |
void | OnDocumentSaved (const AZ::Uuid &documentId) override |
void | closeEvent (QCloseEvent *closeEvent) override |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | dragMoveEvent (QDragMoveEvent *event) override |
void | dragLeaveEvent (QDragLeaveEvent *event) override |
void | dropEvent (QDropEvent *event) override |
template<typename Functor > | |
QAction * | CreateActionAtPosition (QMenu *menu, QAction *position, const QString &name, Functor fn, const QKeySequence &shortcut=0) |
![]() | |
void | showEvent (QShowEvent *showEvent) override |
void | closeEvent (QCloseEvent *closeEvent) override |
void | BuildDockingMenu () |
void | BuildLayoutsMenu () |
void | BuildScriptsMenu () |
void | RestoreDefaultLayout () |
void | RestoreSavedLayout () |
virtual void | SetupMetrics () |
virtual void | UpdateMetrics () |
virtual void | UpdateWindowTitle () |
![]() | |
QMenu * | m_menuOpenRecent = {} |
QAction * | m_actionClose = {} |
QAction * | m_actionCloseAll = {} |
QAction * | m_actionCloseOthers = {} |
QAction * | m_actionSave = {} |
QAction * | m_actionSaveAsCopy = {} |
QAction * | m_actionSaveAsChild = {} |
QAction * | m_actionSaveAll = {} |
QAction * | m_actionUndo = {} |
QAction * | m_actionRedo = {} |
QAction * | m_actionNextTab = {} |
QAction * | m_actionPreviousTab = {} |
AzQtComponents::TabWidget * | m_tabWidget = {} |
AZStd::shared_ptr< DynamicPropertyGroup > | m_documentSystemSettingsGroup |
![]() | |
const AZ::Crc32 | m_toolId = {} |
QPointer< AzQtComponents::FancyDocking > | m_advancedDockManager = {} |
AzQtComponents::WindowDecorationWrapper * | m_mainWindowWrapper = {} |
bool | m_shownBefore = {} |
bool | m_updateMenus = {} |
bool | m_rebuildMenus = {} |
QByteArray | m_defaultWindowState |
QLabel * | m_statusMessage = {} |
QLabel * | m_statusBarFps = {} |
QLabel * | m_statusBarCpuTime = {} |
QLabel * | m_statusBarGpuTime = {} |
QTimer | m_metricsTimer |
QMenu * | m_menuFile = {} |
QMenu * | m_menuEdit = {} |
QMenu * | m_menuView = {} |
QMenu * | m_menuTools = {} |
QMenu * | m_menuHelp = {} |
AtomToolsFramework::AtomToolsAssetBrowser * | m_assetBrowser = {} |
AzToolsFramework::LogPanel::StyledTracePrintFLogPanel * | m_logPanel = {} |
AZStd::shared_ptr< DynamicPropertyGroup > | m_applicationSettingsGroup |
AZStd::shared_ptr< DynamicPropertyGroup > | m_assetBrowserSettingsGroup |
![]() | |
static constexpr const char * | ToolLayoutSettingsKey = "/O3DE/AtomToolsFramework/MainWindow/Layouts/Tool" |
static constexpr const char * | UserLayoutSettingsKey = "/O3DE/AtomToolsFramework/MainWindow/Layouts/User" |
ShaderManagementConsoleWindow is the main class. Its responsibility is limited to initializing and connecting its panels, managing selection of assets, and performing high-level actions like saving. It contains...
|
overridevirtual |
Select the target path where a document will be saved.
Reimplemented from AtomToolsFramework::AtomToolsDocumentMainWindow.