- 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>
50 lines
926 B
C++
50 lines
926 B
C++
/**
|
|
* @RDE_HEADER@
|
|
* User Menu on active sessions (logout, etc.)
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Mike Wille, SLSE, 2016-08-17
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "lts_frameless_dialog.h"
|
|
#include "lts_widgets_export.h"
|
|
|
|
|
|
namespace Ui {
|
|
class LtsOperatorMenu;
|
|
}
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
class LTSWIDGETS_EXPORT LtsOperatorMenu : public LtsFramelessDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit LtsOperatorMenu(const QString &operatorName, const QString &workspaceId, bool debug, int screenCount, QWidget *parent);
|
|
~LtsOperatorMenu();
|
|
|
|
void setTerminalButton(bool bVisible);
|
|
void setOperatorSettingsButton(bool bVisible);
|
|
|
|
private:
|
|
Ui::LtsOperatorMenu *m_ui;
|
|
|
|
signals:
|
|
void signalLogout();
|
|
void signalExit();
|
|
void signalShowOperatorSettings();
|
|
void signalSwap();
|
|
|
|
private slots:
|
|
void onTerminalButtonClicked();
|
|
void onLanguageChange();
|
|
void slotShowInfoDialog();
|
|
};
|
|
|
|
} // namespace LtsWidgets
|