StackPanel.hxx 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #ifndef STACK_VIEW_H
  9. #define STACK_VIEW_H
  10. #if !defined(Q_MOC_RUN)
  11. #include <AzCore/base.h>
  12. #include <AzCore/Memory/SystemAllocator.h>
  13. #include <QtCore/QObject>
  14. #include <QtWidgets/QWidget>
  15. #include <QtWidgets/QTableWidget>
  16. #include "LUAStackTrackerMessages.h"
  17. #endif
  18. #pragma once
  19. class DHStackWidget : public QTableWidget, LUAEditor::LUAStackTrackerMessages::Bus::Handler
  20. {
  21. Q_OBJECT;
  22. public:
  23. DHStackWidget( QWidget * parent = 0 );
  24. virtual ~DHStackWidget();
  25. //////////////////////////////////////////////////////////////////////////
  26. //Debugger Messages, from the LUAEditor::LUAStackTrackerMessages::Bus
  27. virtual void StackUpdate(const LUAEditor::StackList& stackList);
  28. virtual void StackClear();
  29. private:
  30. void AppendStackEntry(const AZStd::string& debugName, int lineNumber);
  31. void DeleteAll();
  32. public slots:
  33. void OnDoubleClicked( const QModelIndex & );
  34. };
  35. #endif