* IMPORTANT: at the moment, most stuff is key/value with strings, if the format is more finalized, one can introduce better type for more efficiency/type
* safety
*
* message body, can have different formats, lookup order will be:
* message text, will be trimmed before output
*
* message["plainText"] => plain text string to display
* message["markDown"] => markdown string to display, we use QTextDocument with MarkdownDialectGitHub
* message["html"] => HTML string to display, we use QTextDocument, that means only a subset of HTML https://doc.qt.io/qt-5/richtext-html-subset.html
* message["text"] = i18n("your cool message")
*
* the first thing found will be used.
* the text will be split in lines, all lines beside the first can be collapsed away
*
* message type, we support at the moment
*
...
...
@@ -110,7 +88,7 @@ private:
/**
* Internal tree view to display the messages we get
*/
QTreeView*m_messagesTreeView=nullptr;
KateOutputTreeView*m_messagesTreeView=nullptr;
/**
* Our message model, at the moment a standard item model
...
...
@@ -118,10 +96,13 @@ private:
QStandardItemModelm_messagesModel;
/**
* Our special output delegate for the message body