| 34 | |
| 35 | |
| 36 | ToolPluginView::ToolPluginView( ToolPlugin * _toolPlugin ) : |
| 37 | PluginView( _toolPlugin, NULL ) |
| 38 | { |
| 39 | gui->mainWindow()->addWindowedWidget( this ); |
| 40 | parentWidget()->setAttribute( Qt::WA_DeleteOnClose, false ); |
| 41 | |
| 42 | setWindowTitle( _toolPlugin->displayName() ); |
| 43 | setWindowIcon( _toolPlugin->descriptor()->logo->pixmap() ); |
| 44 | } |
| 45 | |
| 46 |
nothing calls this directly
no test coverage detected