"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gui/qgstaskmanagerwidget.cpp" between
QGIS-final-3_10_5.tar.gz and QGIS-final-3_10_6.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgstaskmanagerwidget.cpp  (QGIS-final-3_10_5):qgstaskmanagerwidget.cpp  (QGIS-final-3_10_6)
skipping to change at line 604 skipping to change at line 604
mFloatingWidget->setAnchorPoint( QgsFloatingWidget::BottomMiddle ); mFloatingWidget->setAnchorPoint( QgsFloatingWidget::BottomMiddle );
mFloatingWidget->setAnchorWidgetPoint( QgsFloatingWidget::TopMiddle ); mFloatingWidget->setAnchorWidgetPoint( QgsFloatingWidget::TopMiddle );
mFloatingWidget->hide(); mFloatingWidget->hide();
connect( this, &QgsTaskManagerStatusBarWidget::clicked, this, &QgsTaskManagerS tatusBarWidget::toggleDisplay ); connect( this, &QgsTaskManagerStatusBarWidget::clicked, this, &QgsTaskManagerS tatusBarWidget::toggleDisplay );
hide(); hide();
connect( manager, &QgsTaskManager::taskAdded, this, &QgsTaskManagerStatusBarWi dget::showButton ); connect( manager, &QgsTaskManager::taskAdded, this, &QgsTaskManagerStatusBarWi dget::showButton );
connect( manager, &QgsTaskManager::allTasksFinished, this, &QgsTaskManagerStat usBarWidget::allFinished ); connect( manager, &QgsTaskManager::allTasksFinished, this, &QgsTaskManagerStat usBarWidget::allFinished );
connect( manager, &QgsTaskManager::finalTaskProgressChanged, this, &QgsTaskMan agerStatusBarWidget::overallProgressChanged ); connect( manager, &QgsTaskManager::finalTaskProgressChanged, this, &QgsTaskMan agerStatusBarWidget::overallProgressChanged );
connect( manager, &QgsTaskManager::countActiveTasksChanged, this, &QgsTaskMana gerStatusBarWidget::countActiveTasksChanged ); connect( manager, &QgsTaskManager::countActiveTasksChanged, this, &QgsTaskMana gerStatusBarWidget::countActiveTasksChanged );
if ( manager->countActiveTasks() )
showButton();
} }
QSize QgsTaskManagerStatusBarWidget::sizeHint() const QSize QgsTaskManagerStatusBarWidget::sizeHint() const
{ {
int width = static_cast< int >( fontMetrics().width( 'X' ) * 20 * Qgis::UI_SCA LE_FACTOR ); int width = static_cast< int >( fontMetrics().width( 'X' ) * 20 * Qgis::UI_SCA LE_FACTOR );
int height = QToolButton::sizeHint().height(); int height = QToolButton::sizeHint().height();
return QSize( width, height ); return QSize( width, height );
} }
void QgsTaskManagerStatusBarWidget::changeEvent( QEvent *event ) void QgsTaskManagerStatusBarWidget::changeEvent( QEvent *event )
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)