Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
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
A script highlighter for Python Scripts.
Definition:
QmitkPythonScriptEditorHighlighter.h:21
src
MITK
Modules
QtPython
QmitkPythonScriptEditorHighlighter.h
Generated on Mon Dec 23 2024 02:13:23 for Medical Imaging Interaction Toolkit by
1.8.17