2015-02-05 17:53:25 +01:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QAbstractItemModel>
|
|
|
|
#include <QDockWidget>
|
|
|
|
#include <QTimer>
|
2016-04-29 02:17:31 +02:00
|
|
|
#include "common/microprofile.h"
|
2015-08-17 23:25:21 +02:00
|
|
|
|
|
|
|
class MicroProfileDialog : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-12-11 13:22:10 +01:00
|
|
|
explicit MicroProfileDialog(QWidget* parent = nullptr);
|
2015-08-17 23:25:21 +02:00
|
|
|
|
|
|
|
/// Returns a QAction that can be used to toggle visibility of this dialog.
|
|
|
|
QAction* toggleViewAction();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void showEvent(QShowEvent* ev) override;
|
|
|
|
void hideEvent(QHideEvent* ev) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QAction* toggle_view_action = nullptr;
|
|
|
|
};
|