9 #include "guiQt/config.hpp" 11 #include <fwGui/editor/IEditor.hpp> 13 #include <fwTools/Failed.hpp> 18 #include <QSyntaxHighlighter> 46 class GUIQT_CLASS_API
Code :
public QObject,
55 GUIQT_API
Code() noexcept;
58 GUIQT_API virtual ~
Code() noexcept;
63 virtual
void starting() override;
66 virtual
void stopping() override;
69 virtual
void updating() override;
72 virtual
void swapping() override;
75 virtual
void configuring() override;
78 virtual
void info(
std::ostream& _sstream ) override;
98 static const
std::
string s_PYTHON;
99 static const
std::
string s_CPP;
101 std::
string m_language;
102 QPointer< QTextEdit > m_valueCtrl;
103 QPointer< QSyntaxHighlighter > m_highlighter;
This class is a helper to define the connections of a service and its data.
This service displays a code editor and works on a fwData::String.
Defines the service interface managing the editor service for object.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace guiQt contains the basic services to build the application IHM with Qt...