blob: 34e3d6365e18fd749cc46ae79d2fc1b1ed97cee1 (
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
40
41
|
// 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 MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtQuick/QQuickView>
#include "ui_properties.h"
#include "ui_import.h"
class SplineEditor;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
void showQuickView();
public Q_SLOTS:
void textEditTextChanged();
void importData(int result);
protected:
void moveEvent(QMoveEvent *event) override;
void resizeEvent(QResizeEvent *event) override;
void closeEvent(QCloseEvent *event) override;
void initQml();
private:
QQuickView quickView;
QWidget *m_placeholder;
Ui_Properties ui_properties;
Ui_ImportDialog ui_import;
SplineEditor *m_splineEditor;
};
#endif // MAINWINDOW_H
|