mirror of https://github.com/qt/qtbase.git
36 lines
625 B
C++
36 lines
625 B
C++
// Copyright (C) 2025 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QProcess>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
QT_END_NAMESPACE
|
|
|
|
class FontEngineRenderer;
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
public slots:
|
|
void updateFont();
|
|
void updateImage();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
FontEngineRenderer *m_renderer = nullptr;
|
|
QProcess *m_process = nullptr;
|
|
};
|
|
#endif // MAINWINDOW_H
|