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