blob: 6a8289695dd5f2e4db58d67d9757f2e8c4630c95 (
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
 | /* Copyright (c) 2019, Stephane Lenclud <github@lenclud.com>
 * Permission to use, copy, modify, and/or distribute this
 * software for any purpose with or without fee is hereby granted,
 * provided that the above copyright notice and this permission
 * notice appear in all copies.
 */
#pragma once
#include "ui_kinect_face_settings.h"
#include "compat/macros.hpp"
#include "api/plugin-api.hpp"
class KinectFaceSettings : public ITrackerDialog
{
    Q_OBJECT
    Ui::KinectFaceUi ui;
public:
    KinectFaceSettings();
    void register_tracker(ITracker *) override {}
    void unregister_tracker() override {}
private slots:
    void doOK();
    void doCancel();
};
class KinectFaceMetadata : public Metadata
{
    Q_OBJECT
    QString name() override { return tr("Kinect Face 0.1"); }
    QIcon icon() override { return QIcon(":/images/kinect.png"); }
};
 |