-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(WIP) RMG: improve UI behavior of NetplaySessionBrowserDialog
- Loading branch information
1 parent
48e21f1
commit 7018088
Showing
11 changed files
with
610 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Source/RMG/UserInterface/Widget/Netplay/NetplaySessionBrowserEmptyWidget.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Rosalie's Mupen GUI - https://github.com/Rosalie241/RMG | ||
* Copyright (C) 2020 Rosalie Wanders <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 3. | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
#include "NetplaySessionBrowserEmptyWidget.hpp" | ||
|
||
#include <QLabel> | ||
#include <QHBoxLayout> | ||
#include <QDragMoveEvent> | ||
#include <QDragEnterEvent> | ||
#include <QMimeData> | ||
|
||
using namespace UserInterface::Widget; | ||
|
||
NetplaySessionBrowserEmptyWidget::NetplaySessionBrowserEmptyWidget(QWidget* parent) : QWidget(parent) | ||
{ | ||
this->setupUi(this); | ||
} | ||
|
||
NetplaySessionBrowserEmptyWidget::~NetplaySessionBrowserEmptyWidget() | ||
{ | ||
} |
31 changes: 31 additions & 0 deletions
31
Source/RMG/UserInterface/Widget/Netplay/NetplaySessionBrowserEmptyWidget.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Rosalie's Mupen GUI - https://github.com/Rosalie241/RMG | ||
* Copyright (C) 2020 Rosalie Wanders <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 3. | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
#ifndef NETPLAYSESSIONBROWSEREMPTYWIDGET_HPP | ||
#define NETPLAYSESSIONBROWSEREMPTYWIDGET_HPP | ||
|
||
#include <QWidget> | ||
|
||
#include "ui_NetplaySessionBrowserEmptyWidget.h" | ||
|
||
namespace UserInterface | ||
{ | ||
namespace Widget | ||
{ | ||
class NetplaySessionBrowserEmptyWidget : public QWidget, private Ui::NetplaySessionBrowserEmptyWidget | ||
{ | ||
Q_OBJECT | ||
public: | ||
NetplaySessionBrowserEmptyWidget(QWidget* parent); | ||
~NetplaySessionBrowserEmptyWidget(); | ||
}; | ||
} // namespace Widget | ||
} // namespace UserInterface | ||
|
||
#endif // NETPLAYSESSIONBROWSEREMPTYWIDGET_HPP |
Oops, something went wrong.