2017-06-15 23:42:12 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2018-07-06 22:40:15 +00:00
|
|
|
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
#include <QEvent>
|
|
|
|
#include <QLabel>
|
|
|
|
|
2018-07-06 22:40:15 +00:00
|
|
|
#include "DolphinQt/Config/Graphics/GraphicsWindow.h"
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
GraphicsWidget::GraphicsWidget(GraphicsWindow* parent)
|
|
|
|
{
|
|
|
|
parent->RegisterWidget(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
void GraphicsWidget::AddDescription(QWidget* widget, const char* description)
|
|
|
|
{
|
|
|
|
emit DescriptionAdded(widget, description);
|
|
|
|
}
|