23 typedef QObject Superclass;
27 const QString&
label,
const QString&
icon =
"",
50 void setIcon(
const QString& iconPath);
62 static QMap<QString, QPointer<pqProxyInfo>>
mergeProxies(
63 const QMap<QString, QPointer<pqProxyInfo>>& proxies,
64 const QMap<QString, QPointer<pqProxyInfo>>& otherProxies);
75 QString
name() {
return this->Name; }
76 QString
group() {
return this->Group; }
79 QString
icon() {
return this->Icon; }
94 QStringList OmitFromToolbar;
96 bool HideFromMenu =
false;
QStringList omitFromToolbar()
Return member.
QMap< QString, pqProxyInfo * > pqProxyInfoMap
map a proxy name to its pqProxyInfo
void setIcon(const QString &iconPath)
Set Icon path.
QString name()
Return member.
void merge(pqProxyInfo *other)
Merge pqProxyInfo meta data into self.
QString icon()
Return member.
Proxy meta data structure for the User Interface.
bool hideFromMenu()
Return member.
QString group()
Return member.
void setLabel(const QString &label)
Set label.
QString label()
return the translated label, or create one from name if empty.
void setHideFromMenu(bool hidden)
Set HideFromMenu.
static QMap< QString, QPointer< pqProxyInfo > > mergeProxies(const QMap< QString, QPointer< pqProxyInfo >> &proxies, const QMap< QString, QPointer< pqProxyInfo >> &otherProxies)
Merge otherProxies into proxies and return a new map.
The pqProxyCategory class reads and writes XML that describes the proxies organisation into categorie...
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void convertToXML(vtkPVXMLElement *root)
Create the xml element and add it under given root.