Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void MainWindow::itemInserted ( DiagramItem item ) [private, slot]

[6]

[7]

Definition at line 180 of file mainwindow.cpp.

References QButtonGroup::button(), QButtonGroup::checkedId(), and QGraphicsView::scene().

{
    pointerTypeGroup->button(int(DiagramScene::MoveItem))->setChecked(true);
    scene->setMode(DiagramScene::Mode(pointerTypeGroup->checkedId()));
    buttonGroup->button(int(item->diagramType()))->setChecked(false);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index