QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
qdesigner_internal::RichTextEditorDialog Class Reference

#include <richtexteditor_p.h>

Inherits QDialog.

Collaboration diagram for qdesigner_internal::RichTextEditorDialog:
Collaboration graph

Signals

void applyEditText (const QString &)

Public Member Functions

 RichTextEditorDialog (QWidget *parent=nullptr)
 ~RichTextEditorDialog () override
int showDialog ()
void setDefaultFont (const QFont &font)
void setText (const QString &text)
QString text (Qt::TextFormat format=Qt::AutoText) const
QVector< Qt::Alignment > blockAlignments () const
 RichTextEditorDialog::blockAlignments Returns the text alignment of each block in the editor.

Private Types

enum  TabIndex { RichTextIndex , SourceIndex }
enum  State { Clean , RichTextChanged , SourceChanged }

Private Slots

void tabIndexChanged (int newIndex)
void richTextChanged ()
void sourceChanged ()
void on_buttonBox_accepted ()
 RichTextEditorDialog::on_buttonBox_accepted.

Private Attributes

RichTextEditorm_editor
QTextEdit * m_text_edit
QTabWidget * m_tab_widget
State m_state

Member Enumeration Documentation

◆ State

Enumerator
Clean 
RichTextChanged 
SourceChanged 

◆ TabIndex

Enumerator
RichTextIndex 
SourceIndex 

Constructor & Destructor Documentation

◆ RichTextEditorDialog()

qdesigner_internal::RichTextEditorDialog::RichTextEditorDialog ( QWidget * parent = nullptr)
explicit
Here is the call graph for this function:

◆ ~RichTextEditorDialog()

qdesigner_internal::RichTextEditorDialog::~RichTextEditorDialog ( )
override

Member Function Documentation

◆ applyEditText

void qdesigner_internal::RichTextEditorDialog::applyEditText ( const QString & )
signal
Here is the caller graph for this function:

◆ blockAlignments()

QVector< Qt::Alignment > qdesigner_internal::RichTextEditorDialog::blockAlignments ( ) const

RichTextEditorDialog::blockAlignments Returns the text alignment of each block in the editor.

Here is the caller graph for this function:

◆ on_buttonBox_accepted

void qdesigner_internal::RichTextEditorDialog::on_buttonBox_accepted ( )
privateslot

RichTextEditorDialog::on_buttonBox_accepted.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ richTextChanged

void qdesigner_internal::RichTextEditorDialog::richTextChanged ( )
privateslot
Here is the caller graph for this function:

◆ setDefaultFont()

void qdesigner_internal::RichTextEditorDialog::setDefaultFont ( const QFont & font)

◆ setText()

void qdesigner_internal::RichTextEditorDialog::setText ( const QString & text)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showDialog()

int qdesigner_internal::RichTextEditorDialog::showDialog ( )

◆ sourceChanged

void qdesigner_internal::RichTextEditorDialog::sourceChanged ( )
privateslot
Here is the caller graph for this function:

◆ tabIndexChanged

void qdesigner_internal::RichTextEditorDialog::tabIndexChanged ( int newIndex)
privateslot
Here is the caller graph for this function:

◆ text()

QString qdesigner_internal::RichTextEditorDialog::text ( Qt::TextFormat format = Qt::AutoText) const
Here is the caller graph for this function:

Member Data Documentation

◆ m_editor

RichTextEditor* qdesigner_internal::RichTextEditorDialog::m_editor
private

◆ m_state

State qdesigner_internal::RichTextEditorDialog::m_state
private

◆ m_tab_widget

QTabWidget* qdesigner_internal::RichTextEditorDialog::m_tab_widget
private

◆ m_text_edit

QTextEdit* qdesigner_internal::RichTextEditorDialog::m_text_edit
private

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