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,10 +1,16 @@
|
||||
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* ToolBox for Menus
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lts_base.h"
|
||||
#include "lts_widgets_export.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QToolBox>
|
||||
|
||||
namespace LtsWidgets
|
||||
@@ -12,18 +18,19 @@ namespace LtsWidgets
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsToolBox : public QToolBox
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsToolBox(QWidget* parent = nullptr);
|
||||
~LtsToolBox();
|
||||
void resizeEvent(QResizeEvent* e) override;
|
||||
void addItem(QWidget* widget, const QString& text);
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsToolBox(QWidget *parent = nullptr);
|
||||
~LtsToolBox();
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
void addItem(QWidget *widget, const QString &text);
|
||||
|
||||
signals:
|
||||
void resized(QResizeEvent* e);
|
||||
signals:
|
||||
void resized(QResizeEvent *e);
|
||||
|
||||
public slots:
|
||||
void showContextMenu(const QPoint &pos);
|
||||
|
||||
public slots:
|
||||
void showContextMenu(const QPoint& pos);
|
||||
};
|
||||
|
||||
} // namespace LtsWidgets
|
||||
}
|
||||
Reference in new issue
Block a user