| 1 |
// Copyright (C) 2017 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause |
| 3 |
|
| 4 |
#ifndef WINDOW_H |
| 5 |
#define WINDOW_H |
| 6 |
|
| 7 |
#include "ui_window.h" |
| 8 |
|
| 9 |
//! [Window class definition] |
| 10 |
class Window : public QWidget, private Ui::Window |
| 11 |
{ |
| 12 |
Q_OBJECT |
| 13 |
|
| 14 |
public: |
| 15 |
Window(QWidget *parent = 0); |
| 16 |
|
| 17 |
public slots: |
| 18 |
void saveSvg(); |
| 19 |
void updateBackground(int background); |
| 20 |
void updateColor(); |
| 21 |
void updateShape(int shape); |
| 22 |
|
| 23 |
private: |
| 24 |
QString path; |
| 25 |
}; |
| 26 |
//! [Window class definition] |
| 27 |
|
| 28 |
#endif |