30 #include "ui_widget.h"
39 connect(ui->spinBoxFontPointSize,
SIGNAL(valueChanged(
int)),
this,
SLOT(setFontPointSize(
int)));
40 connect(ui->spinBoxIndentWidth,
SIGNAL(valueChanged(
int)),
this,
SLOT(setIndentWidth(
int)));
96 ui->textEdit->setFont(
font);
98 setIndentWidth(
static_cast<int>(ui->textEdit->document()->indentWidth()));
103 ui->textEdit->selectAll();
104 ui->textEdit->setFontPointSize(
value);
109 ui->textEdit->document()->setIndentWidth(
value);
The QChar class provides a 16-bit Unicode character.
The QFont class specifies a query for a font used for drawing text.
The QTextCursor class offers an API to access and modify QTextDocuments.
The QTextListFormat class provides formatting information for lists in a QTextDocument....
void setStyle(Style style)
void setIndent(int indent)
EGLOutputLayerEXT EGLint EGLAttrib value
connect(quitButton, &QPushButton::clicked, &app, &QCoreApplication::quit, Qt::QueuedConnection)
edit textCursor().insertText(text)
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent