mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Remove debug noise
This commit is contained in:
parent
5fcadebc50
commit
c63b910d75
@ -945,7 +945,6 @@ void QgsComposerLegendWidget::selectedChanged( const QModelIndex & current, cons
|
||||
{
|
||||
Q_UNUSED( current );
|
||||
Q_UNUSED( previous );
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
if ( mLegend && mLegend->autoUpdateModel() )
|
||||
return;
|
||||
|
@ -470,7 +470,6 @@ void QgsBrowserDockWidget::refresh()
|
||||
|
||||
void QgsBrowserDockWidget::refreshModel( const QModelIndex& index )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsDataItem *item = mModel->dataItem( index );
|
||||
if ( item )
|
||||
{
|
||||
|
@ -291,7 +291,6 @@ void QgsCustomizationDialog::on_mCustomizationEnabledCheckBox_toggled( bool chec
|
||||
|
||||
void QgsCustomizationDialog::init()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QTreeWidgetItem * wi = createTreeItemWidgets();
|
||||
if ( wi )
|
||||
{
|
||||
@ -313,7 +312,6 @@ void QgsCustomizationDialog::init()
|
||||
|
||||
QTreeWidgetItem * QgsCustomizationDialog::createTreeItemWidgets()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QDomDocument myDoc( "QgsWidgets" );
|
||||
QFile myFile( QgsApplication::pkgDataPath() + "/resources/customization.xml" );
|
||||
@ -342,7 +340,6 @@ QTreeWidgetItem * QgsCustomizationDialog::createTreeItemWidgets()
|
||||
|
||||
QTreeWidgetItem * QgsCustomizationDialog::readWidgetsXmlNode( const QDomNode& theNode )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QDomElement myElement = theNode.toElement();
|
||||
|
||||
QString name = myElement.attribute( "objectName", "" );
|
||||
@ -382,7 +379,6 @@ QTreeWidgetItem * QgsCustomizationDialog::readWidgetsXmlNode( const QDomNode& th
|
||||
bool QgsCustomizationDialog::switchWidget( QWidget *widget, QMouseEvent *e )
|
||||
{
|
||||
Q_UNUSED( e );
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( !actionCatch->isChecked() )
|
||||
return false;
|
||||
QString path = widgetPath( widget );
|
||||
@ -636,7 +632,6 @@ QgsCustomization::QgsCustomization()
|
||||
, mSettings( nullptr )
|
||||
, mStatusPath( "/Customization/status" )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QSettings settings;
|
||||
mEnabled = settings.value( "/UI/Customization/enabled", "false" ).toString() == "true";
|
||||
@ -794,7 +789,6 @@ void QgsCustomization::updateMenu( QMenu* menu, QSettings* settings )
|
||||
|
||||
void QgsCustomization::openDialog( QWidget *parent )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( !pDialog )
|
||||
{
|
||||
pDialog = new QgsCustomizationDialog( parent, mSettings );
|
||||
|
@ -367,7 +367,6 @@ void QgsCustomProjectionDialog::on_leNameList_currentItemChanged( QTreeWidgetIte
|
||||
|
||||
void QgsCustomProjectionDialog::on_pbnCopyCRS_clicked()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsGenericProjectionSelector *mySelector = new QgsGenericProjectionSelector( this );
|
||||
if ( mySelector->exec() )
|
||||
{
|
||||
@ -388,7 +387,6 @@ void QgsCustomProjectionDialog::on_pbnCopyCRS_clicked()
|
||||
|
||||
void QgsCustomProjectionDialog::on_buttonBox_accepted()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
//Update the current CRS:
|
||||
int i = leNameList->currentIndex().row();
|
||||
if ( i != -1 )
|
||||
|
@ -64,7 +64,6 @@ void QgsDecorationItem::update()
|
||||
|
||||
void QgsDecorationItem::projectRead()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mEnabled = QgsProject::instance()->readBoolEntry( mNameConfig, "/Enabled", false );
|
||||
mPlacement = static_cast< Placement >( QgsProject::instance()->readNumEntry( mNameConfig, "/Placement", static_cast< int >( mPlacement ) ) );
|
||||
mMarginUnit = QgsSymbolLayerV2Utils::decodeOutputUnit( QgsProject::instance()->readEntry( mNameConfig, "/MarginUnit", QgsSymbolLayerV2Utils::encodeOutputUnit( mMarginUnit ) ) );
|
||||
@ -72,7 +71,6 @@ void QgsDecorationItem::projectRead()
|
||||
|
||||
void QgsDecorationItem::saveToProject()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsProject::instance()->writeEntry( mNameConfig, "/Enabled", mEnabled );
|
||||
QgsProject::instance()->writeEntry( mNameConfig, "/Placement", static_cast< int >( mPlacement ) );
|
||||
QgsProject::instance()->writeEntry( mNameConfig, "/MarginUnit", QgsSymbolLayerV2Utils::encodeOutputUnit( mMarginUnit ) );
|
||||
|
@ -214,7 +214,6 @@ QgsIdentifyResultsWebViewItem::QgsIdentifyResultsWebViewItem( QTreeWidget *treeW
|
||||
|
||||
void QgsIdentifyResultsWebViewItem::loadFinished( bool ok )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
Q_UNUSED( ok );
|
||||
|
||||
mWebView->show();
|
||||
@ -920,7 +919,6 @@ void QgsIdentifyResultsDialog::itemClicked( QTreeWidgetItem *item, int column )
|
||||
|
||||
void QgsIdentifyResultsDialog::contextMenuEvent( QContextMenuEvent* event )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
// only handle context menu event if showing tree widget
|
||||
if ( stackedWidget->currentIndex() != 0 )
|
||||
@ -1070,7 +1068,6 @@ void QgsIdentifyResultsDialog::expandColumnsToFit()
|
||||
|
||||
void QgsIdentifyResultsDialog::clear()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
for ( int i = 0; i < lstResults->topLevelItemCount(); i++ )
|
||||
{
|
||||
disconnectLayer( lstResults->topLevelItem( i )->data( 0, Qt::UserRole ).value<QObject *>() );
|
||||
@ -1672,7 +1669,6 @@ void QgsIdentifyResultsDialog::copyAttributeValue()
|
||||
|
||||
void QgsIdentifyResultsDialog::copyFeatureAttributes()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QClipboard *clipboard = QApplication::clipboard();
|
||||
QString text;
|
||||
|
||||
@ -1782,7 +1778,6 @@ void QgsIdentifyResultsDialog::on_mActionCopy_triggered( bool checked )
|
||||
|
||||
void QgsIdentifyResultsDialog::copyFeature()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QgsIdentifyResultsFeatureItem *item = dynamic_cast<QgsIdentifyResultsFeatureItem *>( featureItem( lstResults->selectedItems().value( 0 ) ) );
|
||||
|
||||
@ -1799,7 +1794,6 @@ void QgsIdentifyResultsDialog::copyFeature()
|
||||
|
||||
void QgsIdentifyResultsDialog::toggleFeatureSelection()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QgsIdentifyResultsFeatureItem *item = dynamic_cast<QgsIdentifyResultsFeatureItem *>( featureItem( lstResults->selectedItems().value( 0 ) ) );
|
||||
|
||||
@ -1821,7 +1815,6 @@ void QgsIdentifyResultsDialog::toggleFeatureSelection()
|
||||
|
||||
void QgsIdentifyResultsDialog::formatChanged( int index )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QComboBox *combo = qobject_cast<QComboBox*>( sender() );
|
||||
if ( !combo )
|
||||
{
|
||||
|
@ -445,7 +445,6 @@ QgsRasterLayerProperties::~QgsRasterLayerProperties()
|
||||
|
||||
void QgsRasterLayerProperties::setupTransparencyTable( int nBands )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
tableTransparency->clear();
|
||||
tableTransparency->setColumnCount( 0 );
|
||||
tableTransparency->setRowCount( 0 );
|
||||
@ -1160,7 +1159,6 @@ void QgsRasterLayerProperties::on_mCrsSelector_crsChanged( const QgsCoordinateRe
|
||||
|
||||
void QgsRasterLayerProperties::on_pbnDefaultValues_clicked()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( !mRendererWidget )
|
||||
{
|
||||
return;
|
||||
|
@ -364,7 +364,6 @@ void QgsBrowser::restoreWindowState()
|
||||
|
||||
void QgsBrowser::keyPressEvent( QKeyEvent * e )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( e->key() == Qt::Key_Escape )
|
||||
{
|
||||
stopRendering();
|
||||
@ -377,7 +376,6 @@ void QgsBrowser::keyPressEvent( QKeyEvent * e )
|
||||
|
||||
void QgsBrowser::keyReleaseEvent( QKeyEvent * e )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( treeView->hasFocus() && ( e->key() == Qt::Key_Up || e->key() == Qt::Key_Down ) )
|
||||
{
|
||||
itemClicked( treeView->selectionModel()->currentIndex() );
|
||||
@ -390,7 +388,6 @@ void QgsBrowser::keyReleaseEvent( QKeyEvent * e )
|
||||
|
||||
void QgsBrowser::stopRendering()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( mapCanvas )
|
||||
mapCanvas->stopRendering();
|
||||
}
|
||||
@ -485,13 +482,11 @@ void QgsBrowser::tabChanged()
|
||||
|
||||
void QgsBrowser::on_mActionRefresh_triggered()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
refresh();
|
||||
}
|
||||
|
||||
void QgsBrowser::refresh( const QModelIndex& index )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( index.isValid() )
|
||||
{
|
||||
QgsDataItem *item = mModel->dataItem( index );
|
||||
|
@ -291,7 +291,6 @@ void QgsComposerLegend::setRasterBorderWidth( double width ) { mSettings.setRast
|
||||
|
||||
void QgsComposerLegend::synchronizeWithModel()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
adjustBoxSize();
|
||||
updateItem();
|
||||
}
|
||||
|
@ -410,7 +410,6 @@ void QgsBrowserModel::itemDataChanged( QgsDataItem * item )
|
||||
}
|
||||
void QgsBrowserModel::itemStateChanged( QgsDataItem * item, QgsDataItem::State oldState )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( !item )
|
||||
return;
|
||||
QModelIndex idx = findItem( item );
|
||||
@ -503,7 +502,6 @@ bool QgsBrowserModel::canFetchMore( const QModelIndex & parent ) const
|
||||
|
||||
void QgsBrowserModel::fetchMore( const QModelIndex & parent )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsDataItem* item = dataItem( parent );
|
||||
|
||||
if ( !item || item->state() == QgsDataItem::Populating || item->state() == QgsDataItem::Populated )
|
||||
|
@ -874,7 +874,6 @@ QVector<QgsDataItem*> QgsDirectoryItem::createChildren()
|
||||
|
||||
void QgsDirectoryItem::setState( State state )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsDataCollectionItem::setState( state );
|
||||
|
||||
if ( state == Populated )
|
||||
@ -898,7 +897,6 @@ void QgsDirectoryItem::setState( State state )
|
||||
|
||||
void QgsDirectoryItem::directoryChanged()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( state() == Populating )
|
||||
{
|
||||
// schedule to refresh later, because refres() simply returns if Populating
|
||||
|
@ -330,7 +330,6 @@ QDomElement QgsGmlSchema::domElement( const QDomElement &element, const QString
|
||||
|
||||
bool QgsGmlSchema::guessSchema( const QByteArray &data )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mLevel = 0;
|
||||
mSkipLevel = std::numeric_limits<int>::max();
|
||||
XML_Parser p = XML_ParserCreateNS( nullptr, NS_SEPARATOR );
|
||||
|
@ -387,14 +387,12 @@ void QgsNetworkAccessManager::setupDefaultProxyAndCache()
|
||||
|
||||
void QgsNetworkAccessManager::sendGet( const QNetworkRequest & request )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QNetworkReply * reply = get( request );
|
||||
emit requestSent( reply, QObject::sender() );
|
||||
}
|
||||
|
||||
void QgsNetworkAccessManager::deleteReply( QNetworkReply * reply )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( !reply )
|
||||
{
|
||||
return;
|
||||
|
@ -845,7 +845,6 @@ QgsCptCityCollectionItem::QgsCptCityCollectionItem( QgsCptCityDataItem* parent,
|
||||
|
||||
QgsCptCityCollectionItem::~QgsCptCityCollectionItem()
|
||||
{
|
||||
// QgsDebugMsg( "Entered" );
|
||||
Q_FOREACH ( QgsCptCityDataItem* i, mChildren )
|
||||
{
|
||||
// QgsDebugMsg( QString( "delete child = 0x%0" ).arg(( qlonglong )i, 8, 16, QLatin1Char( '0' ) ) );
|
||||
@ -1651,7 +1650,6 @@ void QgsCptCityBrowserModel::beginInsertItems( QgsCptCityDataItem *parent, int f
|
||||
}
|
||||
void QgsCptCityBrowserModel::endInsertItems()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
endInsertRows();
|
||||
}
|
||||
void QgsCptCityBrowserModel::beginRemoveItems( QgsCptCityDataItem *parent, int first, int last )
|
||||
@ -1664,7 +1662,6 @@ void QgsCptCityBrowserModel::beginRemoveItems( QgsCptCityDataItem *parent, int f
|
||||
}
|
||||
void QgsCptCityBrowserModel::endRemoveItems()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
endRemoveRows();
|
||||
}
|
||||
void QgsCptCityBrowserModel::connectItem( QgsCptCityDataItem* item )
|
||||
|
@ -1628,7 +1628,6 @@ bool valueGreaterThan( const QgsRendererRangeV2 &r1, const QgsRendererRangeV2 &r
|
||||
|
||||
void QgsGraduatedSymbolRendererV2::sortByValue( Qt::SortOrder order )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( order == Qt::AscendingOrder )
|
||||
{
|
||||
qSort( mRanges.begin(), mRanges.end(), valueLessThan );
|
||||
|
@ -33,7 +33,6 @@ QgsBrowserTreeView::~QgsBrowserTreeView()
|
||||
|
||||
void QgsBrowserTreeView::setModel( QAbstractItemModel* model )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QTreeView::setModel( model );
|
||||
|
||||
@ -43,7 +42,6 @@ void QgsBrowserTreeView::setModel( QAbstractItemModel* model )
|
||||
void QgsBrowserTreeView::showEvent( QShowEvent * e )
|
||||
{
|
||||
Q_UNUSED( e );
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( model() )
|
||||
restoreState();
|
||||
QTreeView::showEvent( e );
|
||||
@ -53,7 +51,6 @@ void QgsBrowserTreeView::showEvent( QShowEvent * e )
|
||||
void QgsBrowserTreeView::hideEvent( QHideEvent * e )
|
||||
{
|
||||
Q_UNUSED( e );
|
||||
QgsDebugMsg( "Entered" );
|
||||
// hideEvent() may be called (Mac) before showEvent
|
||||
if ( model() )
|
||||
saveState();
|
||||
@ -62,7 +59,6 @@ void QgsBrowserTreeView::hideEvent( QHideEvent * e )
|
||||
|
||||
void QgsBrowserTreeView::saveState()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QSettings settings;
|
||||
QStringList expandedPaths = expandedPathsList( QModelIndex() );
|
||||
settings.setValue( expandedPathsKey(), expandedPaths );
|
||||
@ -71,7 +67,6 @@ void QgsBrowserTreeView::saveState()
|
||||
|
||||
void QgsBrowserTreeView::restoreState()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QSettings settings;
|
||||
mExpandPaths = settings.value( expandedPathsKey(), QVariant() ).toStringList();
|
||||
|
||||
|
@ -42,12 +42,10 @@ QgsCollapsibleGroupBoxBasic::QgsCollapsibleGroupBoxBasic( const QString &title,
|
||||
|
||||
QgsCollapsibleGroupBoxBasic::~QgsCollapsibleGroupBoxBasic()
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
}
|
||||
|
||||
void QgsCollapsibleGroupBoxBasic::init()
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
// variables
|
||||
mCollapsed = false;
|
||||
mInitFlat = false;
|
||||
@ -83,7 +81,6 @@ void QgsCollapsibleGroupBoxBasic::init()
|
||||
|
||||
void QgsCollapsibleGroupBoxBasic::showEvent( QShowEvent * event )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
// initialise widget on first show event only
|
||||
if ( mShown )
|
||||
{
|
||||
@ -494,7 +491,6 @@ QgsCollapsibleGroupBox::QgsCollapsibleGroupBox( const QString &title,
|
||||
|
||||
QgsCollapsibleGroupBox::~QgsCollapsibleGroupBox()
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
saveState();
|
||||
if ( mDelSettings ) // local settings obj to delete
|
||||
delete mSettings;
|
||||
@ -512,7 +508,6 @@ void QgsCollapsibleGroupBox::setSettings( QSettings* settings )
|
||||
|
||||
void QgsCollapsibleGroupBox::init()
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
// use pointer to app qsettings if no custom qsettings specified
|
||||
// custom qsettings object may be from Python plugin
|
||||
mDelSettings = false;
|
||||
@ -531,7 +526,6 @@ void QgsCollapsibleGroupBox::init()
|
||||
|
||||
void QgsCollapsibleGroupBox::showEvent( QShowEvent * event )
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
// initialise widget on first show event only
|
||||
if ( mShown )
|
||||
{
|
||||
@ -572,7 +566,6 @@ QString QgsCollapsibleGroupBox::saveKey() const
|
||||
|
||||
void QgsCollapsibleGroupBox::loadState()
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
if ( !mSettings )
|
||||
return;
|
||||
|
||||
@ -601,7 +594,6 @@ void QgsCollapsibleGroupBox::loadState()
|
||||
|
||||
void QgsCollapsibleGroupBox::saveState() const
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
if ( !mSettings )
|
||||
return;
|
||||
|
||||
|
@ -704,7 +704,6 @@ QString QgsMapToolIdentify::formatArea( double area ) const
|
||||
|
||||
void QgsMapToolIdentify::formatChanged( QgsRasterLayer *layer )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QList<IdentifyResult> results;
|
||||
if ( identifyRasterLayer( &results, layer, mLastPoint, mLastExtent, mLastMapUnitsPerPixel ) )
|
||||
{
|
||||
|
@ -417,7 +417,6 @@ void QgsOWSSourceSelect::on_mLayersTreeWidget_itemSelectionChanged()
|
||||
|
||||
void QgsOWSSourceSelect::populateCRS()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
clearCRS();
|
||||
mSelectedLayersCRSs = selectedLayersCRSs().toSet();
|
||||
mCRSLabel->setText( tr( "Coordinate Reference System (%n available)", "crs count", mSelectedLayersCRSs.count() ) + ':' );
|
||||
|
@ -375,7 +375,6 @@ void QgsRasterLayerSaveAsDialog::setResolution( double xRes, double yRes, const
|
||||
|
||||
void QgsRasterLayerSaveAsDialog::recalcSize()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsRectangle extent = outputRectangle();
|
||||
int xSize = xResolution() != 0 ? static_cast<int>( qRound( extent.width() / xResolution() ) ) : 0;
|
||||
int ySize = yResolution() != 0 ? static_cast<int>( qRound( extent.height() / yResolution() ) ) : 0;
|
||||
@ -393,7 +392,6 @@ void QgsRasterLayerSaveAsDialog::setOriginalSize()
|
||||
|
||||
void QgsRasterLayerSaveAsDialog::recalcResolution()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsRectangle extent = outputRectangle();
|
||||
double xRes = nColumns() != 0 ? extent.width() / nColumns() : 0;
|
||||
double yRes = nRows() != 0 ? extent.height() / nRows() : 0;
|
||||
@ -404,7 +402,6 @@ void QgsRasterLayerSaveAsDialog::recalcResolution()
|
||||
|
||||
void QgsRasterLayerSaveAsDialog::recalcResolutionSize()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( mResolutionRadioButton->isChecked() )
|
||||
{
|
||||
recalcSize();
|
||||
|
@ -188,7 +188,6 @@ void QgsRasterPyramidsOptionsWidget::on_cbxPyramidsFormat_currentIndexChanged( i
|
||||
|
||||
void QgsRasterPyramidsOptionsWidget::setOverviewList()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
mOverviewList.clear();
|
||||
|
||||
|
@ -550,7 +550,6 @@ void QgsRasterTransparencyWidget::populateTransparencyTable( QgsRasterRenderer *
|
||||
|
||||
void QgsRasterTransparencyWidget::setupTransparencyTable( int nBands )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
tableTransparency->clear();
|
||||
tableTransparency->setColumnCount( 0 );
|
||||
tableTransparency->setRowCount( 0 );
|
||||
|
@ -334,7 +334,6 @@ void QgsCategorizedSymbolRendererV2Model::removeAllRows()
|
||||
|
||||
void QgsCategorizedSymbolRendererV2Model::sort( int column, Qt::SortOrder order )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( column == 0 )
|
||||
{
|
||||
return;
|
||||
|
@ -307,7 +307,6 @@ void QgsCptCityColorRampV2Dialog::on_mListWidget_itemSelectionChanged()
|
||||
|
||||
void QgsCptCityColorRampV2Dialog::on_tabBar_currentChanged( int index )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( index == 0 )
|
||||
{
|
||||
setTreeModel( mSelectionsModel );
|
||||
@ -562,7 +561,6 @@ bool QgsCptCityColorRampV2Dialog::eventFilter( QObject *obj, QEvent *event )
|
||||
|
||||
bool QgsCptCityColorRampV2Dialog::updateRamp()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mListWidget->clear();
|
||||
mListRamps.clear();
|
||||
cboVariantName->clear();
|
||||
@ -643,7 +641,6 @@ void QgsCptCityColorRampV2Dialog::showAll()
|
||||
|
||||
void QgsCptCityColorRampV2Dialog::setTreeModel( QgsCptCityBrowserModel* model )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mModel = model;
|
||||
|
||||
if ( mTreeFilter )
|
||||
|
@ -325,7 +325,6 @@ void QgsGraduatedSymbolRendererV2Model::removeAllRows()
|
||||
|
||||
void QgsGraduatedSymbolRendererV2Model::sort( int column, Qt::SortOrder order )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( column == 0 )
|
||||
{
|
||||
return;
|
||||
|
@ -352,13 +352,11 @@ void QgsGrassPlugin::onLayerWasAdded( QgsMapLayer* theMapLayer )
|
||||
void QgsGrassPlugin::onCurrentLayerChanged( QgsMapLayer* layer )
|
||||
{
|
||||
Q_UNUSED( layer );
|
||||
QgsDebugMsg( "Entered" );
|
||||
resetEditActions();
|
||||
}
|
||||
|
||||
void QgsGrassPlugin::resetEditActions()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QgsGrassProvider* grassProvider = 0;
|
||||
QgsVectorLayer *vectorLayer = qobject_cast<QgsVectorLayer *>( qGisInterface->activeLayer() );
|
||||
@ -390,7 +388,6 @@ void QgsGrassPlugin::resetEditActions()
|
||||
|
||||
void QgsGrassPlugin::onEditingStarted()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsVectorLayer *vectorLayer = qobject_cast<QgsVectorLayer *>( sender() );
|
||||
if ( !vectorLayer )
|
||||
return;
|
||||
|
@ -181,7 +181,6 @@ QgsGdalProvider::QgsGdalProvider( const QString &uri, bool update )
|
||||
|
||||
QgsGdalProvider* QgsGdalProvider::clone() const
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsGdalProvider * provider = new QgsGdalProvider( dataSourceUri() );
|
||||
provider->copyBaseSettings( *this );
|
||||
return provider;
|
||||
@ -425,7 +424,6 @@ void QgsGdalProvider::readBlock( int theBandNo, int xBlock, int yBlock, void *bl
|
||||
// TODO!!!: Check data alignment!!! May it happen that nearest value which
|
||||
// is not nearest is assigned to an output cell???
|
||||
|
||||
//QgsDebugMsg( "Entered" );
|
||||
|
||||
//QgsDebugMsg( "yBlock = " + QString::number( yBlock ) );
|
||||
|
||||
@ -880,7 +878,6 @@ QList<QgsColorRampShader::ColorRampItem> QgsGdalProvider::colorTable( int theBan
|
||||
|
||||
QgsCoordinateReferenceSystem QgsGdalProvider::crs()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
return mCrs;
|
||||
}
|
||||
|
||||
@ -1985,7 +1982,6 @@ static QString createFileFilter_( QString const &longName, QString const &glob )
|
||||
|
||||
void buildSupportedRasterFileFilterAndExtensions( QString & theFileFiltersString, QStringList & theExtensions, QStringList & theWildcards )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
// then iterate through all of the supported drivers, adding the
|
||||
// corresponding file filter
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
QgsGdalProviderBase::QgsGdalProviderBase()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
// first get the GDAL driver manager
|
||||
QgsGdalProviderBase::registerGdalDrivers();
|
||||
|
@ -304,7 +304,6 @@ int GRASS_LIB_EXPORT G__gisinit( const char * version, const char * programName
|
||||
typedef int G_parser_type( int argc, char **argv );
|
||||
int GRASS_LIB_EXPORT G_parser( int argc, char **argv )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
G_parser_type* fn = ( G_parser_type* ) cast_to_fptr( QgsGrassGisLib::instance()->resolve( "G_parser" ) );
|
||||
int ret = fn( argc, argv );
|
||||
|
||||
@ -322,7 +321,6 @@ int GRASS_LIB_EXPORT G_parser( int argc, char **argv )
|
||||
typedef int G_set_error_routine_type( int ( * )( const char *, int ) );
|
||||
int GRASS_LIB_EXPORT G_set_error_routine( int ( *error_routine )( const char *, int ) )
|
||||
{
|
||||
//QgsDebugMsg( "Entered" );
|
||||
G_set_error_routine_type* fn = ( G_set_error_routine_type* ) cast_to_fptr( QgsGrassGisLib::instance()->resolve( "G_set_error_routine" ) );
|
||||
return fn( error_routine );
|
||||
}
|
||||
@ -330,7 +328,6 @@ int GRASS_LIB_EXPORT G_set_error_routine( int ( *error_routine )( const char *,
|
||||
typedef int G_warning_type( const char *, ... );
|
||||
int GRASS_LIB_EXPORT G_warning( const char * msg, ... )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
G_warning_type* fn = ( G_warning_type* ) cast_to_fptr( QgsGrassGisLib::instance()->resolve( "G_warning" ) );
|
||||
va_list ap;
|
||||
va_start( ap, msg );
|
||||
@ -353,7 +350,6 @@ void GRASS_LIB_EXPORT G_important_message( const char * msg, ... )
|
||||
//typedef int G_fatal_error_type( const char *, ... );
|
||||
int GRASS_LIB_EXPORT G_fatal_error( const char * msg, ... )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
//G_fatal_error_type* fn = ( G_fatal_error_type* ) cast_to_fptr( QgsGrassGisLib::instance()->resolve( "G_fatal_error" ) );
|
||||
va_list ap;
|
||||
va_start( ap, msg );
|
||||
|
@ -181,7 +181,6 @@ void QgsGrassItemActions::removeMapsetFromSearchPath()
|
||||
|
||||
void QgsGrassItemActions::renameGrassObject()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QStringList existingNames = QgsGrass::grassObjects( mGrassObject, mGrassObject.type() );
|
||||
// remove current name to avoid warning that exists
|
||||
@ -225,7 +224,6 @@ void QgsGrassItemActions::renameGrassObject()
|
||||
|
||||
void QgsGrassItemActions::deleteGrassObject()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
if ( !QgsGrass::deleteObjectDialog( mGrassObject ) )
|
||||
return;
|
||||
@ -419,7 +417,6 @@ QIcon QgsGrassMapsetItem::icon()
|
||||
|
||||
void QgsGrassMapsetItem::setState( State state )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
// TODO: it seems to be causing strange icon switching during import, sometimes
|
||||
if ( state == Populated )
|
||||
@ -467,7 +464,6 @@ bool QgsGrassMapsetItem::objectInImports( QgsGrassObject grassObject )
|
||||
|
||||
QVector<QgsDataItem*> QgsGrassMapsetItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QVector<QgsDataItem*> items;
|
||||
|
||||
@ -1214,7 +1210,6 @@ QWidget * QgsGrassImportItem::paramWidget()
|
||||
|
||||
void QgsGrassImportItem::cancel()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( !mImport ) // should not happen
|
||||
{
|
||||
QgsDebugMsg( "mImport is null" );
|
||||
|
@ -225,7 +225,6 @@ QImage* QgsGrassRasterProvider::draw( QgsRectangle const & viewExtent, int pixe
|
||||
void QgsGrassRasterProvider::readBlock( int bandNo, int xBlock, int yBlock, void *block )
|
||||
{
|
||||
Q_UNUSED( xBlock );
|
||||
QgsDebugMsg( "Entered" );
|
||||
clearLastError();
|
||||
// TODO: optimize, see extent()
|
||||
|
||||
@ -281,7 +280,6 @@ void QgsGrassRasterProvider::readBlock( int bandNo, int xBlock, int yBlock, void
|
||||
|
||||
void QgsGrassRasterProvider::readBlock( int bandNo, QgsRectangle const & viewExtent, int pixelWidth, int pixelHeight, void *block )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QgsDebugMsg( "pixelWidth = " + QString::number( pixelWidth ) );
|
||||
QgsDebugMsg( "pixelHeight = " + QString::number( pixelHeight ) );
|
||||
QgsDebugMsg( "viewExtent: " + viewExtent.toString() );
|
||||
@ -388,7 +386,6 @@ QgsRasterBandStats QgsGrassRasterProvider::bandStatistics( int theBandNo, int th
|
||||
QList<QgsColorRampShader::ColorRampItem> QgsGrassRasterProvider::colorTable( int bandNo )const
|
||||
{
|
||||
Q_UNUSED( bandNo );
|
||||
QgsDebugMsg( "Entered" );
|
||||
QList<QgsColorRampShader::ColorRampItem> ct;
|
||||
|
||||
// TODO: check if color can be realy discontinuous in GRASS,
|
||||
@ -431,13 +428,11 @@ QList<QgsColorRampShader::ColorRampItem> QgsGrassRasterProvider::colorTable( int
|
||||
|
||||
QgsCoordinateReferenceSystem QgsGrassRasterProvider::crs()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
return mCrs;
|
||||
}
|
||||
|
||||
QgsRectangle QgsGrassRasterProvider::extent()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
// The extend can change of course so we get always fresh, to avoid running always the module
|
||||
// we should save mExtent and mLastModified and check if the map was modified
|
||||
|
||||
@ -465,7 +460,6 @@ QgsRasterIdentifyResult QgsGrassRasterProvider::identify( const QgsPoint & thePo
|
||||
Q_UNUSED( theExtent );
|
||||
Q_UNUSED( theWidth );
|
||||
Q_UNUSED( theHeight );
|
||||
QgsDebugMsg( "Entered" );
|
||||
QMap<int, QVariant> results;
|
||||
QMap<int, QVariant> noDataResults;
|
||||
noDataResults.insert( 1, QVariant() );
|
||||
|
@ -114,7 +114,6 @@ void QgsMssqlConnectionItem::refresh()
|
||||
|
||||
QVector<QgsDataItem*> QgsMssqlConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
setState( Populating );
|
||||
|
||||
|
@ -72,7 +72,6 @@ void QgsOracleConnectionItem::refresh()
|
||||
|
||||
QVector<QgsDataItem*> QgsOracleConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
mOwnerMap.clear();
|
||||
|
||||
|
@ -37,7 +37,6 @@ QgsOWSConnectionItem::~QgsOWSConnectionItem()
|
||||
|
||||
QVector<QgsDataItem*> QgsOWSConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QVector<QgsDataItem*> children;
|
||||
QMap<QgsDataItem*, QString> serviceItems; // service/provider key
|
||||
|
||||
@ -184,7 +183,6 @@ QgsOWSRootItem::~QgsOWSRootItem()
|
||||
|
||||
QVector<QgsDataItem*> QgsOWSRootItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QVector<QgsDataItem*> connections;
|
||||
// Combine all WMS,WFS,WCS connections
|
||||
QStringList connNames;
|
||||
|
@ -46,7 +46,6 @@ QgsPGConnectionItem::~QgsPGConnectionItem()
|
||||
|
||||
QVector<QgsDataItem*> QgsPGConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QVector<QgsDataItem*>items;
|
||||
|
||||
@ -470,7 +469,6 @@ QgsPGSchemaItem::~QgsPGSchemaItem()
|
||||
|
||||
QVector<QgsDataItem*> QgsPGSchemaItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QVector<QgsDataItem*>items;
|
||||
|
||||
|
@ -107,7 +107,6 @@ static QgsLayerItem::LayerType _layerTypeFromDb( QString dbType )
|
||||
|
||||
QVector<QgsDataItem*> QgsSLConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QVector<QgsDataItem*> children;
|
||||
QgsSpatiaLiteConnection connection( mName );
|
||||
|
||||
|
@ -188,7 +188,6 @@ bool QgsWcsCapabilities::sendRequest( QString const & url )
|
||||
|
||||
void QgsWcsCapabilities::clear()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mCoverageCount = 0;
|
||||
mCoveragesSupported.clear();
|
||||
mCapabilities = QgsWcsCapabilitiesProperty();
|
||||
@ -691,7 +690,6 @@ void QgsWcsCapabilities::parseContentMetadata( QDomElement const & e, QgsWcsCove
|
||||
void QgsWcsCapabilities::parseCoverageOfferingBrief( QDomElement const & e, QgsWcsCoverageSummary &coverageSummary, QgsWcsCoverageSummary *parent )
|
||||
{
|
||||
Q_UNUSED( parent );
|
||||
QgsDebugMsg( "Entered" );
|
||||
coverageSummary.orderId = ++mCoverageCount;
|
||||
|
||||
coverageSummary.identifier = firstChildText( e, "name" );
|
||||
|
@ -34,12 +34,10 @@ QgsWCSConnectionItem::QgsWCSConnectionItem( QgsDataItem* parent, QString name, Q
|
||||
|
||||
QgsWCSConnectionItem::~QgsWCSConnectionItem()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
}
|
||||
|
||||
QVector<QgsDataItem*> QgsWCSConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QVector<QgsDataItem*> children;
|
||||
|
||||
QgsDataSourceURI uri;
|
||||
|
@ -510,7 +510,6 @@ void QgsWcsProvider::setQueryItem( QUrl &url, const QString& item, const QString
|
||||
|
||||
void QgsWcsProvider::readBlock( int bandNo, QgsRectangle const & viewExtent, int pixelWidth, int pixelHeight, void *block )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
// TODO: set block to null values, move that to function and call only if fails
|
||||
memset( block, 0, pixelWidth * pixelHeight * QgsRasterBlock::typeSize( dataType( bandNo ) ) );
|
||||
@ -631,7 +630,6 @@ void QgsWcsProvider::readBlock( int bandNo, QgsRectangle const & viewExtent, in
|
||||
void QgsWcsProvider::getCache( int bandNo, QgsRectangle const & viewExtent, int pixelWidth, int pixelHeight, QString crs )
|
||||
{
|
||||
Q_UNUSED( bandNo );
|
||||
QgsDebugMsg( "Entered" );
|
||||
// delete cached data
|
||||
clearCache();
|
||||
|
||||
@ -832,7 +830,6 @@ void QgsWcsProvider::getCache( int bandNo, QgsRectangle const & viewExtent, int
|
||||
// use standard readBlock with extent
|
||||
void QgsWcsProvider::readBlock( int theBandNo, int xBlock, int yBlock, void *block )
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
QgsDebugMsg( QString( "xBlock = %1 yBlock = %2" ).arg( xBlock ).arg( yBlock ) );
|
||||
|
||||
@ -897,7 +894,6 @@ int QgsWcsProvider::ySize() const { return mHeight; }
|
||||
|
||||
void QgsWcsProvider::clearCache()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( mCachedGdalDataset )
|
||||
{
|
||||
QgsDebugMsg( "Close mCachedGdalDataset" );
|
||||
|
@ -172,7 +172,6 @@ bool QgsWFSRequest::sendPOST( const QUrl& url, const QString& contentTypeHeader,
|
||||
|
||||
void QgsWFSRequest::abort()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mIsAborted = true;
|
||||
if ( mReply )
|
||||
{
|
||||
|
@ -1958,7 +1958,6 @@ bool QgsWmsCapabilitiesDownload::downloadCapabilities()
|
||||
|
||||
void QgsWmsCapabilitiesDownload::abort()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
mIsAborted = true;
|
||||
if ( mCapabilitiesReply )
|
||||
{
|
||||
|
@ -36,13 +36,11 @@ QgsWMSConnectionItem::QgsWMSConnectionItem( QgsDataItem* parent, QString name, Q
|
||||
|
||||
QgsWMSConnectionItem::~QgsWMSConnectionItem()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
delete mCapabilitiesDownload;
|
||||
}
|
||||
|
||||
void QgsWMSConnectionItem::deleteLater()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
if ( mCapabilitiesDownload )
|
||||
{
|
||||
mCapabilitiesDownload->abort();
|
||||
@ -52,7 +50,6 @@ void QgsWMSConnectionItem::deleteLater()
|
||||
|
||||
QVector<QgsDataItem*> QgsWMSConnectionItem::createChildren()
|
||||
{
|
||||
QgsDebugMsg( "Entered" );
|
||||
QVector<QgsDataItem*> children;
|
||||
|
||||
QgsDataSourceURI uri;
|
||||
|
@ -866,7 +866,6 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
|
||||
void QgsWmsProvider::readBlock( int bandNo, QgsRectangle const & viewExtent, int pixelWidth, int pixelHeight, void *block )
|
||||
{
|
||||
Q_UNUSED( bandNo );
|
||||
QgsDebugMsg( "Entered" );
|
||||
// TODO: optimize to avoid writing to QImage
|
||||
QImage *image = draw( viewExtent, pixelWidth, pixelHeight );
|
||||
if ( !image ) // should not happen
|
||||
|
@ -73,7 +73,6 @@ TestQgsWcsPublicServers::~TestQgsWcsPublicServers()
|
||||
void TestQgsWcsPublicServers::init()
|
||||
{
|
||||
// init QGIS's paths - true means that all path will be inited from prefix
|
||||
QgsDebugMsg( "Entered" );
|
||||
|
||||
// Unfortunately this seems to be the only way to set timeout, we try to reset it
|
||||
// at the end but it can be canceled before ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user