Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef QmitkPythonScriptEditorHighlighter_h
18
#define QmitkPythonScriptEditorHighlighter_h
19
20
#include <QSyntaxHighlighter>
21
#include <MitkQtPythonExports.h>
22
25
class
MITKQTPYTHON_EXPORT
QmitkPythonScriptEditorHighlighter
:
public
QSyntaxHighlighter
26
{
27
Q_OBJECT
28
29
public
:
30
QmitkPythonScriptEditorHighlighter
(QTextDocument *parent);
31
virtual
~
QmitkPythonScriptEditorHighlighter
();
32
33
protected
:
34
void
highlightBlock(
const
QString &text);
35
void
highlightComments(
const
QString &text);
36
37
private
:
38
};
39
40
#endif // QmitkPythonScriptEditorHighlighter_h
QmitkPythonScriptEditorHighlighter
A script highlighter for Python Scripts.
Definition:
QmitkPythonScriptEditorHighlighter.h:25
git
MITK
Modules
QtPython
QmitkPythonScriptEditorHighlighter.h
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1