From 1174f3ff61f77c113ca1e2985afe5d84c2dec458 Mon Sep 17 00:00:00 2001 From: JackLee <809262979@qq.com> Date: Fri, 7 Mar 2025 19:09:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dmicrotex=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ctai_math_convert.cpp | 7 ++++--- src/ctai_math_convert.h | 15 +++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ctai_math_convert.cpp b/src/ctai_math_convert.cpp index 3b0abac..e6efd22 100644 --- a/src/ctai_math_convert.cpp +++ b/src/ctai_math_convert.cpp @@ -1,8 +1,6 @@ #include "ctai_math_convert.h" -ctai_math_convert::ctai_math_convert(QTextEdit* textEdit) - : m_textEdit(textEdit) - , m_cursor(textEdit->document()) +ctai_math_convert::ctai_math_convert() { } @@ -12,4 +10,7 @@ ctai_math_convert::~ctai_math_convert() { void ctai_math_convert::math_convert_svg(const QString& text) { +} +void ctai_math_convert::svg_convert_base64() { + } \ No newline at end of file diff --git a/src/ctai_math_convert.h b/src/ctai_math_convert.h index 557e6ea..560894d 100644 --- a/src/ctai_math_convert.h +++ b/src/ctai_math_convert.h @@ -1,22 +1,21 @@ #ifndef CTAI_MATH_CONVERT_H #define CTAI_MATH_CONVERT_H -#include -#include -#include -#include +#include "microtex.h" +#include +#include +#include +#include class ctai_math_convert { public: - explicit ctai_math_convert(QTextEdit* textEdit); + explicit ctai_math_convert(); ~ctai_math_convert(); - // 追加内容并处理Markdown void math_convert_svg(const QString& text); void svg_convert_base64(); private: - QTextEdit* m_textEdit; - QTextCursor m_cursor; + }; #endif \ No newline at end of file