Update some user interface file header comments to standardized new format

This commit is contained in:
Adam Honse 2024-05-06 16:34:57 -05:00
parent 2b23841ec2
commit da80b12fda
60 changed files with 659 additions and 214 deletions

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBKasaSmartSettingsEntry.cpp |
| |
| User interface for OpenRGB Kasa Smart settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBKasaSmartSettingsEntry.h"
#include "ui_OpenRGBKasaSmartSettingsEntry.h"

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBKASASMARTSETTINGSENTRY_H
#define OPENRGBKASASMARTSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBKasaSmartSettingsEntry.h |
| |
| User interface for OpenRGB Kasa Smart settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBKasaSmartSettingsEntry.h"
#include <QWidget>
#include "ui_OpenRGBKasaSmartSettingsEntry.h"
namespace Ui {
class OpenRGBKasaSmartSettingsEntry;
namespace Ui
{
class OpenRGBKasaSmartSettingsEntry;
}
class Ui::OpenRGBKasaSmartSettingsEntry : public QWidget
@ -20,5 +29,3 @@ public:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBKASASMARTSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBKasaSmartSettingsPage.cpp |
| |
| User interface for OpenRGB Kasa Smart settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBKasaSmartSettingsPage.h"
#include "ui_OpenRGBKasaSmartSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,19 @@
#ifndef OPENRGBKASASMARTSETTINGSPAGE_H
#define OPENRGBKASASMARTSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBKasaSmartSettingsPage.h |
| |
| User interface for OpenRGB Kasa Smart settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "ui_OpenRGBKasaSmartSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBKasaSmartSettingsPage.h"
#include "OpenRGBKasaSmartSettingsEntry.h"
namespace Ui {
class OpenRGBKasaSmartSettingsPage;
namespace Ui
{
class OpenRGBKasaSmartSettingsPage;
}
class Ui::OpenRGBKasaSmartSettingsPage : public QWidget
@ -31,5 +37,3 @@ private:
std::vector<OpenRGBKasaSmartSettingsEntry*> entries;
};
#endif // OPENRGBKASASMARTSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBLIFXSettingsEntry.cpp |
| |
| User interface for OpenRGB LIFX settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBLIFXSettingsEntry.h"
#include "ui_OpenRGBLIFXSettingsEntry.h"

View file

@ -1,11 +1,18 @@
#ifndef OPENRGBLIFXSETTINGSENTRY_H
#define OPENRGBLIFXSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBLIFXSettingsEntry.h |
| |
| User interface for OpenRGB LIFX settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "ui_OpenRGBLIFXSettingsEntry.h"
#include <QWidget>
#include "ui_OpenRGBLIFXSettingsEntry.h"
namespace Ui {
class OpenRGBLIFXSettingsEntry;
namespace Ui
{
class OpenRGBLIFXSettingsEntry;
}
class Ui::OpenRGBLIFXSettingsEntry : public QWidget
@ -20,5 +27,3 @@ public:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBLIFXSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBLIFXSettingsPage.cpp |
| |
| User interface for OpenRGB LIFX settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBLIFXSettingsPage.h"
#include "ui_OpenRGBLIFXSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,21 @@
#ifndef OPENRGBLIFXSETTINGSPAGE_H
#define OPENRGBLIFXSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBLIFXSettingsPage.h |
| |
| User interface for OpenRGB LIFX settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBLIFXSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBLIFXSettingsPage.h"
#include "OpenRGBLIFXSettingsEntry.h"
namespace Ui {
class OpenRGBLIFXSettingsPage;
namespace Ui
{
class OpenRGBLIFXSettingsPage;
}
class Ui::OpenRGBLIFXSettingsPage : public QWidget
@ -31,5 +39,3 @@ private:
std::vector<OpenRGBLIFXSettingsEntry*> entries;
};
#endif // OPENRGBLIFXSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBNanoleafNewDeviceDialog.cpp |
| |
| User interface for OpenRGB Nanoleaf dialog |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QCloseEvent>
#include "ResourceManager.h"
#include "OpenRGBNanoleafNewDeviceDialog.h"

View file

@ -1,5 +1,11 @@
#ifndef OPENRGBNANOLEAFNEWDEVICEDIALOG_H
#define OPENRGBNANOLEAFNEWDEVICEDIALOG_H
/*---------------------------------------------------------*\
| OpenRGBNanoleafNewDeviceDialog.h |
| |
| User interface for OpenRGB Nanoleaf dialog |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QDialog>
#include "ui_OpenRGBNanoleafNewDeviceDialog.h"
@ -32,5 +38,3 @@ private:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBNANOLEAFNEWDEVICEDIALOG_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBNanoleafScanningThread.cpp |
| |
| OpenRGB Nanoleaf scanning thread |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#ifdef _WIN32
#define _CRT_SECURE_NO_WARNINGS 1
#endif
@ -43,7 +52,7 @@ static mdns_string_t ipv4_address_to_string(char* buffer, size_t capacity, const
mdns_string_t str;
str.str = buffer;
str.length = len;
return str;
}
@ -136,7 +145,7 @@ static int open_client_sockets(int* sockets, int max_sockets, int port)
{
continue;
}
for(IP_ADAPTER_UNICAST_ADDRESS* unicast = adapter->FirstUnicastAddress; unicast; unicast = unicast->Next)
{
if(unicast->Address.lpSockaddr->sa_family == AF_INET)
@ -465,4 +474,4 @@ int OpenRGBNanoleafScanningThread::SendMDNSQuery()
void OpenRGBNanoleafScanningThread::run()
{
SendMDNSQuery();
}
}

View file

@ -1,5 +1,11 @@
#ifndef OPENRGBNanoleafScanningThread_H
#define OPENRGBNanoleafScanningThread_H
/*---------------------------------------------------------*\
| OpenRGBNanoleafScanningThread.h |
| |
| OpenRGB Nanoleaf scanning thread |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QThread>
@ -17,5 +23,3 @@ signals:
public:
void EmitDeviceFound(QString address, int port);
};
#endif // OPENRGBNanoleafScanningThread_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBNanoleafSettingsEntry.cpp |
| |
| User interface for OpenRGB Nanoleaf settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBNanoleafSettingsEntry.h"
#include "ui_OpenRGBNanoleafSettingsEntry.h"
#include "ResourceManager.h"
@ -97,4 +106,3 @@ void OpenRGBNanoleafSettingsEntry::on_UnpairButton_clicked()
ui->PairButton->show();
ui->UnpairButton->hide();
}

View file

@ -1,13 +1,21 @@
#ifndef OPENRGBNanoleafSETTINGSENTRY_H
#define OPENRGBNanoleafSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBNanoleafSettingsEntry.h |
| |
| User interface for OpenRGB Nanoleaf settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QWidget>
#include "ui_OpenRGBNanoleafSettingsEntry.h"
#include "OpenRGBNanoleafScanningThread.h"
#include <QWidget>
namespace Ui
{
class OpenRGBNanoleafSettingsEntry;
class OpenRGBNanoleafSettingsEntry;
}
class Ui::OpenRGBNanoleafSettingsEntry : public QWidget
@ -31,5 +39,3 @@ private:
std::string auth_token;
bool paired;
};
#endif // OPENRGBNanoleafSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBNanoleafSettingsPage.cpp |
| |
| User interface for OpenRGB Nanoleaf settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBNanoleafSettingsPage.h"
#include "ui_OpenRGBNanoleafSettingsPage.h"
#include "OpenRGBNanoleafNewDeviceDialog.h"

View file

@ -1,14 +1,21 @@
#ifndef OPENRGBNanoleafSETTINGSPAGE_H
#define OPENRGBNanoleafSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBNanoleafSettingsPage.h |
| |
| User interface for OpenRGB Nanoleaf settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBNanoleafSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBNanoleafSettingsPage.h"
#include "OpenRGBNanoleafSettingsEntry.h"
namespace Ui
{
class OpenRGBNanoleafSettingsPage;
class OpenRGBNanoleafSettingsPage;
}
class Ui::OpenRGBNanoleafSettingsPage : public QWidget
@ -30,5 +37,3 @@ private:
Ui::OpenRGBNanoleafSettingsPageUi *ui;
std::map<std::string, OpenRGBNanoleafSettingsEntry*> entries;
};
#endif // OPENRGBNanoleafSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBPhilipsHueSettingsEntry.cpp |
| |
| User interface for OpenRGB Philips Hue settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBPhilipsHueSettingsEntry.h"
#include "ui_OpenRGBPhilipsHueSettingsEntry.h"
@ -28,4 +37,3 @@ void Ui::OpenRGBPhilipsHueSettingsEntry::on_UnpairButton_clicked()
ui->UsernameValue->setText("");
ui->ClientKeyValue->setText("");
}

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBPHILIPSHUESETTINGSENTRY_H
#define OPENRGBPHILIPSHUESETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBPhilipsHueSettingsEntry.h |
| |
| User interface for OpenRGB Philips Hue settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBPhilipsHueSettingsEntry.h"
#include <QWidget>
namespace Ui {
class OpenRGBPhilipsHueSettingsEntry;
namespace Ui
{
class OpenRGBPhilipsHueSettingsEntry;
}
class Ui::OpenRGBPhilipsHueSettingsEntry : public QWidget
@ -20,5 +29,3 @@ private slots:
void changeEvent(QEvent *event);
void on_UnpairButton_clicked();
};
#endif // OPENRGBPHILIPSHUESETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBPhilipsHueSettingsPage.cpp |
| |
| User interface for OpenRGB Philips Hue settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBPhilipsHueSettingsPage.h"
#include "ui_OpenRGBPhilipsHueSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,21 @@
#ifndef OPENRGBPHILIPSHUESETTINGSPAGE_H
#define OPENRGBPHILIPSHUESETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBPhilipsHueSettingsPage.h |
| |
| User interface for OpenRGB Philips Hue settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBPhilipsHueSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBPhilipsHueSettingsPage.h"
#include "OpenRGBPhilipsHueSettingsEntry.h"
namespace Ui {
class OpenRGBPhilipsHueSettingsPage;
namespace Ui
{
class OpenRGBPhilipsHueSettingsPage;
}
class Ui::OpenRGBPhilipsHueSettingsPage : public QWidget
@ -29,7 +37,4 @@ private slots:
private:
Ui::OpenRGBPhilipsHueSettingsPageUi *ui;
std::vector<OpenRGBPhilipsHueSettingsEntry*> entries;
};
#endif // OPENRGBPHILIPSHUESETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBPhilipsWizSettingsEntry.cpp |
| |
| User interface for OpenRGB Philips Wiz settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBPhilipsWizSettingsEntry.h"
#include "ui_OpenRGBPhilipsWizSettingsEntry.h"

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBPHILIPSWIZSETTINGSENTRY_H
#define OPENRGBPHILIPSWIZSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBPhilipsWizSettingsEntry.h |
| |
| User interface for OpenRGB Philips Wiz settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBPhilipsWizSettingsEntry.h"
#include <QWidget>
#include "ui_OpenRGBPhilipsWizSettingsEntry.h"
namespace Ui {
class OpenRGBPhilipsWizSettingsEntry;
namespace Ui
{
class OpenRGBPhilipsWizSettingsEntry;
}
class Ui::OpenRGBPhilipsWizSettingsEntry : public QWidget
@ -20,5 +29,3 @@ public:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBPHILIPSWIZSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBPhilipsWizSettingsPage.cpp |
| |
| User interface for OpenRGB Philips Wiz settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBPhilipsWizSettingsPage.h"
#include "ui_OpenRGBPhilipsWizSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,21 @@
#ifndef OPENRGBPHILIPSWIZSETTINGSPAGE_H
#define OPENRGBPHILIPSWIZSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBPhilipsWizSettingsPage.h |
| |
| User interface for OpenRGB Philips Wiz settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBPhilipsWizSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBPhilipsWizSettingsPage.h"
#include "OpenRGBPhilipsWizSettingsEntry.h"
namespace Ui {
class OpenRGBPhilipsWizSettingsPage;
namespace Ui
{
class OpenRGBPhilipsWizSettingsPage;
}
class Ui::OpenRGBPhilipsWizSettingsPage : public QWidget
@ -31,5 +39,3 @@ private:
std::vector<OpenRGBPhilipsWizSettingsEntry*> entries;
};
#endif // OPENRGBPHILIPSWIZSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBPluginContainer.h |
| |
| User interface entry for OpenRGB plugin container widget|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBPluginContainer.h"
#include "ui_OpenRGBPluginContainer.h"

View file

@ -1,9 +1,16 @@
#ifndef OPENRGBPLUGINCONTAINER_H
#define OPENRGBPLUGINCONTAINER_H
/*---------------------------------------------------------*\
| OpenRGBPluginContainer.h |
| |
| User interface entry for OpenRGB plugin container widget|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "ui_OpenRGBPluginContainer.h"
#pragma once
#include <QWidget>
#include "ui_OpenRGBPluginContainer.h"
namespace Ui
{
@ -28,5 +35,3 @@ private:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBPLUGINCONTAINER_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBPluginsEntry.cpp |
| |
| User interface entry for OpenRGB plugin entry widget |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBPluginsEntry.h"
#include "ui_OpenRGBPluginsEntry.h"
@ -42,4 +51,3 @@ void Ui::OpenRGBPluginsEntry::on_EnabledCheckBox_stateChanged(int /*checked*/)
EnableClickCallbackVal(EnableClickCallbackArg, this);
}
}

View file

@ -1,8 +1,16 @@
#ifndef OPENRGBPLUGINSENTRY_H
#define OPENRGBPLUGINSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBPluginsEntry.h |
| |
| User interface entry for OpenRGB plugin entry widget |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBPluginsEntry.h"
#include <QWidget>
#include "ui_OpenRGBPluginsEntry.h"
namespace Ui
{
@ -30,5 +38,3 @@ private:
EnableClickCallback EnableClickCallbackVal;
void * EnableClickCallbackArg;
};
#endif // OPENRGBPLUGINSENTRY_H

View file

@ -1,6 +1,15 @@
#include "OpenRGBPluginsList.h"
/*---------------------------------------------------------*\
| OpenRGBPluginsList.cpp |
| |
| User interface entry for OpenRGB plugin list widget |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QMimeData>
#include <QUrl>
#include "OpenRGBPluginsList.h"
OpenRGBPluginsList::OpenRGBPluginsList(QWidget *parent) : QListWidget (parent)
{
@ -24,7 +33,6 @@ void OpenRGBPluginsList::dropEvent(QDropEvent *event)
emit PluginsDropped(path_list);
}
}
void OpenRGBPluginsList::dragEnterEvent(QDragEnterEvent *event)

View file

@ -1,5 +1,13 @@
#ifndef OPENRGBPLUGINSLIST_H
#define OPENRGBPLUGINSLIST_H
/*---------------------------------------------------------*\
| OpenRGBPluginsList.h |
| |
| User interface entry for OpenRGB plugin list widget |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QListWidget>
#include <QDropEvent>
@ -20,5 +28,3 @@ protected:
void dragEnterEvent(QDragEnterEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
};
#endif // OPENRGBPLUGINSLIST_H

View file

@ -1,8 +1,16 @@
/*---------------------------------------------------------*\
| OpenRGBPluginsPage.cpp |
| |
| User interface entry for OpenRGB plugin settings |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QFileDialog>
#include <QMessageBox>
#include <QGraphicsPixmapItem>
#include <QGraphicsScene>
#include "filesystem.h"
#include "LogManager.h"
#include "SettingsManager.h"

View file

@ -1,5 +1,13 @@
#ifndef OPENRGBPLUGINSPAGE_H
#define OPENRGBPLUGINSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBPluginsPage.h |
| |
| User interface entry for OpenRGB plugin settings |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QWidget>
#include "OpenRGBPluginsEntry.h"
@ -8,7 +16,7 @@
namespace Ui
{
class OpenRGBPluginsPage;
class OpenRGBPluginsPage;
}
class Ui::OpenRGBPluginsPage : public QWidget
@ -39,5 +47,3 @@ private:
bool InstallPlugin(std::string path);
void RefreshList();
};
#endif // OPENRGBPLUGINSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBProfileSaveDialog.cpp |
| |
| User interface entry for OpenRGB profile save dialog |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QCloseEvent>
#include "ResourceManager.h"
#include "OpenRGBDialog2.h"

View file

@ -1,5 +1,13 @@
#ifndef OPENRGBPROFILESAVEDIALOG_H
#define OPENRGBPROFILESAVEDIALOG_H
/*---------------------------------------------------------*\
| OpenRGBProfileSaveDialog.h |
| |
| User interface entry for OpenRGB profile save dialog |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QDialog>
#include "ui_OpenRGBProfileSaveDialog.h"
@ -7,7 +15,7 @@
namespace Ui
{
class OpenRGBProfileSaveDialog;
class OpenRGBProfileSaveDialog;
}
class Ui::OpenRGBProfileSaveDialog : public QDialog
@ -26,5 +34,3 @@ private:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBPROFILESAVEDIALOG_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBQMKORGBSettingsEntry.cpp |
| |
| User interface entry for OpenRGB QMK configuration |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBQMKORGBSettingsEntry.h"
#include "ui_OpenRGBQMKORGBSettingsEntry.h"

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBQMKORGBSETTINGSENTRY_H
#define OPENRGBQMKORGBSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBQMKORGBSettingsEntry.h |
| |
| User interface entry for OpenRGB QMK configuration |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBQMKORGBSettingsEntry.h"
#include <QWidget>
#include "ui_OpenRGBQMKORGBSettingsEntry.h"
namespace Ui {
class OpenRGBQMKORGBSettingsEntry;
namespace Ui
{
class OpenRGBQMKORGBSettingsEntry;
}
class Ui::OpenRGBQMKORGBSettingsEntry : public QWidget
@ -20,5 +29,3 @@ public:
~OpenRGBQMKORGBSettingsEntry();
Ui::OpenRGBQMKORGBSettingsEntryUi *ui;
};
#endif // OPENRGBQMKORGBSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBQMKORGBSettingsPage.cpp |
| |
| User interface for OpenRGB QMK device configuration page|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBQMKORGBSettingsPage.h"
#include "ui_OpenRGBQMKORGBSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,21 @@
#ifndef OPENRGBQMKORGBSETTINGSPAGE_H
#define OPENRGBQMKORGBSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBQMKORGBSettingsPage.h |
| |
| User interface for OpenRGB QMK device configuration page|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBQMKORGBSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBQMKORGBSettingsPage.h"
#include "OpenRGBQMKORGBSettingsEntry.h"
namespace Ui {
class OpenRGBQMKORGBSettingsPage;
namespace Ui
{
class OpenRGBQMKORGBSettingsPage;
}
class Ui::OpenRGBQMKORGBSettingsPage : public QWidget
@ -31,5 +39,3 @@ private:
std::vector<OpenRGBQMKORGBSettingsEntry*> entries;
};
#endif // OPENRGBQMKORGBSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBSerialSettingsEntry.cpp |
| |
| User interface entry for serial device configuration |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBSerialSettingsEntry.h"
#include "ui_OpenRGBSerialSettingsEntry.h"
@ -39,4 +48,3 @@ void Ui::OpenRGBSerialSettingsEntry::on_ProtocolComboBox_currentIndexChanged(int
ui->BaudLabel->setText("Baud:");
}
}

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBSERIALSETTINGSENTRY_H
#define OPENRGBSERIALSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBSerialSettingsEntry.h |
| |
| User interface entry for serial device configuration |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBSerialSettingsEntry.h"
#include <QWidget>
#include "ui_OpenRGBSerialSettingsEntry.h"
namespace Ui {
class OpenRGBSerialSettingsEntry;
namespace Ui
{
class OpenRGBSerialSettingsEntry;
}
class Ui::OpenRGBSerialSettingsEntry : public QWidget
@ -22,5 +31,3 @@ public:
~OpenRGBSerialSettingsEntry();
Ui::OpenRGBSerialSettingsEntryUi *ui;
};
#endif // OPENRGBSERIALSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBSerialSettingsPage.cpp |
| |
| User interface for serial device configuration page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBSerialSettingsPage.h"
#include "ui_OpenRGBSerialSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,22 @@
#ifndef OPENRGBSERIALSETTINGSPAGE_H
#define OPENRGBSERIALSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBSerialSettingsPage.h |
| |
| User interface for serial device configuration page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBSerialSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBSerialSettingsPage.h"
#include "OpenRGBSerialSettingsEntry.h"
namespace Ui {
class OpenRGBSerialSettingsPage;
namespace Ui
{
class OpenRGBSerialSettingsPage;
}
class Ui::OpenRGBSerialSettingsPage : public QWidget
@ -31,5 +40,3 @@ private:
std::vector<OpenRGBSerialSettingsEntry*> entries;
};
#endif // OPENRGBSERIALSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBServerInfoPage.cpp |
| |
| User interface for server information page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBServerInfoPage.h"
using namespace Ui;

View file

@ -1,13 +1,22 @@
#ifndef OPENRGBSERVERINFOPAGE_H
#define OPENRGBSERVERINFOPAGE_H
/*---------------------------------------------------------*\
| OpenRGBServerInfoPage.h |
| |
| User interface for server information page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QFrame>
#include "RGBController.h"
#include "ui_OpenRGBServerInfoPage.h"
#include "NetworkServer.h"
namespace Ui {
class OpenRGBServerInfoPage;
namespace Ui
{
class OpenRGBServerInfoPage;
}
class Ui::OpenRGBServerInfoPage : public QFrame
@ -31,5 +40,3 @@ private:
NetworkServer* network_server;
};
#endif // OPENRGBSERVERINFOPAGE_H

View file

@ -1,3 +1,14 @@
/*---------------------------------------------------------*\
| OpenRGBSettingsPage.cpp |
| |
| User interface for general settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QUrl>
#include <QDesktopServices>
#include "AutoStart.h"
#include "OpenRGBSettingsPage.h"
#include "ui_OpenRGBSettingsPage.h"
@ -5,8 +16,6 @@
#include "ResourceManager.h"
#include "SettingsManager.h"
#include "ProfileManager.h"
#include <QUrl>
#include <QDesktopServices>
using namespace Ui;

View file

@ -1,17 +1,26 @@
#ifndef SETTINGSPAGE_H
#define SETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBSettingsPage.h |
| |
| User interface for general settings page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBSettingsPage.h"
#include <QCoreApplication>
#include <QDirIterator>
#include <QTranslator>
#include <QWidget>
#include <json.hpp>
#include "ui_OpenRGBSettingsPage.h"
using json = nlohmann::json;
namespace Ui {
class OpenRGBSettingsPage;
namespace Ui
{
class OpenRGBSettingsPage;
}
class Ui::OpenRGBSettingsPage : public QWidget
@ -74,5 +83,3 @@ private slots:
void on_ComboBoxExitProfile_currentTextChanged(const QString exit_profile_name);
void on_CheckboxDisableKeyExpansion_clicked();
};
#endif // OPENRGBSETTINGSPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBSoftwareInfoPage.cpp |
| |
| User interface for software information page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBSoftwareInfoPage.h"
#include "OpenRGBPluginInterface.h"
#include "NetworkProtocol.h"

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBSOFTWAREINFOPAGE_H
#define OPENRGBSOFTWAREINFOPAGE_H
/*---------------------------------------------------------*\
| OpenRGBSoftwareInfoPage.h |
| |
| User interface for software information page |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QFrame>
#include "ui_OpenRGBSoftwareInfoPage.h"
namespace Ui {
class OpenRGBSoftwareInfoPage;
namespace Ui
{
class OpenRGBSoftwareInfoPage;
}
class Ui::OpenRGBSoftwareInfoPage : public QFrame
@ -22,5 +31,3 @@ private:
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBSOFTWAREINFOPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBSupportedDevicePage.cpp |
| |
| User interface for enabling and disabling devices |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBSupportedDevicesPage.h"
#include "ui_OpenRGBSupportedDevicesPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,22 @@
#ifndef SUPPORTEDDEVICESPAGE_H
#define SUPPORTEDDEVICESPAGE_H
/*---------------------------------------------------------*\
| OpenRGBSupportedDevicePage.h |
| |
| User interface for enabling and disabling devices |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "DetectorTableModel.h"
#include "ui_OpenRGBSupportedDevicesPage.h"
#include <QWidget>
#include <QSortFilterProxyModel>
#include "DetectorTableModel.h"
#include "ui_OpenRGBSupportedDevicesPage.h"
namespace Ui {
class OpenRGBSupportedDevicesPage;
namespace Ui
{
class OpenRGBSupportedDevicesPage;
}
class Ui::OpenRGBSupportedDevicesPage : public QWidget
@ -32,5 +41,3 @@ private slots:
private:
Ui::OpenRGBSupportedDevicesPageUi *ui;
};
#endif // SUPPORTEDDEVICESPAGE_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBSystemInfoPage.cpp |
| |
| User interface entry for OpenRGB system information page|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBSystemInfoPage.h"
#include "ResourceManager.h"
#include "i2c_tools.h"

View file

@ -1,12 +1,21 @@
#ifndef OPENRGBSYSTEMINFOPAGE_H
#define OPENRGBSYSTEMINFOPAGE_H
/*---------------------------------------------------------*\
| OpenRGBSystemInfoPage.h |
| |
| User interface entry for OpenRGB system information page|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QFrame>
#include "ui_OpenRGBSystemInfoPage.h"
#include "i2c_smbus.h"
namespace Ui {
class OpenRGBSystemInfoPage;
namespace Ui
{
class OpenRGBSystemInfoPage;
}
class Ui::OpenRGBSystemInfoPage : public QFrame
@ -32,5 +41,3 @@ private:
Ui::OpenRGBSystemInfoPageUi *ui;
std::vector<i2c_smbus_interface *>& busses;
};
#endif // OPENRGBSYSTEMINFOPAGE_H

View file

@ -1,7 +1,16 @@
/*---------------------------------------------------------*\
| OpenRGBYeelightSettingsEntry.cpp |
| |
| User interface for Yeelight settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QInputDialog>
#include "OpenRGBYeelightSettingsEntry.h"
#include "ui_OpenRGBYeelightSettingsEntry.h"
#include "net_port.h"
#include <QInputDialog>
using namespace Ui;

View file

@ -1,11 +1,20 @@
#ifndef OPENRGBYEELIGHTSETTINGSENTRY_H
#define OPENRGBYEELIGHTSETTINGSENTRY_H
/*---------------------------------------------------------*\
| OpenRGBYeelightSettingsEntry.h |
| |
| User interface for Yeelight settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBYeelightSettingsEntry.h"
#include <QWidget>
#include "ui_OpenRGBYeelightSettingsEntry.h"
namespace Ui {
class OpenRGBYeelightSettingsEntry;
namespace Ui
{
class OpenRGBYeelightSettingsEntry;
}
class Ui::OpenRGBYeelightSettingsEntry : public QWidget
@ -20,7 +29,4 @@ public:
private slots:
void changeEvent(QEvent *event);
void on_HostIPChooserButton_clicked();
};
#endif // OPENRGBYeelightSETTINGSENTRY_H

View file

@ -1,3 +1,12 @@
/*---------------------------------------------------------*\
| OpenRGBYeelightSettingsPage.cpp |
| |
| User interface for configuring Yeelight settings |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBYeelightSettingsPage.h"
#include "ui_OpenRGBYeelightSettingsPage.h"
#include "ResourceManager.h"

View file

@ -1,13 +1,21 @@
#ifndef OPENRGBYEELIGHTSETTINGSPAGE_H
#define OPENRGBYEELIGHTSETTINGSPAGE_H
/*---------------------------------------------------------*\
| OpenRGBYeelightSettingsPage.h |
| |
| User interface for configuring Yeelight settings |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "ui_OpenRGBYeelightSettingsPage.h"
#include <QWidget>
#include "ui_OpenRGBYeelightSettingsPage.h"
#include "OpenRGBYeelightSettingsEntry.h"
namespace Ui {
class OpenRGBYeelightSettingsPage;
namespace Ui
{
class OpenRGBYeelightSettingsPage;
}
class Ui::OpenRGBYeelightSettingsPage : public QWidget
@ -29,7 +37,4 @@ private slots:
private:
Ui::OpenRGBYeelightSettingsPageUi *ui;
std::vector<OpenRGBYeelightSettingsEntry*> entries;
};
#endif // OPENRGBYEELIGHTSETTINGSPAGE_H

View file

@ -1,6 +1,14 @@
#include "OpenRGBZoneResizeDialog.h"
/*---------------------------------------------------------*\
| OpenRGBZoneResizeDialog.cpp |
| |
| User interface for resizing zones |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QLineEdit>
#include "OpenRGBZoneResizeDialog.h"
using namespace Ui;

View file

@ -1,13 +1,22 @@
#ifndef OPENRGBZONERESIZEDIALOG_H
#define OPENRGBZONERESIZEDIALOG_H
/*---------------------------------------------------------*\
| OpenRGBZoneResizeDialog.h |
| |
| User interface for resizing zones |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QDialog>
#include "ui_OpenRGBZoneResizeDialog.h"
#include "RGBController.h"
namespace Ui {
class OpenRGBZoneResizeDialog;
namespace Ui
{
class OpenRGBZoneResizeDialog;
}
class Ui::OpenRGBZoneResizeDialog : public QDialog
@ -42,5 +51,3 @@ private:
void CheckSegmentsValidity();
};
#endif // OPENRGBZONERESIZEDIALOG_H

View file

@ -1,11 +1,20 @@
/*---------------------------------------------------------*\
| OpenRGBZonesBulkResizer.cpp |
| |
| User interface for bulk resizing zones |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QDialog>
#include <QFile>
#include "OpenRGBZonesBulkResizer.h"
#include "ui_OpenRGBZonesBulkResizer.h"
#include "ResourceManager.h"
#include "SettingsManager.h"
#include "LogManager.h"
#include "OpenRGBDialog2.h"
#include <QDialog>
#include <QFile>
using namespace Ui;

View file

@ -1,12 +1,21 @@
#ifndef OPENRGBZONESBULKRESIZER_H
#define OPENRGBZONESBULKRESIZER_H
/*---------------------------------------------------------*\
| OpenRGBZonesBulkResizer.h |
| |
| User interface for bulk resizing zones |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QWidget>
#include "ui_OpenRGBZonesBulkResizer.h"
#include "RGBController.h"
#include <QWidget>
namespace Ui {
class OpenRGBZonesBulkResizer;
namespace Ui
{
class OpenRGBZonesBulkResizer;
}
class Ui::OpenRGBZonesBulkResizer : public QWidget
@ -37,5 +46,3 @@ private slots:
void on_ignore_button_clicked();
};
#endif // OPENRGBZONESBULKRESIZER_H