blob: b99e60d75f3f675086025e349e94ad20caa9a2e1 (
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
30
31
32
33
34
35
36
37
38
39
|
// 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 TESTVIEW_H
#define TESTVIEW_H
#include <QTextCharFormat>
#include <QWidget>
QT_BEGIN_NAMESPACE
class QPushButton;
class QTableView;
QT_END_NAMESPACE
class TestView : public QWidget
{
Q_OBJECT
public:
explicit TestView(QWidget *parent = 0);
void cancelTest();
public slots:
void loadTestData(const QString &);
void startOrCancelTest();
void collectAndSendData();
signals:
void sendInputMethodData(int, int, QTextCharFormat::UnderlineStyle, const QColor &, const QColor &, const QString &);
void requestInputMethodEvent();
private:
QTableView *m_tableView;
QPushButton *m_testButton;
bool m_testRunning;
};
#endif // TESTVIEW_H
|