50 Q_PROPERTY(QStringList WorkspaceTypes
READ getWorkspaceTypes WRITE setWorkspaceTypes)
51 Q_PROPERTY(
bool ShowHidden
READ showHiddenWorkspaces WRITE showHiddenWorkspaces)
52 Q_PROPERTY(
bool ShowGroups
READ showWorkspaceGroups WRITE showWorkspaceGroups)
53 Q_PROPERTY(
bool Optional
READ isOptional WRITE setOptional)
54 Q_PROPERTY(
bool Sorted
READ isSorted WRITE setSorted)
55 Q_PROPERTY(QStringList Suffix
READ getSuffixes WRITE setSuffixes)
56 Q_PROPERTY(QString
Algorithm READ getValidatingAlgorithm WRITE setValidatingAlgorithm)
60 using QComboBox::currentIndexChanged;
67 const QStringList &getWorkspaceTypes() const;
68 void setWorkspaceTypes(const QStringList &types);
69 bool showHiddenWorkspaces() const;
70 void showHiddenWorkspaces(
bool show);
71 bool showWorkspaceGroups() const;
72 void showWorkspaceGroups(
bool show);
73 bool isOptional() const;
74 void setOptional(
bool optional);
75 bool isSorted() const;
76 void setSorted(
bool sorted);
77 const QStringList &getSuffixes() const;
78 void setSuffixes(const QStringList &suffix);
79 void setLowerBinLimit(
int numberOfBins);
80 void setUpperBinLimit(
int numberOfBins);
81 const QString &getValidatingAlgorithm() const;
82 void setValidatingAlgorithm(const QString &algName);
85 void disconnectObservers();
86 void connectObservers();
87 bool isConnected() const;
101 bool hasValidSuffix(const QString &
name) const;
106 void dropEvent(QDropEvent * ) override;
108 void dragEnterEvent(QDragEnterEvent * ) override;
110 void focusInEvent(QFocusEvent * ) override;
124 QStringList m_workspaceTypes;
134 std::pair<
int,
int> m_binLimits;
135 QStringList m_suffix;
137 QString m_algPropName;
PostDeleteNotification is sent after an object is deleted from the data service.