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;
71 const QStringList &getWorkspaceTypes() const;
72 void setWorkspaceTypes(const QStringList &types);
73 bool showHiddenWorkspaces() const;
74 void showHiddenWorkspaces(
bool show);
75 bool showWorkspaceGroups() const;
76 void showWorkspaceGroups(
bool show);
77 bool isOptional() const;
78 void setOptional(
bool optional);
79 bool isSorted() const;
80 void setSorted(
bool sorted);
81 const QStringList &getSuffixes() const;
82 void setSuffixes(const QStringList &suffix);
83 void setLowerBinLimit(
int numberOfBins);
84 void setUpperBinLimit(
int numberOfBins);
85 const QString &getValidatingAlgorithm() const;
86 void setValidatingAlgorithm(const QString &algName);
89 void disconnectObservers();
90 void connectObservers();
91 bool isConnected() const;
105 bool hasValidSuffix(const QString &
name) const;
110 void dropEvent(QDropEvent * ) override;
112 void dragEnterEvent(QDragEnterEvent * ) override;
114 void focusInEvent(QFocusEvent * ) override;
128 QStringList m_workspaceTypes;
138 std::pair<
int,
int> m_binLimits;
139 QStringList m_suffix;
141 QString m_algPropName;
PostDeleteNotification is sent after an object is deleted from the data service.