mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
Move the menu bar into its own file.
This commit is contained in:
parent
c683b54921
commit
f9f2b2fd36
6 changed files with 138 additions and 121 deletions
30
Source/Core/DolphinQt2/MenuBar.h
Normal file
30
Source/Core/DolphinQt2/MenuBar.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// 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:
|
||||
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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue