Files
Sourcetrail/src/app/qt/QtElementFactory.h
T
Eberhard Graether 73b74cb618 ui: basic CodeView with syntax highlighting
Added CodeView interface and QtCodeView implementation for showing syntax highlighted code snippets. This change avoids
using the GuiElement hierarchy by using directly using QtClasses and creating QtCodeView in the QtElementFactory.
2014-06-30 13:50:19 +02:00

23 lines
581 B
C++

#ifndef QT_ELEMENT_FACTORY_H
#define QT_ELEMENT_FACTORY_H
#include "gui/GuiElementFactory.h"
class CodeView;
class ViewManager;
class QtElementFactory: public GuiElementFactory
{
public:
QtElementFactory();
virtual ~QtElementFactory();
virtual std::shared_ptr<GuiArea> createArea() const;
virtual std::shared_ptr<GuiCanvas> createCanvas(std::shared_ptr<GuiWindow> window) const;
virtual std::shared_ptr<GuiLayout> createLayout() const;
virtual std::shared_ptr<CodeView> createCodeView(std::shared_ptr<ViewManager> viewManager) const;
};
# endif // QT_ELEMENT_FACTORY_H