Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkPythonScriptEditorHighlighter.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef QmitkPythonScriptEditorHighlighter_h
14
#define QmitkPythonScriptEditorHighlighter_h
15
16
#include <QSyntaxHighlighter>
17
#include <
MitkQtPythonExports.h
>
18
21
class
MITKQTPYTHON_EXPORT
QmitkPythonScriptEditorHighlighter
:
public
QSyntaxHighlighter
22
{
23
Q_OBJECT
24
25
public
:
26
QmitkPythonScriptEditorHighlighter
(QTextDocument *parent);
27
~
QmitkPythonScriptEditorHighlighter
()
override
;
28
29
protected
:
30
void
highlightBlock(
const
QString &text)
override
;
31
void
highlightComments(
const
QString &text);
32
33
private
:
34
};
35
36
#endif // QmitkPythonScriptEditorHighlighter_h
MitkQtPythonExports.h
QmitkPythonScriptEditorHighlighter
A script highlighter for Python Scripts.
Definition:
QmitkPythonScriptEditorHighlighter.h:21
MITKQTPYTHON_EXPORT
#define MITKQTPYTHON_EXPORT
Definition:
MitkQtPythonExports.h:15
Source
Modules
QtPython
QmitkPythonScriptEditorHighlighter.h
Generated on Thu Mar 12 2020 10:24:11 for Medical Imaging Interaction Toolkit by
1.8.13