The MarkdownEditor is a widget that provides editing of raw text and viewing of processed markdown text to html. The widget has a view mode (default and read only) which displays to html converted markdown text like a internet browser and an edit mode that show the raw markdown text, which can be edited. The mode can be toggled with the Edit button. Raw markdown text can be inserted with the the setPlainText() function and retrieved with the toPlainText() function.
More...
#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/MarkdownEditor.h>
The MarkdownEditor is a widget that provides editing of raw text and viewing of processed markdown text to html. The widget has a view mode (default and read only) which displays to html converted markdown text like a internet browser and an edit mode that show the raw markdown text, which can be edited. The mode can be toggled with the Edit button. Raw markdown text can be inserted with the the setPlainText() function and retrieved with the toPlainText() function.
Definition at line 45 of file MarkdownEditor.h.
◆ MarkdownEditor()
◆ ~MarkdownEditor()
◆ openSyntaxUrl
◆ setPlainText()
void setPlainText |
( |
const QString & |
plainText | ) |
|
◆ showMarkdown
void showMarkdown |
( |
const QString & |
rawString = "" | ) |
|
|
slot |
◆ textChanged
◆ toggleEditor
void toggleEditor |
( |
bool |
toggled | ) |
|
|
slot |
◆ toPlainText()
QString toPlainText |
( |
| ) |
const |
The documentation for this class was generated from the following files: