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,64 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Implements a QLedMatrix to display a single character
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Florian Schult, SLSE, 2016-03-18
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QLedMatrix/qledmatrix.h>
|
||||
|
||||
class QImage;
|
||||
|
||||
class QLedChar : public QLedMatrix
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit QLedChar(int height, QWidget *parent, const QChar &letter);
|
||||
~QLedChar();
|
||||
|
||||
QChar letter() const;
|
||||
void setLetter(const QChar &letter);
|
||||
|
||||
QColor bgColor() const;
|
||||
void setBgColor(const QColor &bgColor);
|
||||
|
||||
QColor color() const;
|
||||
void setColor(const QColor &color);
|
||||
|
||||
bool isTransparent() const;
|
||||
void setTransparent(bool isTransparent);
|
||||
|
||||
bool letterVisible() const;
|
||||
void setLetterVisible(bool visible = true);
|
||||
|
||||
int charHeight() const;
|
||||
void setCharHeight(int height);
|
||||
|
||||
QSize charSize() const;
|
||||
|
||||
QImage image() const;
|
||||
void setImage(const QImage &image);
|
||||
|
||||
public slots:
|
||||
void onFlashTimerTimeout();
|
||||
void drawImage();
|
||||
|
||||
private:
|
||||
void init();
|
||||
int findPtHeight(int height);
|
||||
|
||||
int m_ptHeight;
|
||||
QFont m_font;
|
||||
QColor m_color;
|
||||
QColor m_bgColor;
|
||||
QImage m_image;
|
||||
QSize m_size;
|
||||
QChar m_letter;
|
||||
bool m_isTransparent;
|
||||
bool m_isLetterVisible;
|
||||
};
|
||||
Reference in new issue
Block a user