blob: a376b358d7b838061c7724757796091eb9279418 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QTextCursor>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = nullptr);
~Widget();
public slots:
void setFontPointSize(int value);
void setIndentWidth(int value);
private:
Ui::Widget *ui;
QTextCursor* textCursor;
};
#endif // WIDGET_H
|