Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* @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
|
||||
Reference in new issue
Block a user