Commit ee255c67 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[ADD] we now have icons for the common module operations, add, connect, disconnect and so on

parent b924f892
......@@ -95,13 +95,15 @@ WQtControlPanel::WQtControlPanel( WMainWindow* parent )
separator->setSeparator( true );
m_moduleTreeWidget->addAction( separator );
m_addModuleAction = new QAction( "Add Module", m_moduleTreeWidget );
m_addModuleAction = new QAction( WQt4Gui::getMainWindow()->getIconManager()->getIcon( "add" ), "Add Module", m_moduleTreeWidget );
m_moduleTreeWidget->addAction( m_addModuleAction );
m_connectWithPrototypeAction = new QAction( "Add Module and Connect", m_moduleTreeWidget );
m_connectWithPrototypeAction = new QAction( WQt4Gui::getMainWindow()->getIconManager()->getIcon( "addAndLink" ), "Add Module and Connect",
m_moduleTreeWidget );
m_moduleTreeWidget->addAction( m_connectWithPrototypeAction );
m_connectWithModuleAction = new QAction( "Connect Existing Module", m_moduleTreeWidget );
m_connectWithModuleAction = new QAction( WQt4Gui::getMainWindow()->getIconManager()->getIcon( "link" ), "Connect Existing Module",
m_moduleTreeWidget );
m_moduleTreeWidget->addAction( m_connectWithModuleAction );
m_disconnectAction = new QAction( "Disconnect", m_moduleTreeWidget );
m_disconnectAction = new QAction( WQt4Gui::getMainWindow()->getIconManager()->getIcon( "unlink" ), "Disconnect", m_moduleTreeWidget );
m_moduleTreeWidget->addAction( m_disconnectAction );
// a separator to clean up the tree widget's context menu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment