void GroupWidget::createToolbar() {
toolbarEditMode = new QToolBar(tr("Mode"));
toolbarAdd = new QToolBar(tr("Group"));
- toolbarTools = new QToolBar(tr("Tools"));
+ //toolbarTools = new QToolBar(tr("Tools"));
toolbarEditMode->addWidget(new QLabel("Mode"));
- toolbarTools->addWidget(new QLabel("Tools"));
+ //toolbarTools->addWidget(new QLabel("Tools"));
toolbarEditMode->addSeparator();
- toolbarTools->addSeparator();
+ //toolbarTools->addSeparator();
toolbarEditMode->addWidget(butAddConnection);
toolbarEditMode->addWidget(butEdit);
- toolbarAdd->addAction(copyBlockAct);
+ //toolbarAdd->addAction(copyBlockAct);
toolbarAdd->addAction(newEmptyGroupAct);
toolbarAdd->addAction(newGroupAct);
- toolbarTools->addAction(deleteAct);
- toolbarTools->addAction(selectAllAct);
- toolbarTools->addAction(unselectAllAct);
+ //toolbarTools->addAction(deleteAct);
+ //toolbarTools->addAction(selectAllAct);
+ //toolbarTools->addAction(unselectAllAct);
layout->addWidget(toolbarEditMode,0,0);
layout->addWidget(toolbarAdd,0,1);
- layout->addWidget(toolbarTools,0,2);
+ //layout->addWidget(toolbarTools,0,2);
}
void GroupWidget::slotEdit() {