text: #ifndef INSPECTOR_H
  #define INSPECTOR_H
  
  #include <QWidget>
  
  namespace Ui {
  class Inspector;
  }
  
  class Entity;
  class ComponentTransform;
  class ComponentShapeRenderer;
  class ComponentRender;
  class QGroupBox;
  class QVBoxLayout;
  class QLineEdit;
  
  class Inspector : public QWidget
  {
      Q_OBJECT
  
  public:
      explicit Inspector(QWidget *parent = 0);
      ~Inspector();
  
      void SetNewEntity(Entity* selected);
  
  public slots:
      void NameChanged();
  
  private:
      Ui::Inspector *ui;
      Entity* selected = nullptr;
  
      QGroupBox* transformBox = nullptr;
      QGroupBox* renderBox = nullptr;
      QVBoxLayout* transformLayout = nullptr;
      QVBoxLayout* renderLayout = nullptr;
      QLineEdit* entityName = nullptr;
  
      ComponentTransform* compTransWidget = nullptr;
      ComponentRender* compRenderer = nullptr;
  };
  
  #endif // INSPECTOR_H
  