ADTF Qt5
Loading...
Searching...
No Matches
adtf::ui::widget::cXmlTextWidget Class Reference

cXmlTextWidget can display XML using a syntax highlighter. More...

#include <xml_text_widget.h>

Inherits QWidget.

Signals

void styleChanged ()
 

Public Member Functions

 cXmlTextWidget (QWidget *pParent=nullptr)
 
void Clear ()
 Clears the content.
 
QString XmlText () const
 Returns XML as text.
 
void SetXmlText (const QString &strXML)
 Set XML as text.
 

Protected Member Functions

bool event (QEvent *event)
 needed for style updates
 

Detailed Description

cXmlTextWidget can display XML using a syntax highlighter.

Constructor & Destructor Documentation

◆ cXmlTextWidget()

adtf::ui::widget::osborn::cXmlTextWidget::cXmlTextWidget ( QWidget * pParent = nullptr)

Constructor

Parameters
pParentparent widget

Member Function Documentation

◆ styleChanged

void adtf::ui::widget::osborn::cXmlTextWidget::styleChanged ( )
signal

Emitted when the style of the widget changed.


The documentation for this class was generated from the following file: