+
+ /// Fill the panel by the feature
+ /// \param theFeature a feature to fill the panel controls
+ void setFeature(const FeaturePtr& theFeature);
+
+protected slots:
+ /// Update feature attribute by the current value of combo box
+ /// \param theIndex a combo box modified value
+ void onCurrentIndexChanged(int theIndex);
+
+private:
+ FeaturePtr myFeature; // the feature which corresponds to the current panel
+ QComboBox* myComboBox; // control for value attribute of the current feature
+ int myDefaultValue; /// the default combo box value