NorMIT-nav
22.09
An IGT application
cxElastixSyntaxHighlighter.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXELASTIXSYNTAXHIGHLIGHTER_H_
13
#define CXELASTIXSYNTAXHIGHLIGHTER_H_
14
15
#include <QtWidgets>
16
17
18
namespace
cx
19
{
20
28
class
ElastixSyntaxHighlighter
:
public
QSyntaxHighlighter
29
{
30
public
:
31
ElastixSyntaxHighlighter
(QTextDocument* parent);
32
virtual
void
highlightBlock
(
const
QString &text);
33
virtual
~ElastixSyntaxHighlighter
() {}
34
private
:
35
void
highlightTimestamp(
const
QString &text);
36
void
applyFormat(
const
QString &text,
const
QTextCharFormat& format,
const
QString pattern);
37
};
38
39
}
/* namespace cx */
40
41
#endif
/* CXELASTIXSYNTAXHIGHLIGHTER_H_ */
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::ElastixSyntaxHighlighter::~ElastixSyntaxHighlighter
virtual ~ElastixSyntaxHighlighter()
Definition:
cxElastixSyntaxHighlighter.h:33
cx::ElastixSyntaxHighlighter::highlightBlock
virtual void highlightBlock(const QString &text)
Definition:
cxElastixSyntaxHighlighter.cpp:24
cx::ElastixSyntaxHighlighter::ElastixSyntaxHighlighter
ElastixSyntaxHighlighter(QTextDocument *parent)
Definition:
cxElastixSyntaxHighlighter.cpp:18
cx::ElastixSyntaxHighlighter
Definition:
cxElastixSyntaxHighlighter.h:28
CX
source
plugins
org.custusx.registration.method.commandline
gui
cxElastixSyntaxHighlighter.h
Generated on Tue Sep 13 2022 11:06:14 for NorMIT-nav by
1.8.17