ClassReferencePanel.hxx 818 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #if !defined(Q_MOC_RUN)
  9. #include <AzCore/base.h>
  10. #include <QtCore/QObject>
  11. #include <QtWidgets/QWidget>
  12. #include <QtWidgets/QTreeView>
  13. #endif
  14. #pragma once
  15. namespace LUAEditor
  16. {
  17. class Context;
  18. }
  19. class DHClassReferenceWidget : public QTreeView
  20. {
  21. Q_OBJECT;
  22. public:
  23. // class allocator inteintionally removed so that Qt gui designer can make us
  24. //AZ_CLASS_ALLOCATOR(DHClassReferenceWidget,AZ::SystemAllocator,0);
  25. DHClassReferenceWidget( QWidget * parent = 0 );
  26. virtual ~DHClassReferenceWidget();
  27. public slots:
  28. void OnDoubleClicked( const QModelIndex & );
  29. };