- 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>
37 lines
536 B
C++
37 lines
536 B
C++
/**
|
|
* @RDE_HEADER@
|
|
* ToolBox for Menus
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "lts_base.h"
|
|
#include "lts_widgets_export.h"
|
|
|
|
#include <QToolBox>
|
|
|
|
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);
|
|
|
|
signals:
|
|
void resized(QResizeEvent *e);
|
|
|
|
public slots:
|
|
void showContextMenu(const QPoint &pos);
|
|
|
|
};
|
|
|
|
}
|