blob: ca0dea3875b76ddc771eb35a384b31395b759a5b [file] [log] [blame]
// Copyright (C) 2015 The Android Open Source Project
//
// This software is licensed under the terms of the GNU General Public
// License version 2, as published by the Free Software Foundation, and
// may be copied, distributed, and modified under those terms.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
#pragma once
#include "ui_finger-page.h"
#include <QWidget>
#include <memory>
struct QAndroidFingerAgent;
class FingerPage : public QWidget
{
Q_OBJECT
public:
explicit FingerPage(QWidget *parent = 0);
void setFingerAgent(const QAndroidFingerAgent* agent);
private slots:
void on_finger_touchButton_pressed();
void on_finger_touchButton_released();
private:
std::unique_ptr<Ui::FingerPage> mUi;
const QAndroidFingerAgent* mFingerAgent;
};