4#ifndef QTEXTMARKDOWNIMPORTER_H
5#define QTEXTMARKDOWNIMPORTER_H
18#include <QtGui/qfont.h>
19#include <QtGui/qtguiglobal.h>
20#include <QtGui/qpalette.h>
21#include <QtGui/qtextdocument.h>
22#include <QtGui/qtextlist.h>
23#include <QtCore/qpointer.h>
24#include <QtCore/qstack.h>
25#include <QtCore/private/qglobal_p.h>
37 FeatureCollapseWhitespace = 0x0001,
38 FeaturePermissiveATXHeaders = 0x0002,
39 FeaturePermissiveURLAutoLinks = 0x0004,
40 FeaturePermissiveMailAutoLinks = 0x0008,
41 FeatureNoIndentedCodeBlocks = 0x0010,
42 FeatureNoHTMLBlocks = 0x0020,
43 FeatureNoHTMLSpans = 0x0040,
44 FeatureTables = 0x0100,
45 FeatureStrikeThrough = 0x0200,
46 FeaturePermissiveWWWAutoLinks = 0x0400,
47 FeatureTasklists = 0x0800,
48 FeatureUnderline = 0x4000,
50 FeaturePermissiveAutoLinks = FeaturePermissiveMailAutoLinks
51 | FeaturePermissiveURLAutoLinks | FeaturePermissiveWWWAutoLinks,
52 FeatureNoHTML = QTextDocument::MarkdownNoHTML,
53 DialectCommonMark = QTextDocument::MarkdownDialectCommonMark,
54 DialectGitHub = QTextDocument::MarkdownDialectGitHub
65 int cbEnterBlock(
int blockType,
void*
detail);
66 int cbLeaveBlock(
int blockType,
void*
detail);
67 int cbEnterSpan(
int spanType,
void*
detail);
68 int cbLeaveSpan(
int spanType,
void*
detail);
69 int cbText(
int textType, const
char*
text,
unsigned size);
78#if QT_CONFIG(regularexpression)
87#if QT_CONFIG(regularexpression)
88 int m_htmlTagDepth = 0;
90 int m_blockQuoteDepth = 0;
91 int m_tableColumnCount = 0;
92 int m_tableRowCount = 0;
94 int m_paragraphMargin = 0;
96 char m_blockCodeFence = 0;
101 bool m_needsInsertBlock =
false;
102 bool m_needsInsertList =
false;
103 bool m_listItem =
false;
104 bool m_codeBlock =
false;
105 bool m_imageSpan =
false;
The QPalette class contains color groups for each widget state.
\macro QT_RESTRICTED_CAST_FROM_ASCII
\reentrant \inmodule QtGui
\reentrant \inmodule QtGui
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLenum GLuint GLintptr GLsizeiptr size
[1]