Q_OBJECTZ这个宏需要有signal slot 这些QT特有的标识才能用 如果没有 又用了Q_OBJECT 则会报错
E:\codes\build-IPaint-Desktop_Qt_5_14_0_MinGW_32_bit-Debug\moc_toolsettingdockwidget.cpp:-1: error: undefined reference to `widgets::ToolSettingDockWidget::~ToolSettingDockWidget()'
报出 MOC-XXXXXX的错误