Skip to content
Permalink
Browse files
Merge branch 'master' of github.com:qgis/Quantum-GIS
  • Loading branch information
timlinux committed Nov 27, 2011
2 parents 545e9a4 + bae8301 commit 301d20717db7a18f7f512766f1ecb4415db8eada
Showing with 2,934 additions and 1,607 deletions.
  1. +2 −1 debian/changelog
  2. +1 −0 debian/qgis-common.install
  3. +1,800 −982 i18n/qgis_de.ts
  4. +3 −0 python/core/qgscomposition.sip
  5. +0 −2 python/gui/qgsprojectionselector.sip
  6. +13 −0 resources/function_help/length-de_DE
  7. +11 −0 resources/function_help/lower-de_DE
  8. +15 −0 resources/function_help/replace-de_DE
  9. +1 −1 resources/function_help/replace-en_US
  10. +15 −0 resources/function_help/substr-de_DE
  11. +13 −0 resources/function_help/upper-de_DE
  12. +0 −2 src/analysis/interpolation/DualEdgeTriangulation.h
  13. +0 −1 src/analysis/interpolation/Node.h
  14. +12 −13 src/analysis/interpolation/ParametricLine.cc
  15. +0 −1 src/analysis/interpolation/Point3D.h
  16. +3 −3 src/analysis/network/qgsgraphanalyzer.cpp
  17. +2 −0 src/app/CMakeLists.txt
  18. +11 −0 src/app/composer/qgscompositionwidget.cpp
  19. +2 −0 src/app/composer/qgscompositionwidget.h
  20. +275 −0 src/app/legend/qgslayerorder.cpp
  21. +66 −0 src/app/legend/qgslayerorder.h
  22. +126 −31 src/app/legend/qgslegend.cpp
  23. +24 −2 src/app/legend/qgslegend.h
  24. +10 −3 src/app/legend/qgslegendlayer.cpp
  25. +6 −0 src/app/legend/qgslegendlayer.h
  26. +0 −2 src/app/ogr/qgsnewogrconnection.cpp
  27. +17 −1 src/app/qgisapp.cpp
  28. +4 −0 src/app/qgisapp.h
  29. +0 −1 src/app/qgsdecorationnortharrow.cpp
  30. +0 −1 src/app/qgslabelinggui.cpp
  31. +0 −1 src/browser/main.cpp
  32. +19 −0 src/core/composer/qgscomposeritem.cpp
  33. +0 −1 src/core/composer/qgscomposermap.cpp
  34. +34 −10 src/core/composer/qgscomposition.cpp
  35. +8 −2 src/core/composer/qgscomposition.h
  36. +10 −0 src/core/qgsapplication.cpp
  37. +6 −5 src/core/qgsdistancearea.cpp
  38. +54 −46 src/core/qgsexpression.cpp
  39. +5 −3 src/core/qgsexpression.h
  40. +1 −1 src/core/qgsexpressionparser.yy
  41. +0 −2 src/core/qgsmaplayerregistry.cpp
  42. +10 −7 src/core/qgsmaprenderer.cpp
  43. +3 −0 src/core/qgsmimedatautils.cpp
  44. +0 −1 src/core/qgspallabeling.cpp
  45. +5 −5 src/core/qgsproviderregistry.cpp
  46. +0 −1 src/core/qgssearchtreenode.cpp
  47. +1 −1 src/core/qgsvectorlayer.cpp
  48. +3 −1 src/core/qgsvectorlayerimport.cpp
  49. +1 −1 src/core/spatialindex/include/tools/PointerPool.h
  50. +0 −1 src/core/spatialindex/include/tools/Tools.h
  51. +41 −38 src/gui/qgsexpressionbuilderwidget.cpp
  52. +8 −8 src/gui/qgsgenericprojectionselector.cpp
  53. +4 −0 src/gui/qgsmapcanvas.cpp
  54. +2 −1 src/gui/qgsmapcanvasmap.cpp
  55. +17 −10 src/gui/qgsmessagelogviewer.cpp
  56. +3 −0 src/gui/qgsmessagelogviewer.h
  57. +0 −126 src/gui/qgsprojectionselector.cpp
  58. +0 −2 src/gui/qgsprojectionselector.h
  59. +1 −1 src/helpviewer/qgshelpviewer.cpp
  60. +0 −3 src/plugins/delimited_text/qgsdelimitedtextplugin.cpp
  61. +0 −2 src/plugins/dxf2shp_converter/dxflib/src/dl_writer.h
  62. +0 −1 src/plugins/georeferencer/qgsimagewarper.cpp
  63. +4 −6 src/plugins/gps_importer/qgsgpsdevicedialog.cpp
  64. +4 −4 src/plugins/gps_importer/qgsgpsplugingui.cpp
  65. +0 −2 src/plugins/spit/qgsspit.cpp
  66. +0 −1 src/providers/gpx/qgsgpxprovider.cpp
  67. +3 −2 src/providers/ogr/qgsogrdataitems.cpp
  68. +43 −46 src/providers/ogr/qgsogrprovider.cpp
  69. +0 −1 src/providers/osm/osmhandler.cpp
  70. +1 −1 src/providers/postgres/qgspgnewconnection.cpp
  71. +42 −15 src/providers/postgres/qgspostgresprovider.cpp
  72. +7 −1 src/providers/postgres/qgspostgresprovider.h
  73. +9 −2 src/ui/qgscompositionwidgetbase.ui
  74. +3 −0 src/ui/qgsmessagelogviewer.ui
  75. +148 −197 src/ui/qgsprojectionselectorbase.ui
  76. +2 −1 tests/bench/qgsbench.cpp
@@ -1,8 +1,9 @@
qgis (1.9.90) UNRELEASED; urgency=low

* new development version 1.9.90 after branch of 1.8.0
* include function help in package

-- Jürgen E. Fischer <jef@norbit.de> Wed, 16 Nov 2011 09:43:40 +0100
-- Jürgen E. Fischer <jef@norbit.de> Sat, 26 Nov 2011 23:43:48 +0100

qgis (1.8.0) UNRELEASED; urgency=low

@@ -13,5 +13,6 @@ usr/share/qgis/doc/images
usr/share/qgis/i18n/*
usr/share/qgis/images/*
usr/share/qgis/resources/context_help/*
usr/share/qgis/resources/function_help/*
usr/share/qgis/resources/spatialite.db
usr/share/qgis/resources/qgis_help.db

Large diffs are not rendered by default.

@@ -79,6 +79,9 @@ class QgsComposition: QGraphicsScene
bool printAsRaster() const;
void setPrintAsRaster(bool enabled);

double selectionTolerance() const;
void setSelectionTolerance( double tol );

/**Returns pointer to map renderer of qgis map canvas*/
QgsMapRenderer* mapRenderer();

@@ -89,8 +89,6 @@ class QgsProjectionSelector: QWidget //, private Ui::QgsProjectionSelectorBase
*/
void setOgcWmsCrsFilter(QSet<QString> crsFilter);

void on_pbnFind_clicked();

protected:
/** Used to ensure the projection list view is actually populated */
void showEvent ( QShowEvent * theEvent );
@@ -0,0 +1,13 @@
<h3>Funktion length()</h3>
Liefert die Länge einer Zeichenkette.

<p><h4>Syntax</h4>
length(<i>zeichenkette</i>)</p>

<p><h4>Argumente</h4>
<!-- List args for functions here-->
<i> zeichenkette</i> -> ist eine Zeichenkette. Die Zeichenkette deren Länge zu bestimmen ist.</p>

<p><h4>Beispiel</h4>
<!-- Show example of function.-->
length('HALLO') -> 5</p>
@@ -0,0 +1,11 @@
<h3>Funktion lower()</h3>
Wandelt eine Zeichenkette in Kleinbuchstaben um.

<p><h4> Syntax</h4>
lower(<i>zeichenkette</i>)</p>

<p><h4> Argumente</h4>
<i> zeichenkette</i> -> ist eine Zeichenkette. Die Zeichenkette, die in Kleinbuchstaben umzuwandeln ist.</p>

<p><h4> Beispiel</h4>
lower('Hallo Welt') -> 'hallo welt'</p>
@@ -0,0 +1,15 @@
<h3>Funktion replace()</h3>
Liefert eine Zeichenkette in der die angegebene Zeichenkette ersetzt ist.

<p><h4>Syntax</h4>
replace(<i>zeichenkette,vorher,nachher</i>)</p>

<p><h4>Argumente</h4>
<!-- List args for functions here-->
<i> zeichenkette</i> -> ist eine Zeichenkette. Die ursprüngliche Zeichenkette.<br>
<i> vorher</i> -> ist eine Zeichenkette. Die zu ersetzende Zeichenkette.<br>
<i> nacher</i> -> ist eine Zeichenkette. Die Zeichenkette durch die <i>vorher</i> ersetzen soll<br></p>

<p><h4>Beispiel</h4>
<!-- Show example of function.-->
replace('QGIS SHOULD ROCK','SHOULD','DOES') -> 'QGIS DOES ROCK'</p>
@@ -8,7 +8,7 @@ Returns a string with the the supplied string replaced.
<!-- List args for functions here-->
<i> string</i> -> is string. The start string.<br>
<i> before</i> -> is string. The string to replace.<br>
<i> after</i> -> is string. The string that will repalce <i>before</i><br></p>
<i> after</i> -> is string. The string that will replace <i>before</i><br></p>

<p><h4>Example</h4>
<!-- Show example of function.-->
@@ -0,0 +1,15 @@
<h3>Funktion substr()</h3>
Liefert einen Teil einer Zeichenkette

<p><h4>Syntax</h4>
substr(<i>zeichenkette,startpos,länge</i>)</p>

<p><h4>Argumente</h4>
<!-- List args for functions here-->
<i> zeichenkette</i> -> ist eine Zeichenkette. Die vollständige Zeichenkette.<br>
<i> startpos</i> -> ist eine Zahl. Die Startposition des Teils.<br>
<i> länge</i> -> ist eine Zahl. Die Länge des Teils.<br></p>

<p><h4>Beispiel</h4>
<!-- Show example of function.-->
substr('HELLO WORLD',3,5) -> 'LLO W'</p>
@@ -0,0 +1,13 @@
<h3>Funktion upper()</h3>
Wandelt eine Zeichenkette in Großbuchstaben.

<p><h4>Syntax</h4>
upper(<i>zeichenkette</i>)</p>

<p><h4>Argumente</h4>
<!-- List args for functions here-->
<i> zeichenkette</i> -> ist eine Zeichenkette. Die Zeichenkette, die in Großbuchstaben umzuwandeln ist.</p>

<p><h4>Beispiel</h4>
<!-- Show example of function.-->
upper('hello WOrld') -> 'HELLO WORLD'</p>
@@ -23,12 +23,10 @@
#include <QList>
#include "MathUtils.h"
#include "TriangleInterpolator.h"
//#include <qapp.h>
#include <QColor>
#include <QFile>
#include <QTextStream>
#include <QMessageBox>
#include <iostream>
#include <cfloat>
#include <QBuffer>
#include <QStringList>
@@ -18,7 +18,6 @@
#define NODE_H

#include "Point3D.h"
#include <iostream>

/**Node is a class used by Line3D. It represents a node in the single directed linked list. Associated Point3D objects are deleted when the node is deleted.*/
class ANALYSIS_EXPORT Node
@@ -15,75 +15,74 @@
***************************************************************************/

#include "ParametricLine.h"
#include <iostream>

#include <qgslogger.h>

void ParametricLine::add( ParametricLine* pl )
{
Q_UNUSED( pl );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine" );
}

void ParametricLine::calcFirstDer( float t, Vector3D* v )
{
Q_UNUSED( t );
Q_UNUSED( v );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::calcSecDer( float t, Vector3D* v )
{
Q_UNUSED( t );
Q_UNUSED( v );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::calcPoint( float t, Point3D *p )
{
Q_UNUSED( t );
Q_UNUSED( p );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

ParametricLine* ParametricLine::getParent() const
{
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return 0;
}

void ParametricLine::remove( int i )
{
Q_UNUSED( i );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::setControlPoly( QVector<Point3D*>* cp )
{
Q_UNUSED( cp );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

void ParametricLine::setParent( ParametricLine* paral )
{
Q_UNUSED( paral );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
}

int ParametricLine::getDegree() const
{
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return mDegree;
}

const Point3D* ParametricLine::getControlPoint( int number ) const
{
Q_UNUSED( number );
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return 0;
}

const QVector<Point3D*>* ParametricLine::getControlPoly() const
{
std::cout << "warning, derive a class from ParametricLine" << std::endl;
QgsDebugMsg( "warning, derive a class from ParametricLine");
return 0;
}
@@ -18,7 +18,6 @@
#define POINT3D_H

#include <cmath>
#include <iostream>

/**Point3D is a class to represent a three dimensional point*/
class ANALYSIS_EXPORT Point3D
@@ -29,10 +29,10 @@
void QgsGraphAnalyzer::shortestpath( const QgsGraph* source, int startPointIdx, int criterionNum, const QVector<int>& destPointCost, QVector<double>& cost, QgsGraph* treeResult )
{

// QMap< cost, vertexIdx > not_begin
// QMultiMap< cost, vertexIdx > not_begin
// I use it and not create any struct or class.
QMap< double, int > not_begin;
QMap< double, int >::iterator it;
QMultiMap< double, int > not_begin;
QMultiMap< double, int >::iterator it;

// QVector< QPair< cost, arc id > result
QVector< QPair< double, int > > result;
@@ -124,6 +124,7 @@ SET(QGIS_APP_SRCS
legend/qgslegendsymbologygroup.cpp
legend/qgslegendsymbologyitem.cpp
legend/qgslegendvectorsymbologyitem.cpp
legend/qgslayerorder.cpp

ogr/qgsogrhelperfunctions.cpp
ogr/qgsopenvectorlayerdialog.cpp
@@ -238,6 +239,7 @@ SET (QGIS_APP_MOC_HDRS
legend/qgslegend.h
legend/qgsapplegendinterface.h
legend/qgslegendlayer.h
legend/qgslayerorder.h

ogr/qgsopenvectorlayerdialog.h
ogr/qgsnewogrconnection.h
@@ -91,6 +91,8 @@ QgsCompositionWidget::QgsCompositionWidget( QWidget* parent, QgsComposition* c )
{
mGridStyleComboBox->setCurrentIndex( 2 );
}

mSelectionToleranceSpinBox->setValue( mComposition->selectionTolerance() );
}
blockSignals( false );
}
@@ -503,6 +505,14 @@ void QgsCompositionWidget::on_mPenWidthSpinBox_valueChanged( double d )
}
}

void QgsCompositionWidget::on_mSelectionToleranceSpinBox_valueChanged( double d )
{
if ( mComposition )
{
mComposition->setSelectionTolerance( d );
}
}

void QgsCompositionWidget::blockSignals( bool block )
{
mPaperSizeComboBox->blockSignals( block );
@@ -519,4 +529,5 @@ void QgsCompositionWidget::blockSignals( bool block )
mPenWidthSpinBox->blockSignals( block );
mGridColorButton->blockSignals( block );
mGridStyleComboBox->blockSignals( block );
mSelectionToleranceSpinBox->blockSignals( block );
}
@@ -55,6 +55,8 @@ class QgsCompositionWidget: public QWidget, private Ui::QgsCompositionWidgetBase
void on_mGridColorButton_clicked();
void on_mGridStyleComboBox_currentIndexChanged( const QString& text );
void on_mPenWidthSpinBox_valueChanged( double d );
void on_mSelectionToleranceSpinBox_valueChanged( double d );

/**Sets GUI elements to width/height from composition*/
void displayCompositionWidthHeight();

0 comments on commit 301d207

Please sign in to comment.