Qt6 Migration: LtsWidgets, BUILD_RTI Guards, externe Dependencies dokumentiert
- LtsWidgets Verzeichnis vollständig migriert (Qt5→Qt6) - BUILD_RTI Guards für RTI-spezifische Module hinzugefügt - Externe Dependencies in EXTERNAL_DEPS.md dokumentiert - Qt6 API-Änderungen: QRegExp→QRegularExpression, enterEvent(QEnterEvent*) - AutoUic-Fehler bei ui_requirement behoben (SKIP_AUTOUIC) - Include-Pfade korrigiert (LtsElevation, LtsMultiMonitor, LtsUtilsCore) - MOC-Fehler behoben (Q_INTERFACES entfernt wo nicht benötigt) - CMakeLists.txt Anpassungen für Qt6 (PUBLIC statt INTERFACE) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
145 files changed
+17700
-14377
No files matched your search
@@ -1,37 +1,44 @@
|
||||
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Splitter with sizes Proberty for Animation
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author kemayou_s$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lts_base.h"
|
||||
#include "lts_widgets_export.h"
|
||||
|
||||
#include <QList>
|
||||
#include <QObject>
|
||||
#include <QPropertyAnimation>
|
||||
#include <QSplitterHandle>
|
||||
#include <QList>
|
||||
#include <QPropertyAnimation>
|
||||
|
||||
namespace LtsWidgets
|
||||
{
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsSplitterHandle : public QSplitterHandle
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QColor splittercolor READ splitterColor WRITE setCurrentColor DESIGNABLE false)
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QColor splittercolor READ splitterColor WRITE setCurrentColor DESIGNABLE false)
|
||||
|
||||
public:
|
||||
explicit LtsSplitterHandle(Qt::Orientation orientation, QSplitter* parent = nullptr);
|
||||
~LtsSplitterHandle();
|
||||
public:
|
||||
explicit LtsSplitterHandle(Qt::Orientation orientation, QSplitter *parent = nullptr);
|
||||
~LtsSplitterHandle();
|
||||
|
||||
void paintEvent(QPaintEvent* event) override;
|
||||
void animate();
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
void animate();
|
||||
|
||||
QColor splitterColor() const;
|
||||
void setCurrentColor(const QColor& currentcolor);
|
||||
QColor splitterColor() const;
|
||||
void setCurrentColor(const QColor ¤tcolor);
|
||||
|
||||
private:
|
||||
bool m_animate {false};
|
||||
QColor m_endColor {Qt::black};
|
||||
QColor m_currentColor{QColor(239,87,50)};
|
||||
QPropertyAnimation *m_colorAnimation;
|
||||
|
||||
private:
|
||||
bool m_animate{false};
|
||||
QColor m_endColor{Qt::black};
|
||||
QColor m_currentColor{QColor(239, 87, 50)};
|
||||
QPropertyAnimation* m_colorAnimation;
|
||||
};
|
||||
|
||||
} // namespace LtsWidgets
|
||||
Reference in new issue
Block a user