Changeset View
Changeset View
Standalone View
Standalone View
src/dashboard.cpp
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Line(s) | 129 | { | |||
---|---|---|---|---|---|
142 | 142 | | |||
143 | m_document->currentPlots()->setFilterSpaceDimension(Dim2D); | 143 | m_document->currentPlots()->setFilterSpaceDimension(Dim2D); | ||
144 | m_ui->plotsView2D->setModel(m_document->currentPlots()); | 144 | m_ui->plotsView2D->setModel(m_document->currentPlots()); | ||
145 | m_ui->plotsView2D->setSelectionModel(m_document->currentSelectionModel()); | 145 | m_ui->plotsView2D->setSelectionModel(m_document->currentSelectionModel()); | ||
146 | 146 | | |||
147 | m_document->currentPlots()->setFilterSpaceDimension(Dim3D); | 147 | m_document->currentPlots()->setFilterSpaceDimension(Dim3D); | ||
148 | m_ui->plotsView3D->setModel(m_document->currentPlots()); | 148 | m_ui->plotsView3D->setModel(m_document->currentPlots()); | ||
149 | m_ui->plotsView3D->setSelectionModel(m_document->currentSelectionModel()); | 149 | m_ui->plotsView3D->setSelectionModel(m_document->currentSelectionModel()); | ||
150 | m_ui->plotsView3D->setUseSimpleRotation(true); | ||||
150 | 151 | | |||
151 | connect(m_document->currentPlots(), SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(setCurrentPlot(QModelIndex,int))); | 152 | connect(m_document->currentPlots(), SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(setCurrentPlot(QModelIndex,int))); | ||
152 | connect(m_document->spacesModel(), SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(setCurrentSpace(QModelIndex,int))); | 153 | connect(m_document->spacesModel(), SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(setCurrentSpace(QModelIndex,int))); | ||
153 | } | 154 | } | ||
154 | 155 | | |||
155 | QPixmap Dashboard::thumbnail(Analitza::Dimension dim) const | 156 | QPixmap Dashboard::thumbnail(Analitza::Dimension dim) const | ||
156 | { | 157 | { | ||
157 | QPixmap thumbnail; | 158 | QPixmap thumbnail; | ||
▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines |