mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0029018: Documentation - Provide user guide for Qt browser
Documentation is added in a new "Inspector" page of "User Guides". Inspector plugins has some improvements by the documentation needs. New DRAW scripts are implemented for 'tinspector' command.
This commit is contained in:
@@ -82,10 +82,11 @@ void DFBrowser_SearchView::InitModels()
|
||||
// function : onTableSelectionChanged
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
void DFBrowser_SearchView::onTableSelectionChanged (const QItemSelection& theSelected,
|
||||
void DFBrowser_SearchView::onTableSelectionChanged (const QItemSelection&,
|
||||
const QItemSelection&)
|
||||
{
|
||||
QModelIndexList aSelectedIndices = theSelected.indexes();
|
||||
QItemSelectionModel* aSelectionModel = myTableView->selectionModel();
|
||||
QModelIndexList aSelectedIndices = aSelectionModel->selectedIndexes();
|
||||
QModelIndex aSelectedIndex = DFBrowser_Window::SingleSelected (aSelectedIndices, 2);
|
||||
if (!aSelectedIndex.isValid())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user