Files
OpenRGB/qt/OpenRGBMatrixMapEditorDialog/OpenRGBMatrixMapEditorDialog.h
Adam Honse 2b93788fe3 RGBController API changes and segment configuration updates
* Make the Get/Set RGBControler descriptor functions static
  * Add functions for getting the matrix_map_type for zone and segment matrix maps
  * Rename zone resize dialog to zone editor dialog
  * Add additional segment types
  * Add option to import segments configuration from JSON file in zone editor dialog
  * Update device view to be able to display matrix segment types
  * Add matrix map editor dialog for creating/editing segment matrix maps
  * Add option to export segments configuration to JSON file in zone editor dialog
2026-04-03 13:46:35 -05:00

44 lines
1.3 KiB
C++

/*---------------------------------------------------------*\
| OpenRGBMatrixMapEditorDialog.h |
| |
| User interface for editing matrix maps |
| |
| Adam Honse <calcprogrammer1@gmail.com> 21 Feb 2026 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <QDialog>
#include "RGBController.h"
namespace Ui
{
class OpenRGBMatrixMapEditorDialog;
}
class OpenRGBMatrixMapEditorDialog : public QDialog
{
Q_OBJECT
public:
explicit OpenRGBMatrixMapEditorDialog(QString name, matrix_map_type* edit_map_ptr, unsigned int led_count, QWidget *parent = nullptr);
~OpenRGBMatrixMapEditorDialog();
int show();
private slots:
void changeEvent(QEvent *event);
void on_LineEditHeight_textChanged(const QString &arg1);
void on_LineEditWidth_textChanged(const QString &arg1);
private:
Ui::OpenRGBMatrixMapEditorDialog* ui;
matrix_map_type* edit_map;
unsigned int edit_led_count;
};