#ifndef WMODIFYTAB_H #define WMODIFYTAB_H #include #include #include #include #include #include "CLinkModel.h" #include "../WPropertyEditor.h" #include class CWorldEditor; namespace Ui { class WModifyTab; } class WModifyTab : public QWidget { Q_OBJECT CWorldEditor *mpWorldEditor; CSceneNode *mpSelectedNode; QMap mCachedPropEditors; WPropertyEditor *mpCurPropEditor; CLinkModel *mpInLinkModel; CLinkModel *mpOutLinkModel; public: explicit WModifyTab(QWidget *pParent = 0); ~WModifyTab(); void SetEditor(CWorldEditor *pEditor); void GenerateUI(std::list& Selection); void ClearUI(); void ClearCachedEditors(); private: Ui::WModifyTab *ui; private slots: void OnLinkTableDoubleClick(QModelIndex Index); }; #endif // WMODIFYTAB_H