Workspace 6.21.5
|
Widget for entering global names as part of a QTableWidget. Can show a warning icon if there is another element with the same global name in the Workflow (icon is shown if showDuplicates is true)
#include <Workspace/Widgets/globalnamecolumneditor.h>
Inherits QLineEdit.
Public Member Functions | |
GlobalNameColumnEditor (QTableWidgetItem &item, DataExecution::Updatable &updatable, DataExecution::ObserverSet &observers, bool isDuplicate) | |
~GlobalNameColumnEditor () | |
void | handleGlobalNameDuplicatedEvent (const DataExecution::GlobalNameDuplicatedEvent &event) |
QTableWidgetItem & | item () |
void | updateIcon () |
Static Public Attributes | |
static bool | showDuplicates {true} |
GlobalNameColumnEditor | ( | QTableWidgetItem & | item, |
DataExecution::Updatable & | updatable, | ||
DataExecution::ObserverSet & | observers, | ||
bool | isDuplicate | ||
) |
|
default |
void handleGlobalNameDuplicatedEvent | ( | const DataExecution::GlobalNameDuplicatedEvent & | event | ) |
QTableWidgetItem & item | ( | ) |
void updateIcon | ( | ) |
|
static |