13 #ifndef __BERRY_WORKBENCH_PART_H__
14 #define __BERRY_WORKBENCH_PART_H__
59 QString m_ContentDescription;
61 QHash<QString, QString> partProperties;
64 void InternalSetContentDescription(
const QString& description);
65 void InternalSetPartName(
const QString& partName);
78 return m_ConfigElement;
104 virtual void SetTitleImage(
const QIcon& titleImage);
112 virtual void SetTitleToolTip(
const QString& toolTip);
121 virtual void SetPartName(
const QString& partName);
135 virtual void SetContentDescription(
const QString& description);
137 void FirePropertyChanged(
const QString& key,
138 const QString& oldValue,
const QString& newValue);
140 void FirePropertyChange(
int propertyId);
151 void SetPartProperty(
const QString& key,
const QString& value)
override;
156 QString GetPartProperty(
const QString& key)
const override;
161 const QHash<QString, QString>& GetPartProperties()
const override;
187 void CreatePartControl(QWidget* parent)
override = 0;
198 void SetFocus()
override = 0;
212 QString GetPartName()
const override;
221 QString GetContentDescription()
const override;
227 QIcon GetTitleImage()
const override;
234 QString GetTitleToolTip()
const override;
240 #endif // __BERRY_WORKBENCH_PART_H__