46 lines
1020 B
C++
Executable File
46 lines
1020 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* HMI Plugin for OperatorManagement (Interface for access from other Plugins)
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Astrid Mueller, SGAS, 2017-10-11
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QSet>
|
|
#include <functional>
|
|
|
|
class QWidget;
|
|
namespace LtsWidgets
|
|
{
|
|
class LtsComboBox;
|
|
}
|
|
|
|
namespace OperatorManagement
|
|
{
|
|
|
|
class ForeignGuiComboboxInterface
|
|
{
|
|
|
|
public:
|
|
ForeignGuiComboboxInterface() = default;
|
|
virtual ~ForeignGuiComboboxInterface() = default;
|
|
|
|
enum CbxOperatorFilter
|
|
{
|
|
eOperators = 0x01,
|
|
eOc = 0x02,
|
|
eAll = eOperators|eOc
|
|
};
|
|
|
|
virtual bool fillOperatorComboBox(LtsWidgets::LtsComboBox *cbx, CbxOperatorFilter filter = eOperators) = 0;
|
|
|
|
// ActiveApps:
|
|
virtual bool fillActiveAppOperatorComboBox(LtsWidgets::LtsComboBox *cbx, int appId, int exerciseId, int preSelectedOperatorId = -1) = 0;
|
|
virtual bool fillActiveAppScreenComboBox(LtsWidgets::LtsComboBox *cbx, int appId, int operatorId, int exerciseId, bool preSelectTopmost = false) = 0;
|
|
};
|
|
|
|
} // namespace OperatorManagement
|