Workspace 6.21.5
Public Member Functions | List of all members
SetFormatWidget Class Reference

#include <Workspace/Presentation/Logging/setformatwidget.h>

Inherits QWidget.

Public Member Functions

 SetFormatWidget (QWidget *parent=nullptr)
 Constructs a SetFormatWidget.
 
QTextCharFormat getFormat ()
 Stores the values of the format.
 
void setFormat (const QTextCharFormat &format)
 Sets the starting format for the widget.
 

Constructor & Destructor Documentation

◆ SetFormatWidget()

SetFormatWidget ( QWidget *  parent = nullptr)
Parameters
parentis the parent of the widget. If omitted, the widget will assume that it is the parent.

Sets the appearance of the widget and the behaviour of the buttons.

Member Function Documentation

◆ getFormat()

QTextCharFormat getFormat ( )

Stores the values of the format at the pointer to the format provided

◆ setFormat()

void setFormat ( const QTextCharFormat &  format)
Parameters
formatis the format the the widget should be set to.

Provides the starting formatting information to set the widget up to.