1 /*! 2 @file 3 @author Albert Semenov 4 @date 07/2012 5 */ 6 7 #ifndef _a99c0dbc_4565_4eec_82c2_fc8ed1aeb746_ 8 #define _a99c0dbc_4565_4eec_82c2_fc8ed1aeb746_ 9 10 #include "IControlController.h" 11 #include "PropertyPanelControl.h" 12 #include "DataType.h" 13 #include "Data.h" 14 15 namespace tools 16 { 17 18 class MYGUI_EXPORT_DLL PropertyPanelController : 19 public IControlController, 20 public sigslot::has_slots<> 21 { 22 public: 23 PropertyPanelController(); 24 25 virtual void setTarget(Control* _control); 26 27 virtual void activate(); 28 virtual void deactivate(); 29 30 private: 31 void notifyChangeScope(const std::string& _scope); 32 void notifyChangeDataSelector(DataPtr _data, bool _changeOnlySelection); 33 34 private: 35 PropertyPanelControl* mControl; 36 DataTypePtr mParentType; 37 }; 38 39 } 40 41 #endif 42