TLDR: make mainwindow see a dialog as a tool(...
Well, the tool structure now is designed for a pipeline design. Tool base load a oto.ini, then pass its content to adapter, and adapter pass it to the worker with options from option widget. It makes work for creating new tools fiting in this pattern much easier, but lose some flexibility. For some tools I want to bulid in the future, I may just call them WildTool, and only register a dialog in mainwindow.
TLDR: make mainwindow see a dialog as a tool(... Well, the tool structure now is designed for a pipeline design. Tool base load a oto.ini, then pass its content to adapter, and adapter pass it to the worker with options from option widget. It makes work for creating new tools fiting in this pattern much easier, but lose some flexibility. For some tools I want to bulid in the future, I may just call them WildTool, and only register a dialog in mainwindow.