summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtexteditlist/widget.h
blob: 934529c5ac4425f7a9c71f9c12a8ee649b795127 (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 WITH Qt-GPL-exception-1.0

#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