mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
31 lines
494 B
C++
31 lines
494 B
C++
// Copyright 2015 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QMenu>
|
|
#include <QMenuBar>
|
|
|
|
class MenuBar final : public QMenuBar
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MenuBar(QWidget* parent = nullptr);
|
|
|
|
signals:
|
|
void Open();
|
|
void Exit();
|
|
|
|
void ShowTable();
|
|
void ShowList();
|
|
|
|
private:
|
|
void AddFileMenu();
|
|
void AddViewMenu();
|
|
|
|
void AddGameListTypeSection(QMenu* view_menu);
|
|
void AddTableColumnsMenu(QMenu* view_menu);
|
|
};
|