Session 022: Migrate Lts/Tools (72 submodules) to Qt6
- Copied complete Lts/Tools directory from qt5-before to qt6-after - Updated 32 CMakeLists.txt files (Qt5:: → Qt6::) - Tools subdirectory already included in parent Lts/CMakeLists.txt - All 72 tool submodules now present in qt6-migrated-legatus - Includes: Adler, ArAssets, ConfigX, DBAdministration, DBUpdate, DdsView, InfrastructureManagement, and 67 more tools - C++17 standard (RTI 7.7.0 compatibility maintained) - Tests deferred until final validation phase Migration progress: ✅ Lts/Application (68 files) ✅ Lts/DDS (verified Qt6-ready) ✅ Lts/Plugins (60 submodules, verified) ✅ Lts/Projects (5 submodules, verified) ✅ Lts/Proxies (13 submodules, verified) ✅ Lts/Services (47 submodules, verified) ✅ Lts/Tools (72 submodules, copied + CMake updated) ✅ Lts/Viewer (LtsFileDialog, LtsReportDisplay, SituationMap) 🟡 TetraIF (partial) 🟡 Z (partial: nglwidgets, QtSingleApplication, qsql_informix, WMS_Interface)
This commit is contained in:
1 parent
01dce5fe52
commit
d5c13033e2
1792 files changed
+982018
No files matched your search
@@ -0,0 +1,99 @@
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Copyright (C) 2009 Pierre-Etienne Messier <pierre.etienne.messier@gmail.com>
|
||||
** http://pemessier.hexpresso.org/
|
||||
**
|
||||
** This library is free software: you can redistribute it and/or modify
|
||||
** it under the terms of the GNU Lesser General Public License as published by
|
||||
** the Free Software Foundation, either version 3 of the License, or
|
||||
** (at your option) any later version.
|
||||
**
|
||||
** This library is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
** GNU Lesser General Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU Lesser General Public License
|
||||
** along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
**
|
||||
*******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#ifndef QLEDMATRIX_EXPORT
|
||||
# ifdef BUILD_STATIC_LIBRARIES
|
||||
# define QLEDMATRIX_EXPORT
|
||||
# else
|
||||
# ifdef MAKE_QLEDMATRIX_LIB
|
||||
# define QLEDMATRIX_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define QLEDMATRIX_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QLedMatrixPrivate;
|
||||
class QLEDMATRIX_EXPORT QLedMatrix : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
|
||||
Q_PROPERTY(Qt::BGMode backgroundMode READ backgroundMode WRITE setBackgroundMode)
|
||||
Q_PROPERTY(QColor darkLedColor READ darkLedColor WRITE setDarkLedColor)
|
||||
Q_PROPERTY(int rows READ rowCount WRITE setRowCount)
|
||||
Q_PROPERTY(int columns READ columnCount WRITE setColumnCount)
|
||||
|
||||
public:
|
||||
QLedMatrix(QWidget* parent = nullptr);
|
||||
virtual ~QLedMatrix();
|
||||
|
||||
enum LEDColor
|
||||
{
|
||||
NoColor = 0xFF222222,
|
||||
|
||||
Red = 0xFFFF0000,
|
||||
Green = 0xFF00FF00,
|
||||
Blue = 0xFF0000FF,
|
||||
|
||||
White = 0xFFFFFFFF,
|
||||
Orange = 0xFFFF8800,
|
||||
OrangeRed = 0xFFFF2200,
|
||||
Yellow = 0xFFFFFF00
|
||||
};
|
||||
Q_ENUM(LEDColor)
|
||||
|
||||
void clear();
|
||||
|
||||
QColor backgroundColor() const;
|
||||
void setBackgroundColor(const QColor& color);
|
||||
|
||||
Qt::BGMode backgroundMode() const;
|
||||
void setBackgroundMode(Qt::BGMode mode);
|
||||
|
||||
QColor darkLedColor() const;
|
||||
void setDarkLedColor(const QColor& color);
|
||||
|
||||
QRgb colorAt(int row, int col) const;
|
||||
void setColorAt(int row, int col, QRgb rgb);
|
||||
|
||||
int rowCount() const;
|
||||
void setRowCount(int rows);
|
||||
|
||||
int columnCount() const;
|
||||
void setColumnCount(int columns);
|
||||
|
||||
inline void setSize(const QSize &s) { setRowCount(s.height()); setColumnCount(s.width()); }
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
protected:
|
||||
QLedMatrixPrivate* const d_ptr;
|
||||
void paintEvent(QPaintEvent*);
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(QLedMatrix)
|
||||
Q_DECLARE_PRIVATE(QLedMatrix)
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user