31 #define TY_DECL_METIER_WIDGET(classname) \
33 inline classname* getElement() const \
35 return (classname*)_pElement; \
52 TYWidget(
TYElement* pElement, QWidget* parent = 0,
const char*
name = 0, Qt::WindowFlags f = QFlag(0));
70 int static edit(
TYElement* pElement, QWidget* pParent = NULL);