Publish LumaOps source

This commit is contained in:
LumaOps release export
2026-09-03 01:18:36 +02:00
commit 7f1c0e5f71
2363 changed files with 501543 additions and 0 deletions
@@ -0,0 +1,50 @@
/*---------------------------------------------------------*\
| OpenRGBPluginContainer.h |
| |
| User interface entry for OpenRGB plugin container widget|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#include "OpenRGBPluginContainer.h"
#include "ui_OpenRGBPluginContainer.h"
OpenRGBPluginContainer::OpenRGBPluginContainer(QWidget *plugin, QWidget *parent) :
QWidget(parent),
ui(new Ui::OpenRGBPluginContainer)
{
ui->setupUi(this);
plugin_widget = plugin;
plugin_widget->setParent(this);
ui->PluginContainerLayout->layout()->addWidget(plugin_widget);
Hide();
}
OpenRGBPluginContainer::~OpenRGBPluginContainer()
{
delete ui;
}
void OpenRGBPluginContainer::changeEvent(QEvent *event)
{
if(event->type() == QEvent::LanguageChange)
{
ui->retranslateUi(this);
}
}
void OpenRGBPluginContainer::Hide()
{
plugin_widget->hide();
ui->PluginContainerLayout->layout()->invalidate();
}
void OpenRGBPluginContainer::Show()
{
plugin_widget->show();
ui->PluginContainerLayout->layout()->invalidate();
}
@@ -0,0 +1,36 @@
/*---------------------------------------------------------*\
| OpenRGBPluginContainer.h |
| |
| User interface entry for OpenRGB plugin container widget|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <QWidget>
namespace Ui
{
class OpenRGBPluginContainer;
}
class OpenRGBPluginContainer : public QWidget
{
Q_OBJECT
public:
explicit OpenRGBPluginContainer(QWidget *plugin, QWidget *parent = nullptr);
~OpenRGBPluginContainer();
void Hide();
void Show();
QWidget* plugin_widget;
private:
Ui::OpenRGBPluginContainer *ui;
private slots:
void changeEvent(QEvent *event);
};
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OpenRGBPluginContainer</class>
<widget class="QWidget" name="OpenRGBPluginContainer">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>256</width>
<height>120</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string notr="true">Plugin Container</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QGridLayout" name="PluginContainerLayout"/>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>