2015-02-05 16:53:25 +00: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 00:17:31 +00:00
|
|
|
#include "common/microprofile.h"
|
2015-08-17 21:25:21 +00:00
|
|
|
|
|
|
|
class MicroProfileDialog : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-12-11 12:22:10 +00:00
|
|
|
explicit MicroProfileDialog(QWidget* parent = nullptr);
|
2015-08-17 21:25:21 +00: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;
|
|
|
|
};
|