Move Autogenerated UI code into Private sections of the window classes
This commit is contained in:
parent
4c6bf55c8a
commit
6793d4a3a0
45 changed files with 940 additions and 531 deletions
|
|
@ -10,11 +10,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
#include "ui_OpenRGBQMKORGBSettingsEntry.h"
|
||||
#include "nlohmann/json.hpp"
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class OpenRGBQMKORGBSettingsEntry;
|
||||
class OpenRGBQMKORGBSettingsEntryUi;
|
||||
}
|
||||
|
||||
class Ui::OpenRGBQMKORGBSettingsEntry : public QWidget
|
||||
|
|
@ -27,5 +30,10 @@ private slots:
|
|||
public:
|
||||
explicit OpenRGBQMKORGBSettingsEntry(QWidget *parent = nullptr);
|
||||
~OpenRGBQMKORGBSettingsEntry();
|
||||
void loadFromSettings(const json& data);
|
||||
json saveSettings();
|
||||
const char* settingsSection();
|
||||
|
||||
private:
|
||||
Ui::OpenRGBQMKORGBSettingsEntryUi *ui;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue