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,27 +1,36 @@
|
||||
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* ToolBar wiht autohide on leave
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#include "lts_tool_bar.h"
|
||||
|
||||
using namespace LtsWidgets;
|
||||
|
||||
LtsToolBar::LtsToolBar(QWidget* parent) : QToolBar(parent)
|
||||
LtsToolBar::LtsToolBar(QWidget *parent)
|
||||
: QToolBar(parent)
|
||||
{
|
||||
setMaximumHeight(1);
|
||||
setMinimumHeight(1);
|
||||
setMaximumHeight(1);
|
||||
setMinimumHeight(1);
|
||||
}
|
||||
|
||||
LtsToolBar::~LtsToolBar() {}
|
||||
|
||||
void LtsToolBar::enterEvent(QEnterEvent* e)
|
||||
LtsToolBar::~LtsToolBar()
|
||||
{
|
||||
setMaximumHeight(50);
|
||||
setMinimumHeight(50);
|
||||
QToolBar::enterEvent(e);
|
||||
}
|
||||
|
||||
void LtsToolBar::leaveEvent(QEvent* e)
|
||||
void LtsToolBar::enterEvent(QEnterEvent *e)
|
||||
{
|
||||
setMaximumHeight(1);
|
||||
setMinimumHeight(1);
|
||||
QToolBar::leaveEvent(e);
|
||||
setMaximumHeight(50);
|
||||
setMinimumHeight(50);
|
||||
QToolBar::enterEvent(e);
|
||||
}
|
||||
|
||||
void LtsToolBar::leaveEvent(QEvent *e)
|
||||
{
|
||||
setMaximumHeight(1);
|
||||
setMinimumHeight(1);
|
||||
QToolBar::leaveEvent(e);
|
||||
}
|
||||
Reference in new issue
Block a user