CuteLogger
Fast and simple logging solution for Qt based applications
lissajouswidget.h
1/*
2 * Copyright (c) 2012-2018 Meltytech, LLC
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef LISSAJOUSWIDGET_H
19#define LISSAJOUSWIDGET_H
20
21#include <QWidget>
22#include "abstractproducerwidget.h"
23
24namespace Mlt {
25class Producer;
26}
27
28namespace Ui {
29class LissajousWidget;
30}
31
32class LissajousWidget : public QWidget, public AbstractProducerWidget
33{
34 Q_OBJECT
35
36public:
37 explicit LissajousWidget(QWidget *parent = 0);
38 ~LissajousWidget();
39
40 // AbstractProducerWidget overrides
41 Mlt::Producer *newProducer(Mlt::Profile &);
42 Mlt::Properties getPreset() const;
43 void loadPreset(Mlt::Properties &);
44
45signals:
46 void producerChanged(Mlt::Producer *);
47
48private slots:
49 void on_xratioDial_valueChanged(int value);
50 void on_xratioSpinner_valueChanged(double arg1);
51 void on_yratioDial_valueChanged(int value);
52 void on_yratioSpinner_valueChanged(double arg1);
53 void on_preset_selected(void *p);
54 void on_preset_saveClicked();
55
56private:
57 Ui::LissajousWidget *ui;
58};
59
60#endif // LISSAJOUSWIDGET_H