[QGIS Commit] r15195 - in trunk/qgis: images images/themes/default
src/app src/ui
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Feb 18 08:28:33 EST 2011
Author: timlinux
Date: 2011-02-18 05:28:33 -0800 (Fri, 18 Feb 2011)
New Revision: 15195
Added:
trunk/qgis/images/themes/default/mActionHelpSponsors.png
trunk/qgis/src/app/qgssponsors.cpp
trunk/qgis/src/app/qgssponsors.h
trunk/qgis/src/ui/qgssponsorsbase.ui
Modified:
trunk/qgis/images/images.qrc
trunk/qgis/src/app/CMakeLists.txt
trunk/qgis/src/app/qgisapp.cpp
trunk/qgis/src/app/qgisapp.h
trunk/qgis/src/app/qgsabout.cpp
trunk/qgis/src/ui/qgsabout.ui
Log:
Added dedicated dialog for the sponsors. No longer parse sponsors from sponsors text file, just edit the html in the dialog directly.
Modified: trunk/qgis/images/images.qrc
===================================================================
--- trunk/qgis/images/images.qrc 2011-02-18 11:30:19 UTC (rev 15194)
+++ trunk/qgis/images/images.qrc 2011-02-18 13:28:33 UTC (rev 15195)
@@ -1,88 +1,9 @@
<RCC>
<qresource prefix="/images" >
+ <file>icons/qgis-icon-16x16.png</file>
+ <file>icons/qgis-icon-60x60.png</file>
+ <file>north_arrows/gpsarrow2.svg</file>
<file>north_arrows/gpsarrow.svg</file>
- <file>north_arrows/gpsarrow2.svg</file>
- <file>themes/default/mActionAddArrow.png</file>
- <file>themes/default/mActionLocalHistogramStretch.png</file>
- <file>themes/newgis/mActionAddGPSLayer.png</file>
- <file>themes/newgis/mActionAddImage.png</file>
- <file>themes/newgis/mActionAddIsland.png</file>
- <file>themes/newgis/mActionAddLayer.png</file>
- <file>themes/newgis/mActionAddLegend.png</file>
- <file>themes/newgis/mActionAddMap.png</file>
- <file>themes/newgis/mActionAddOgrLayer.png</file>
- <file>themes/newgis/mActionAddRasterLayer.png</file>
- <file>themes/newgis/mActionAddRing.png</file>
- <file>themes/newgis/mActionAddSpatiaLiteLayer.png</file>
- <file>themes/newgis/mActionAddVertex.png</file>
- <file>themes/newgis/mActionAddWfsLayer.png</file>
- <file>themes/newgis/mActionAddWmsLayer.png</file>
- <file>themes/newgis/mActionCaptureLine.png</file>
- <file>themes/newgis/mActionCapturePoint.png</file>
- <file>themes/newgis/mActionCapturePolygon.png</file>
- <file>themes/newgis/mActionComposerManager.png</file>
- <file>themes/newgis/mActionDeletePart.png</file>
- <file>themes/newgis/mActionDeleteRing.png</file>
- <file>themes/newgis/mActionDeleteSelected.png</file>
- <file>themes/newgis/mActionDeleteVertex.png</file>
- <file>themes/newgis/mActionDeselectAll.png</file>
- <file>themes/newgis/mActionDraw.png</file>
- <file>themes/newgis/mActionEditCopy.png</file>
- <file>themes/newgis/mActionEditCut.png</file>
- <file>themes/newgis/mActionEditPaste.png</file>
- <file>themes/newgis/mActionFileNew.png</file>
- <file>themes/newgis/mActionFileOpen.png</file>
- <file>themes/newgis/mActionFilePrint.png</file>
- <file>themes/newgis/mActionFileSave.png</file>
- <file>themes/newgis/mActionFileSaveAs.png</file>
- <file>themes/newgis/mActionGroupItems.png</file>
- <file>themes/newgis/mActionHelpContents.png</file>
- <file>themes/newgis/mActionHideAllLayers.png</file>
- <file>themes/newgis/mActionIdentify.png</file>
- <file>themes/newgis/mActionInOverview.png</file>
- <file>themes/newgis/mActionLabel.png</file>
- <file>themes/newgis/mActionMapTips.png</file>
- <file>themes/newgis/mActionMeasure.png</file>
- <file>themes/newgis/mActionMeasureArea.png</file>
- <file>themes/newgis/mActionMergeFeatures.png</file>
- <file>themes/newgis/mActionMergeFeatureAttributes.png</file>
- <file>themes/newgis/mActionMoveFeature.png</file>
- <file>themes/newgis/mActionMoveItemContent.png</file>
- <file>themes/newgis/mActionMoveVertex.png</file>
- <file>themes/newgis/mActionNewBookmark.png</file>
- <file>themes/newgis/mActionNewVectorLayer.png</file>
- <file>themes/newgis/mActionNodeTool.png</file>
- <file>themes/newgis/mActionOpenTable.png</file>
- <file>themes/newgis/mActionPan.png</file>
- <file>themes/newgis/mActionRedo.png</file>
- <file>themes/newgis/mActionRemoveLayer.png</file>
- <file>themes/newgis/mActionReshape.png</file>
- <file>themes/newgis/mActionSaveAsPDF.png</file>
- <file>themes/newgis/mActionSaveAsSVG.png</file>
- <file>themes/newgis/mActionSaveMapAsImage.png</file>
- <file>themes/newgis/mActionScaleBar.png</file>
- <file>themes/newgis/mActionSelect.png</file>
- <file>themes/newgis/mActionSelectPan.png</file>
- <file>themes/newgis/mActionShowAllLayers.png</file>
- <file>themes/newgis/mActionShowBookmarks.png</file>
- <file>themes/newgis/mActionSimplify.png</file>
- <file>themes/newgis/mActionSplitFeatures.png</file>
- <file>themes/newgis/mActionToggleEditing.png</file>
- <file>themes/newgis/mActionUndo.png</file>
- <file>themes/newgis/mActionUngroupItems.png</file>
- <file>themes/newgis/mActionUnselectAttributes.png</file>
- <file>themes/newgis/mActionZoomFullExtent.png</file>
- <file>themes/newgis/mActionZoomIn.png</file>
- <file>themes/newgis/mActionZoomLast.png</file>
- <file>themes/newgis/mActionZoomNext.png</file>
- <file>themes/newgis/mActionZoomOut.png</file>
- <file>themes/newgis/mActionZoomToLayer.png</file>
- <file>themes/newgis/mActionZoomToSelected.png</file>
- <file>themes/newgis/mIconEditable.png</file>
- <file>themes/newgis/mIconLineLayer.png</file>
- <file>themes/newgis/mIconPointLayer.png</file>
- <file>themes/newgis/mIconPolygonLayer.png</file>
- <file>themes/newgis/mIconTableLayer.png</file>
<file>themes/default/cap_flat.png</file>
<file>themes/default/cap_round.png</file>
<file>themes/default/cap_square.png</file>
@@ -90,14 +11,14 @@
<file>themes/default/extents.png</file>
<file>themes/default/favourites.png</file>
<file>themes/default/geographic.png</file>
- <file>themes/default/transformed.png</file>
- <file>themes/default/user.png</file>
+ <file>themes/default/gpsicons/barchart.svg</file>
+ <file>themes/default/gpsicons/polarchart.svg</file>
<file>themes/default/join_bevel.png</file>
<file>themes/default/join_miter.png</file>
<file>themes/default/join_round.png</file>
<file>themes/default/join_style.svg</file>
- <file>themes/default/mAction.png</file>
<file>themes/default/mActionAddAllToOverview.png</file>
+ <file>themes/default/mActionAddArrow.png</file>
<file>themes/default/mActionAddBasicShape.png</file>
<file>themes/default/mActionAddImage.png</file>
<file>themes/default/mActionAddIsland.png</file>
@@ -111,13 +32,13 @@
<file>themes/default/mActionAddSpatiaLiteLayer.png</file>
<file>themes/default/mActionAddVertex.png</file>
<file>themes/default/mActionAddWmsLayer.png</file>
- <file>themes/default/mActionAnnotation.png</file>
<file>themes/default/mActionAlignBottom.png</file>
<file>themes/default/mActionAlignHCenter.png</file>
<file>themes/default/mActionAlignLeft.png</file>
<file>themes/default/mActionAlignRight.png</file>
<file>themes/default/mActionAlignTop.png</file>
<file>themes/default/mActionAlignVCenter.png</file>
+ <file>themes/default/mActionAnnotation.png</file>
<file>themes/default/mActionArrowDown.png</file>
<file>themes/default/mActionArrowUp.png</file>
<file>themes/default/mActionCalculateField.png</file>
@@ -147,8 +68,8 @@
<file>themes/default/mActionFileNew.png</file>
<file>themes/default/mActionFileOpen.png</file>
<file>themes/default/mActionFilePrint.png</file>
+ <file>themes/default/mActionFileSaveAs.png</file>
<file>themes/default/mActionFileSave.png</file>
- <file>themes/default/mActionFileSaveAs.png</file>
<file>themes/default/mActionFileSmall.png</file>
<file>themes/default/mActionFolder.png</file>
<file>themes/default/mActionFormAnnotation.png</file>
@@ -156,24 +77,26 @@
<file>themes/default/mActionGroupItems.png</file>
<file>themes/default/mActionHelpAbout.png</file>
<file>themes/default/mActionHelpContents.png</file>
+ <file>themes/default/mActionHelpSponsors.png</file>
<file>themes/default/mActionHideAllLayers.png</file>
<file>themes/default/mActionIdentify.png</file>
<file>themes/default/mActionInOverview.png</file>
<file>themes/default/mActionInvertSelection.png</file>
+ <file>themes/default/mActionLabeling.png</file>
<file>themes/default/mActionLabel.png</file>
- <file>themes/default/mActionLabeling.png</file>
+ <file>themes/default/mActionLocalHistogramStretch.png</file>
<file>themes/default/mActionLowerItems.png</file>
<file>themes/default/mActionMapTips.png</file>
- <file>themes/default/mActionMeasure.png</file>
<file>themes/default/mActionMeasureAngle.png</file>
<file>themes/default/mActionMeasureArea.png</file>
+ <file>themes/default/mActionMeasure.png</file>
+ <file>themes/default/mActionMergeFeatureAttributes.png</file>
<file>themes/default/mActionMergeFeatures.png</file>
- <file>themes/default/mActionMergeFeatureAttributes.png</file>
<file>themes/default/mActionMoveFeature.png</file>
- <file>themes/default/mActionMoveLabel.png</file>
<file>themes/default/mActionMoveItemContent.png</file>
<file>themes/default/mActionMoveItemsToBottom.png</file>
<file>themes/default/mActionMoveItemsToTop.png</file>
+ <file>themes/default/mActionMoveLabel.png</file>
<file>themes/default/mActionMoveVertex.png</file>
<file>themes/default/mActionNewAttribute.png</file>
<file>themes/default/mActionNewBookmark.png</file>
@@ -184,29 +107,31 @@
<file>themes/default/mActionOpenTable.png</file>
<file>themes/default/mActionOptions.png</file>
<file>themes/default/mActionPan.png</file>
+ <file>themes/default/mAction.png</file>
<file>themes/default/mActionProjectProperties.png</file>
<file>themes/default/mActionPropertyItem.png</file>
<file>themes/default/mActionQgisHomePage.png</file>
<file>themes/default/mActionRaiseItems.png</file>
<file>themes/default/mActionRedo.png</file>
- <file>themes/default/mActionRemove.png</file>
<file>themes/default/mActionRemoveAllFromOverview.png</file>
<file>themes/default/mActionRemoveLayer.png</file>
+ <file>themes/default/mActionRemove.png</file>
<file>themes/default/mActionRemoveSelectedFeature.png</file>
<file>themes/default/mActionReshape.png</file>
<file>themes/default/mActionRotateLabel.png</file>
<file>themes/default/mActionRotatePointSymbols.png</file>
<file>themes/default/mActionSaveAsPDF.png</file>
<file>themes/default/mActionSaveAsSVG.png</file>
+ <file>themes/default/mActionSaveEdits.png</file>
<file>themes/default/mActionSaveMapAsImage.png</file>
<file>themes/default/mActionScaleBar.png</file>
+ <file>themes/default/mActionSelectedToTop.png</file>
+ <file>themes/default/mActionSelectFreehand.png</file>
+ <file>themes/default/mActionSelectPan.png</file>
<file>themes/default/mActionSelect.png</file>
- <file>themes/default/mActionSelectRectangle.png</file>
- <file>themes/default/mActionSelectFreehand.png</file>
<file>themes/default/mActionSelectPolygon.png</file>
<file>themes/default/mActionSelectRadius.png</file>
- <file>themes/default/mActionSelectedToTop.png</file>
- <file>themes/default/mActionSelectPan.png</file>
+ <file>themes/default/mActionSelectRectangle.png</file>
<file>themes/default/mActionShowAllLayers.png</file>
<file>themes/default/mActionShowBookmarks.png</file>
<file>themes/default/mActionShowPluginManager.png</file>
@@ -236,7 +161,6 @@
<file>themes/default/mIconNext.png</file>
<file>themes/default/mIconNoPyramid.png</file>
<file>themes/default/mIconPointLayer.png</file>
- <file>themes/default/mIconTableLayer.png</file>
<file>themes/default/mIconPolygonLayer.png</file>
<file>themes/default/mIconPrevious.png</file>
<file>themes/default/mIconProjectionDisabled.png</file>
@@ -245,23 +169,11 @@
<file>themes/default/mIconProperties.png</file>
<file>themes/default/mIconPyramid.png</file>
<file>themes/default/mIconSymbology.png</file>
+ <file>themes/default/mIconTableLayer.png</file>
<file>themes/default/mIconUnknownLayerType.png</file>
<file>themes/default/mIconWaitingForLayerType.png</file>
<file>themes/default/mMapserverExport.png</file>
<file>themes/default/plugin.png</file>
- <file>themes/default/rendererCategorizedSymbol.png</file>
- <file>themes/default/rendererGraduatedSymbol.png</file>
- <file>themes/default/rendererSingleSymbol.png</file>
- <file>themes/default/symbologyAdd.png</file>
- <file>themes/default/symbologyDown.png</file>
- <file>themes/default/symbologyEdit.png</file>
- <file>themes/default/symbologyLock.png</file>
- <file>themes/default/symbologyRemove.png</file>
- <file>themes/default/symbologyUp.png</file>
- <file>themes/default/tracking.png</file>
- <file>themes/default/qgis.xpm</file>
- <file>themes/default/gpsicons/barchart.svg</file>
- <file>themes/default/gpsicons/polarchart.svg</file>
<file>themes/default/propertyicons/action.png</file>
<file>themes/default/propertyicons/attributes.png</file>
<file>themes/default/propertyicons/colormap.png</file>
@@ -281,12 +193,23 @@
<file>themes/default/propertyicons/rendering.png</file>
<file>themes/default/propertyicons/symbology.png</file>
<file>themes/default/propertyicons/transparency.png</file>
+ <file>themes/default/qgis.xpm</file>
+ <file>themes/default/rendererCategorizedSymbol.png</file>
+ <file>themes/default/rendererGraduatedSymbol.png</file>
+ <file>themes/default/rendererSingleSymbol.png</file>
<file>themes/default/styleicons/color.png</file>
+ <file>themes/default/styleicons/style-line.png</file>
<file>themes/default/styleicons/style-point.png</file>
- <file>themes/default/styleicons/style-line.png</file>
<file>themes/default/styleicons/style-polygon.png</file>
- <file>icons/qgis-icon-16x16.png</file>
- <file>icons/qgis-icon-60x60.png</file>
+ <file>themes/default/symbologyAdd.png</file>
+ <file>themes/default/symbologyDown.png</file>
+ <file>themes/default/symbologyEdit.png</file>
+ <file>themes/default/symbologyLock.png</file>
+ <file>themes/default/symbologyRemove.png</file>
+ <file>themes/default/symbologyUp.png</file>
+ <file>themes/default/tracking.png</file>
+ <file>themes/default/transformed.png</file>
+ <file>themes/default/user.png</file>
<file>themes/gis/mActionAddArrow.png</file>
<file>themes/gis/mActionAddBasicShape.png</file>
<file>themes/gis/mActionAddGPSLayer.png</file>
@@ -328,8 +251,8 @@
<file>themes/gis/mActionFileNew.png</file>
<file>themes/gis/mActionFileOpen.png</file>
<file>themes/gis/mActionFilePrint.png</file>
+ <file>themes/gis/mActionFileSaveAs.png</file>
<file>themes/gis/mActionFileSave.png</file>
- <file>themes/gis/mActionFileSaveAs.png</file>
<file>themes/gis/mActionFormAnnotation.png</file>
<file>themes/gis/mActionGroupItems.png</file>
<file>themes/gis/mActionHelpContents.png</file>
@@ -340,11 +263,11 @@
<file>themes/gis/mActionLabel.png</file>
<file>themes/gis/mActionLowerItems.png</file>
<file>themes/gis/mActionMapTips.png</file>
- <file>themes/gis/mActionMeasure.png</file>
<file>themes/gis/mActionMeasureAngle.png</file>
<file>themes/gis/mActionMeasureArea.png</file>
+ <file>themes/gis/mActionMeasure.png</file>
+ <file>themes/gis/mActionMergeFeatureAttributes.png</file>
<file>themes/gis/mActionMergeFeatures.png</file>
- <file>themes/gis/mActionMergeFeatureAttributes.png</file>
<file>themes/gis/mActionMoveFeature.png</file>
<file>themes/gis/mActionMoveItemContent.png</file>
<file>themes/gis/mActionMoveItemsToBottom.png</file>
@@ -365,9 +288,9 @@
<file>themes/gis/mActionSaveAsSVG.png</file>
<file>themes/gis/mActionSaveMapAsImage.png</file>
<file>themes/gis/mActionScaleBar.png</file>
- <file>themes/gis/mActionSelect.png</file>
<file>themes/gis/mActionSelectedToTop.png</file>
<file>themes/gis/mActionSelectPan.png</file>
+ <file>themes/gis/mActionSelect.png</file>
<file>themes/gis/mActionShowAllLayers.png</file>
<file>themes/gis/mActionShowBookmarks.png</file>
<file>themes/gis/mActionSimplify.png</file>
@@ -384,20 +307,98 @@
<file>themes/gis/mActionZoomOut.png</file>
<file>themes/gis/mActionZoomToLayer.png</file>
<file>themes/gis/mActionZoomToSelected.png</file>
+ <file>themes/gis/plugins/coordinate_capture/coordinate_capture.png</file>
<file>themes/gis/plugins/copyright_label.png</file>
<file>themes/gis/plugins/delimited_text.png</file>
<file>themes/gis/plugins/dxf2shp_converter.png</file>
- <file>themes/gis/plugins/mGeorefRun.png</file>
<file>themes/gis/plugins/gps_importer.png</file>
<file>themes/gis/plugins/interpolation.png</file>
<file>themes/gis/plugins/mapserver_export.png</file>
+ <file>themes/gis/plugins/mGeorefRun.png</file>
<file>themes/gis/plugins/north_arrow.png</file>
<file>themes/gis/plugins/ogr_converter.png</file>
<file>themes/gis/plugins/quick_print.png</file>
<file>themes/gis/plugins/scale_bar.png</file>
<file>themes/gis/plugins/spit.png</file>
<file>themes/gis/plugins/wfs.png</file>
- <file>themes/gis/plugins/coordinate_capture/coordinate_capture.png</file>
- <file>themes/default/mActionSaveEdits.png</file>
+ <file>themes/newgis/mActionAddGPSLayer.png</file>
+ <file>themes/newgis/mActionAddImage.png</file>
+ <file>themes/newgis/mActionAddIsland.png</file>
+ <file>themes/newgis/mActionAddLayer.png</file>
+ <file>themes/newgis/mActionAddLegend.png</file>
+ <file>themes/newgis/mActionAddMap.png</file>
+ <file>themes/newgis/mActionAddOgrLayer.png</file>
+ <file>themes/newgis/mActionAddRasterLayer.png</file>
+ <file>themes/newgis/mActionAddRing.png</file>
+ <file>themes/newgis/mActionAddSpatiaLiteLayer.png</file>
+ <file>themes/newgis/mActionAddVertex.png</file>
+ <file>themes/newgis/mActionAddWfsLayer.png</file>
+ <file>themes/newgis/mActionAddWmsLayer.png</file>
+ <file>themes/newgis/mActionCaptureLine.png</file>
+ <file>themes/newgis/mActionCapturePoint.png</file>
+ <file>themes/newgis/mActionCapturePolygon.png</file>
+ <file>themes/newgis/mActionComposerManager.png</file>
+ <file>themes/newgis/mActionDeletePart.png</file>
+ <file>themes/newgis/mActionDeleteRing.png</file>
+ <file>themes/newgis/mActionDeleteSelected.png</file>
+ <file>themes/newgis/mActionDeleteVertex.png</file>
+ <file>themes/newgis/mActionDeselectAll.png</file>
+ <file>themes/newgis/mActionDraw.png</file>
+ <file>themes/newgis/mActionEditCopy.png</file>
+ <file>themes/newgis/mActionEditCut.png</file>
+ <file>themes/newgis/mActionEditPaste.png</file>
+ <file>themes/newgis/mActionFileNew.png</file>
+ <file>themes/newgis/mActionFileOpen.png</file>
+ <file>themes/newgis/mActionFilePrint.png</file>
+ <file>themes/newgis/mActionFileSaveAs.png</file>
+ <file>themes/newgis/mActionFileSave.png</file>
+ <file>themes/newgis/mActionGroupItems.png</file>
+ <file>themes/newgis/mActionHelpContents.png</file>
+ <file>themes/newgis/mActionHideAllLayers.png</file>
+ <file>themes/newgis/mActionIdentify.png</file>
+ <file>themes/newgis/mActionInOverview.png</file>
+ <file>themes/newgis/mActionLabel.png</file>
+ <file>themes/newgis/mActionMapTips.png</file>
+ <file>themes/newgis/mActionMeasureArea.png</file>
+ <file>themes/newgis/mActionMeasure.png</file>
+ <file>themes/newgis/mActionMergeFeatureAttributes.png</file>
+ <file>themes/newgis/mActionMergeFeatures.png</file>
+ <file>themes/newgis/mActionMoveFeature.png</file>
+ <file>themes/newgis/mActionMoveItemContent.png</file>
+ <file>themes/newgis/mActionMoveVertex.png</file>
+ <file>themes/newgis/mActionNewBookmark.png</file>
+ <file>themes/newgis/mActionNewVectorLayer.png</file>
+ <file>themes/newgis/mActionNodeTool.png</file>
+ <file>themes/newgis/mActionOpenTable.png</file>
+ <file>themes/newgis/mActionPan.png</file>
+ <file>themes/newgis/mActionRedo.png</file>
+ <file>themes/newgis/mActionRemoveLayer.png</file>
+ <file>themes/newgis/mActionReshape.png</file>
+ <file>themes/newgis/mActionSaveAsPDF.png</file>
+ <file>themes/newgis/mActionSaveAsSVG.png</file>
+ <file>themes/newgis/mActionSaveMapAsImage.png</file>
+ <file>themes/newgis/mActionScaleBar.png</file>
+ <file>themes/newgis/mActionSelectPan.png</file>
+ <file>themes/newgis/mActionSelect.png</file>
+ <file>themes/newgis/mActionShowAllLayers.png</file>
+ <file>themes/newgis/mActionShowBookmarks.png</file>
+ <file>themes/newgis/mActionSimplify.png</file>
+ <file>themes/newgis/mActionSplitFeatures.png</file>
+ <file>themes/newgis/mActionToggleEditing.png</file>
+ <file>themes/newgis/mActionUndo.png</file>
+ <file>themes/newgis/mActionUngroupItems.png</file>
+ <file>themes/newgis/mActionUnselectAttributes.png</file>
+ <file>themes/newgis/mActionZoomFullExtent.png</file>
+ <file>themes/newgis/mActionZoomIn.png</file>
+ <file>themes/newgis/mActionZoomLast.png</file>
+ <file>themes/newgis/mActionZoomNext.png</file>
+ <file>themes/newgis/mActionZoomOut.png</file>
+ <file>themes/newgis/mActionZoomToLayer.png</file>
+ <file>themes/newgis/mActionZoomToSelected.png</file>
+ <file>themes/newgis/mIconEditable.png</file>
+ <file>themes/newgis/mIconLineLayer.png</file>
+ <file>themes/newgis/mIconPointLayer.png</file>
+ <file>themes/newgis/mIconPolygonLayer.png</file>
+ <file>themes/newgis/mIconTableLayer.png</file>
</qresource>
</RCC>
Added: trunk/qgis/images/themes/default/mActionHelpSponsors.png
===================================================================
--- trunk/qgis/images/themes/default/mActionHelpSponsors.png (rev 0)
+++ trunk/qgis/images/themes/default/mActionHelpSponsors.png 2011-02-18 13:28:33 UTC (rev 15195)
@@ -0,0 +1,29 @@
+PNG
+
+
+IHDR 0 / ¥IÉ sRGB ®Îé bKGD ÿ ÿ ÿ ½§ pHYs tIMEÛ
+<ÅÌ tEXtComment Created with GIMPW °IDAThÞ½y]çyÞßrÎ=w¹w83.3s%SIIRW@!dl at F`ÀÎE(eAѦµa§HÚJVJäÂ"W^d;âER¬Å¸¢¸h3Î~÷{Îù¶þq.YÑb7VrY0û<ß÷|ßû¼Ï{ïÁ+p¸/învØB\6Ìg
Ï!ξï-~Ðã!O ñÞßá¬ÁÛ^&¤mM!¼Ô]òt©BÇDQÒúâqàKRÊõ1!ð{>÷{Q>ÿ#B{l
+ÎOá'ÞE ¤ÄMP V×Èêû¨OS«$Fkýy)å
+!ÿ¬B¿éá3ÙòÅñ|ñÇøõAxۣܵß!!hP² <XË@Ö0}èí736ÖXãøa¥Ôßs!R<búíz'öä`"(ãÀGàC@J¢B)QÐòB ðçÆK6g3µû õÑÑÇ¢(ú¸2{Oxï÷Ä{oüð{ú{l@Àà
+ÐB(¾!+ï½/À÷¼#¸@ðV4FùèÌLï|9I+¥.ü\¼÷·xê¾ü7»ÝâBÎ,àÀk
+)òx at J¤Áyó8çðμïEpà<Þ:z¢¸í_³ïæCFGGÔZù'ðÞïðÎ=Óyî¯ø9\æÉ]À
+´H!
+°B $R!¤ ApçÎY¼óÅw8ë¾ BÁZA«ÝÇ~÷ßqø\£Ñ¸Ok}åÝpÊwÕ½v~ðØ¿<G>p¤Æ{q`¼¿þL !a¨! xóþ'À»á½ÇAPªT¢ßlqá¥mnà_x/½x Ùl>úí~§?:ï?ÛyîßçWæÈÓbå
+_ÀCi}¼xû.B#´Á8§ êàÃÔ*NØ\ºBkeT1²mÉ :MßyWutßææægÇÆÆ>õ3ð!<пtò·ÝÒ9ÌP6&øBóB ´º¾@J
"·åxëðBT ¢á¡-v# íÅEÚkëÈ("JÊèRgJGØÜbÒÈd¬}ëqÎ5Æ~»×ë=]Vþ©l·õé쵯â+oCÀ G Wb Òi3t.^ ï¶ÐIB@à¼Àä9Y᧶u'ÉÉB:Î1:µ
+ÀRóXçðÆScÒno2s®Íqú[O2Þ¨øÇ ø>Ñzþ+GICpVkTj(kZÞÀ
+:èRÑ]{I&¦Ià=&ÐYºÂúÜ%6.ϱzyÛ©NLà£T®v{Xë Æ"i¿ÆÍ RQyóG¼vòΣkkkøÒ»âtuá·üSXëà@¥%RUmTͳ'qiTݳÚì>6×诶Û[ßw/yfX¾pKÈÒ˧Ïà¬Ç[G1>Ï Y&'8GðÏûþ7¿|ù·ÞõrÞ?þV|-ê>P¬´T!à*h?C°9JGT&§H&¶®¯uÚØ<ÇågNàõé]8ãBÐkw¹ôãW©5Hª5¦f§QJQNbì`7iQàB(jÉ+§yýÔÉ[WVV|Gƺ¸µx[¬¼g¨q@r}õ¥ÒôæqiEÈHSÞ1KÖnaÁ9W+pάÃd9q¹,ÅÄÕò~JuËJR¥L¿Ù¥>ZE0½Þ°.x|QX)O`éêÕ¼ãÈοðKÂq]6AxÔÛe3\}ðV¯ â)@WjÀRü°ÒëÒ9÷x ÇÔÞÌ<ER«ZM´Èºµ`
+ÎB:¡0Þ{<!bî4ßû¥°Î¹ûýòH)n¼ç¯ÙÈ6WJ# xе
:&õxïqÞÖÁ:<Ì:Eit¸\¦½Ùfåòò~Ág)Îä뮯¾MDB2åÚ\<¾6??ÿL~oð²ð8P&!Dáó@y i÷XïѵQLâÅk -Þ×%B ã¹S§©4Æ(+t6Û¬-.a³Þê:ZwàÃu()IŬ¯¯ß{¬Éo/ ÂãH¥©mÛA\o "ïuY»t4K)à=>HâÆ8#£
+¤6OÆeR7U$Ì<ÍÈÖ)ÆwîàêÜo]ïQÖÒZÛ`´06³m÷£ãµUN>ûÞXDZ!". Úk¬Ý~Ó^ÛW\9 ÛßC©VCxÎb«FÆ·ðݯ¢[=*J²óðQ¶¾ÿNBÚEKµVa|Çvyòë´O£>ÊêÜeÆf¦¹ù_ýõS¸g¿Ç÷¾ý=IL9úÍ&ûÿÛDXÄ39³½oåÑÏ~ç$JJ"!Y}7J¨»ºS¨¡í^Þä\<ùò_þÿô/Ð^]Áw[ì?v/g¯lÐÙ»îÁz<ýÕoðÉOþ{μv¼µÉ¡#·sz~Ó¯à_ÿîþå_¤:6FÞm²Ñnsi½K«a¬¥:VgúðmØÁÿñgñÑßøw{ã¦×ç¾_ý7_mÑ3 #$867¦WÇC@B at HXøñ}å¹!M3VðÖ)ÅÙ¥MâÉíØ4Åö;<ñõgYmvù«'&xÇÔQ.Ì]a#üðkßâ©Çàâé×qý.n¥nJ/78ïÙw÷ØAJ{³ÉÿyæG4ùåoÌLO±î`u`1(Ö(Ý^¯~ã5ê]L èa
@j2ɱ:JkµìÚ³Xyúöslv3T¹39ÎÂZ³ÃÌä»·nA&U¼éQ©Uifn/euy÷í°ë<¹uØa365³,Íèf£&JÁ!
+k½©q"
ò,o Ì ®õæJD1ÑÐ4ê¦n¹Zc
sgyêÛ?`r´à-¸¢+¬WGx©5¹µôZ]j2P-J!ÁrJ|Q3$°µ0U¯!¢a^HºÖa½ |~¼®´§ ¤]´`úö»©Óo5ùÂü/*¥ÉZ`>iEµR!oµJ#£nfè÷Ø4¥,!Öâxí p>Ðëô¯×(RK#
+H
Pî +úíaã#QJµn´å±EEc"A
+d³õcFGxýÕüOÅÕ&UØQ¯Ð[]-ú_ µj
Õ¥ejQB> ä^yùíÕ5l¢ç µ,3ä¹ÁX_@)EµRFÉ 5Ïî$ø"YZÝD) C\)r,Þ !U;w^Gà½dëwØ^vïàþàß"Âåù¯Ê¥³or¤Ù¢\á~çã\zkÛnÝ¿þú÷í8tçA¦gg¨o"Ï[÷ñ÷ãø^ç¿ö]ß¼È ×'IJüÅçÅ«:|ÎXýÊ·ÑJQ)EhÁÑóµÚùv@Ç¥W.Î
EîsÏSÜ CÖiÑëtèuût»}7{´3ÇcÿíÏiw:"ÍÝÛ1åSoñø×~Àî];ØV¯±ÿÐ~&vÇ
+o,[Çë?v{ozMë)7FùÊþOú$IØ·gÓïóìßý=O|ãûl©«UcxÚ¢D£ÑxõâÒóYPh)qÆâ¬ãÔwæµ¼två6!xJQD,:í2]¯¢Cà?þ]6Û=dR&Ë-QðlKªÜ4±
ÿþðf35l èGæ¯HqÓÌ$.¤5üÙgÿU=ãég9AÎh9avë¶6jDZb2G×þJå»ó?úf7Y>U³ÞÅÁܾe#fèö3Ü0ÇRÑ^§¦ ª%éÉdÀ@cK`5%ÙZÑLTcúI̼ìÚ>ît ADÚ?CI
+âj÷«Tz}C^I&õZ¶Æ(£Õ2ÏÍ3ÛºøÀ¾ûì´¾ýÉlîçL5F-'Xcß#f01ÂÕsç
+ó&r(3»c¶h ##UH¢^j4{÷ïbjjYT\&Jm¡$åV8 Mû\hÍîzòûúèÈãW*SÅ%¼÷ È$"DºÈ~´¦ßncaÛ®],]||@ZG`³ÅÄD{pI9!ÛëQ5³{¦Ý=M§Ó'**BhMIéëéTElÇGçÈÑqvïÞýø;vd#µÚSbúÖÙ _XaïJ+ $nÍ
:ËkÄI©fo>H\J
+gé=åelRIJÄ¥i.<" bϾ]̼o'½nÐqQ7´FiM¤$±VÄ&4Al g2½Üc÷Þ}'xà§Þ5½éoúâH
Àt×6J!´"HÕÑQ¬1(Ù{ËMl,,²¹´BÖïsñÌ "Í-yn at I|HÆ&ÆHSCP
+d^jzÛª]ü¿
+ã«ÝÝò8Þÿþ/üÔlôìÉ/¶þîÑ£VD ´×£yu
é4WÖÈ:]5hc7öf~/ÅZs=É[BKÐZ±cfÉÙBEÄå2JâÐ
B;Gj&íñä¹&î:þÒÃ?|×O
+¶¶íÚýûËÓG¾¿ù<àÁ3Ô¥&*ŸÜ`Ó¬<ÇxKÞóåJÊH<Ö;òÜ .-¢£©Í[÷îFJXÇô8|;2Ö×sV\*7//4Ñ»8zôèïÿLán£^zïÑãëV&HÓ[ò,'ëgxë(Wk¤.>ËÆàýµÙa¥ßÐiwi·;ô:ýÂ+ź0rJc§ßÅ16Ëãj})H c=ɸºÑâM3Â/Ü{ìsúÐþÓééééOíúàÙp%Ò,'Ërò<Çæ8Èû]B!xW¸I1x<!RÅ$I kÐBG,/\A)ËRʵ
+QRÂȽ#³Íh·[üíUÁ±cÇùØÇ>ö©ÿïx}vzçGgxèÜZZf3èu»d&¶Ó#X3R#¥0LüÌ5ÉI%iLM(k¤
+KqáÄIJilÔ9Öf)ëM·Üy×Ýç?þÑò¦Ýnßræõ×zóoÙ=²~8Îãaþ@±ü?ðZë"JDI+WÉúR´,ý±SLíÝËÆú:,ÃK«M^ØÐÜqôîKüà¼ç{Îü\3²v»½÷Üç¿|â«y¤|áeÅ°))8?ïëB^
+Á˨TÈFE$µQJI § q.'¬¯®1ôI³§¯¶9çƸ÷Ø=/?~üÃG¹ðL)»ÝnéòÂÂ#¯¼ðÜCËßùk&LH+$b2¾è'âH£t".ÖH¡A+¤V©ðR`ÅäŪ_mõxv%0µkÇ{ìèÑ£?xðà{3¥|ûkqqñ7_?wî3¯ÿðñþé®JJ+"¥Ð&Ö ¡¢áCãÊaT¹ÍkeïK²Ú$·:´~øðáï¿ÿþ÷~Nüj\½zõ÷οðÉ3'_:§þro2ÄZS#TH)@(Âpþ=ð®,§·lBe|7íßgn¾ùæÏïß¿ÿ8ðÏ;©û«Ùloll|baqñ#óo½uÇââ"+ËWI×Qyå>L¤Bë2q¥J£Ñ`ëÔÓÓÓ'fggß¹sçöìÙó/÷Ywzl·Û÷µZ»ZÖ-nw×`n1ÖÄòHGår2_«ÕÎÔëõëõú3{öìyO>òÊ×hÝ¥:" IEND®B`
\ No newline at end of file
Modified: trunk/qgis/src/app/CMakeLists.txt
===================================================================
--- trunk/qgis/src/app/CMakeLists.txt 2011-02-18 11:30:19 UTC (rev 15194)
+++ trunk/qgis/src/app/CMakeLists.txt 2011-02-18 13:28:33 UTC (rev 15195)
@@ -3,6 +3,7 @@
qgisapp.cpp
qgisappinterface.cpp
qgsabout.cpp
+ qgssponsors.cpp
qgsaddattrdialog.cpp
qgsaddjoindialog.cpp
qgsannotationwidget.cpp
@@ -143,6 +144,7 @@
qgisapp.h
qgisappinterface.h
qgsabout.h
+ qgssponsors.h
qgsaddattrdialog.h
qgsdisplayangle.h
qgsaddjoindialog.h
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2011-02-18 11:30:19 UTC (rev 15194)
+++ trunk/qgis/src/app/qgisapp.cpp 2011-02-18 13:28:33 UTC (rev 15195)
@@ -93,12 +93,15 @@
//
// QGIS Specific Includes
//
+
#include "qgisapp.h"
#include "qgisappinterface.h"
#include "qgis.h"
#include "qgisplugin.h"
#include "qgsabout.h"
#include "qgsapplication.h"
+#include "qgsattributeaction.h"
+#include "qgsattributetabledialog.h"
#include "qgsbookmarkitem.h"
#include "qgsbookmarks.h"
#include "qgsclipboard.h"
@@ -106,16 +109,17 @@
#include "qgscomposermanager.h"
#include "qgsconfigureshortcutsdialog.h"
#include "qgscoordinatetransform.h"
+#include "qgscredentialdialog.h"
#include "qgscursors.h"
#include "qgscustomprojectiondialog.h"
#include "qgsencodingfiledialog.h"
#include "qgsexception.h"
#include "qgsfeature.h"
#include "qgsformannotationitem.h"
+#include "qgsgenericprojectionselector.h"
+#include "qgsgpsinformationwidget.h"
+#include "qgshelpviewer.h"
#include "qgslabelinggui.h"
-#include "qgsnewvectorlayerdialog.h"
-#include "qgshelpviewer.h"
-#include "qgsgenericprojectionselector.h"
#include "qgslegend.h"
#include "qgslegendlayer.h"
#include "qgslogger.h"
@@ -127,6 +131,7 @@
#include "qgsmaptip.h"
#include "qgsmergeattributesdialog.h"
#include "qgsmessageviewer.h"
+#include "qgsnewvectorlayerdialog.h"
#include "qgsoptions.h"
#include "qgspastetransformations.h"
#include "qgspluginitem.h"
@@ -136,34 +141,30 @@
#include "qgspluginmetadata.h"
#include "qgspluginregistry.h"
#include "qgspoint.h"
+#include "qgsprojectbadlayerguihandler.h"
#include "qgsproject.h"
-#include "qgsprojectbadlayerguihandler.h"
#include "qgsprojectproperties.h"
#include "qgsproviderregistry.h"
+#include "qgsquerybuilder.h"
#include "qgsrastercalcdialog.h"
#include "qgsrasterlayer.h"
#include "qgsrasterlayerproperties.h"
-#include "qgsvectorlayerproperties.h"
#include "qgsrectangle.h"
#include "qgsrenderer.h"
+#include "qgsshortcutsmanager.h"
+#include "qgssnappingdialog.h"
+#include "qgssponsors.h"
#include "qgstextannotationitem.h"
-#include "qgswmssourceselect.h"
-#include "qgsshortcutsmanager.h"
+#include "qgstilescalewidget.h"
#include "qgsundowidget.h"
#include "qgsvectordataprovider.h"
+#include "qgsvectorfilewriter.h"
#include "qgsvectorlayer.h"
+#include "qgsvectorlayerproperties.h"
+#include "qgswmssourceselect.h"
#include "ogr/qgsogrsublayersdialog.h"
#include "ogr/qgsopenvectorlayerdialog.h"
#include "ogr/qgsvectorlayersaveasdialog.h"
-#include "qgsattributetabledialog.h"
-#include "qgsvectorfilewriter.h"
-#include "qgscredentialdialog.h"
-#include "qgstilescalewidget.h"
-#include "qgsquerybuilder.h"
-#include "qgsattributeaction.h"
-#include "qgsgpsinformationwidget.h"
-#include "qgssnappingdialog.h"
-
//
// Gdal/Ogr includes
//
@@ -1246,6 +1247,11 @@
mActionAbout->setMenuRole( QAction::AboutRole ); // put in application menu on Mac OS X
connect( mActionAbout, SIGNAL( triggered() ), this, SLOT( about() ) );
+ mActionSponsors = new QAction( getThemeIcon( "mActionHelpSponsors.png" ), tr( "QGIS Sponsors!" ), this );
+ shortcuts->registerAction( mActionSponsors );
+ mActionSponsors->setStatusTip( tr( "QGIS Sponsors" ) );
+ connect( mActionSponsors, SIGNAL( triggered() ), this, SLOT( sponsors() ) );
+
mActionMoveLabel = new QAction( getThemeIcon( "mActionMoveLabel.png" ), tr( "Move Label" ), this );
mActionMoveLabel->setStatusTip( tr( "Move labels interactively" ) );
connect( mActionMoveLabel, SIGNAL( triggered() ), this, SLOT( moveLabel() ) );
@@ -1662,6 +1668,7 @@
mActionHelpSeparator2 = mHelpMenu->addSeparator();
mHelpMenu->addAction( mActionAbout );
+ mHelpMenu->addAction( mActionSponsors );
}
void QgisApp::createToolBars()
@@ -2087,6 +2094,7 @@
mActionLocalHistogramStretch->setIcon( getThemeIcon( "/mActionLocalHistogramStretch.png" ) );
mActionQgisHomePage->setIcon( getThemeIcon( "/mActionQgisHomePage.png" ) );
mActionAbout->setIcon( getThemeIcon( "/mActionHelpAbout.png" ) );
+ mActionSponsors->setIcon( getThemeIcon( "/mActionHelpSponsors.png" ) );
mActionDraw->setIcon( getThemeIcon( "/mActionDraw.png" ) );
mActionToggleEditing->setIcon( getThemeIcon( "/mActionToggleEditing.png" ) );
mActionSaveEdits->setIcon( getThemeIcon( "/mActionSaveEdits.png" ) );
@@ -2611,6 +2619,13 @@
}
///////////// END OF GUI SETUP ROUTINES ///////////////
+void QgisApp::sponsors()
+{
+ QgsSponsors * sponsors = new QgsSponsors();
+ sponsors->show();
+ sponsors->raise();
+ sponsors->activateWindow();
+}
void QgisApp::about()
{
Modified: trunk/qgis/src/app/qgisapp.h
===================================================================
--- trunk/qgis/src/app/qgisapp.h 2011-02-18 11:30:19 UTC (rev 15194)
+++ trunk/qgis/src/app/qgisapp.h 2011-02-18 13:28:33 UTC (rev 15195)
@@ -327,6 +327,7 @@
QAction *actionCheckQgisVersion() { return mActionCheckQgisVersion; }
QAction *actionHelpSeparator2() { return mActionHelpSeparator2; }
QAction *actionAbout() { return mActionAbout; }
+ QAction *actionSponsors() { return mActionSponsors; }
//! Menus
QMenu *fileMenu() { return mFileMenu; }
@@ -467,6 +468,8 @@
#endif
private slots:
+ //! QGis Sponsors
+ void sponsors();
//! About QGis
void about();
//! Add a raster layer to the map (will prompt user for file name using dlg )
@@ -1016,6 +1019,7 @@
QAction *mActionCheckQgisVersion;
QAction *mActionHelpSeparator2;
QAction *mActionAbout;
+ QAction *mActionSponsors;
QAction *mActionLocalHistogramStretch;
Modified: trunk/qgis/src/app/qgsabout.cpp
===================================================================
--- trunk/qgis/src/app/qgsabout.cpp 2011-02-18 11:30:19 UTC (rev 15194)
+++ trunk/qgis/src/app/qgsabout.cpp 2011-02-18 13:28:33 UTC (rev 15195)
@@ -116,59 +116,7 @@
}
- // read the SPONSORS file and populate the text widget
- QFile sponsorFile( QgsApplication::sponsorsFilePath() );
-#ifdef QGISDEBUG
- printf( "Reading sponsors file %s.............................................\n",
- sponsorFile.fileName().toLocal8Bit().constData() );
-#endif
- if ( sponsorFile.open( QIODevice::ReadOnly ) )
- {
- QString sponsorHTML = ""
- + tr( "<p>QGIS sponsorship programme:"
- "contribute to QGIS development</p>" )
- + "<hr>"
- "<table width='100%'>"
- "<tr><th>" + tr( "Name" ) + "</th>"
- "<th>" + tr( "Website" ) + "</th></tr>";
- QString website;
- QTextStream sponsorStream( &sponsorFile );
- // Always use UTF-8
- sponsorStream.setCodec( "UTF-8" );
- QString sline;
- while ( !sponsorStream.atEnd() )
- {
- sline = sponsorStream.readLine(); // line of text excluding '\n'
- //ignore the line if it starts with a hash....
- if ( sline.left( 1 ) == "#" ) continue;
- QStringList myTokens = sline.split( "|", QString::SkipEmptyParts );
- if ( myTokens.size() == 0 )
- {
- continue;
- }
- else if ( myTokens.size() > 1 )
- {
- website = "<a href=\"" + myTokens[1].remove( ' ' ) + "\">" + myTokens[1] + "</a>";
- }
- else
- {
- website = " ";
- }
- sponsorHTML += "<tr>";
- sponsorHTML += "<td>" + myTokens[0] + "</td><td>" + website + "</td>";
- // close the row
- sponsorHTML += "</tr>";
- }
- sponsorHTML += "</table>";
- QString myStyle = QgsApplication::reportStyleSheet();
- txtSponsors->clear();
- txtSponsors->document()->setDefaultStyleSheet( myStyle );
- txtSponsors->setHtml( sponsorHTML );
- QgsDebugMsg( QString( "sponsorHTML:%1" ).arg( sponsorHTML.toAscii().constData() ) );
- QgsDebugMsg( QString( "txtSponsors:%1" ).arg( txtSponsors->toHtml().toAscii().constData() ) );
- }
-
// read the DONORS file and populate the text widget
QFile donorsFile( QgsApplication::donorsFilePath() );
#ifdef QGISDEBUG
Added: trunk/qgis/src/app/qgssponsors.cpp
===================================================================
--- trunk/qgis/src/app/qgssponsors.cpp (rev 0)
+++ trunk/qgis/src/app/qgssponsors.cpp 2011-02-18 13:28:33 UTC (rev 15195)
@@ -0,0 +1,47 @@
+/***************************************************************************
+ qgssponsors.cpp - description
+ -------------------
+ begin : Sat Aug 10 2002
+ copyright : (C) 2002 by Gary E.Sherman
+ email : sherman at mrcc.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+/* $Id$ */
+
+#include "qgssponsors.h"
+#include "qgsapplication.h"
+#include <QFile>
+#include <QTextStream>
+
+#ifdef Q_OS_MACX
+QgsSponsors::QgsSponsors()
+ : QDialog( NULL, Qt::WindowSystemMenuHint ) // Modeless dialog with close button only
+#else
+QgsSponsors::QgsSponsors()
+ : QDialog( NULL ) // Normal dialog in non Mac-OS
+#endif
+{
+ setupUi( this );
+ init();
+}
+
+QgsSponsors::~QgsSponsors()
+{
+}
+
+void QgsSponsors::init()
+{
+
+ // set the 60x60 icon pixmap
+ QPixmap icon( QgsApplication::iconsPath() + "qgis-icon-60x60.png" );
+ qgisIcon->setPixmap( icon );
+
+}
Added: trunk/qgis/src/app/qgssponsors.h
===================================================================
--- trunk/qgis/src/app/qgssponsors.h (rev 0)
+++ trunk/qgis/src/app/qgssponsors.h 2011-02-18 13:28:33 UTC (rev 15195)
@@ -0,0 +1,36 @@
+/***************************************************************************
+ qgssponsors.h - description
+ -------------------
+ begin : Sat Aug 10 2002
+ copyright : (C) 2002 by Gary E.Sherman
+ email : sherman at mrcc.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+/* $Id:$ */
+#ifndef QGSSPONSORS_H
+#define QGSSPONSORS_H
+
+#include "ui_qgssponsorsbase.h"
+
+class QgsSponsors : public QDialog, private Ui::QgsSponsorsBase
+{
+ Q_OBJECT
+ public:
+ QgsSponsors();
+ ~QgsSponsors();
+
+ private:
+ void init();
+
+ private slots:
+};
+
+#endif
Modified: trunk/qgis/src/ui/qgsabout.ui
===================================================================
--- trunk/qgis/src/ui/qgsabout.ui 2011-02-18 11:30:19 UTC (rev 15194)
+++ trunk/qgis/src/ui/qgsabout.ui 2011-02-18 13:28:33 UTC (rev 15195)
@@ -17,6 +17,13 @@
<bool>true</bool>
</property>
<layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Close</set>
+ </property>
+ </widget>
+ </item>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
@@ -38,7 +45,7 @@
</size>
</property>
<property name="pixmap">
- <pixmap>:/images/icons/qgis-icon-60x60.png</pixmap>
+ <pixmap resource="../../images/images.qrc">:/images/icons/qgis-icon-60x60.png</pixmap>
</property>
<property name="scaledContents">
<bool>false</bool>
@@ -222,23 +229,6 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>Sponsors</string>
- </attribute>
- <layout class="QGridLayout">
- <item row="0" column="0">
- <widget class="QTextBrowser" name="txtSponsors">
- <property name="openExternalLinks">
- <bool>true</bool>
- </property>
- <property name="openLinks">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>Donors</string>
@@ -258,13 +248,6 @@
</widget>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Close</set>
- </property>
- </widget>
- </item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
@@ -274,7 +257,6 @@
<tabstop>btnQgisUser</tabstop>
<tabstop>txtProviders</tabstop>
<tabstop>lstDevelopers</tabstop>
- <tabstop>txtSponsors</tabstop>
<tabstop>txtTranslators</tabstop>
<tabstop>buttonBox</tabstop>
<tabstop>txtDonors</tabstop>
Added: trunk/qgis/src/ui/qgssponsorsbase.ui
===================================================================
--- trunk/qgis/src/ui/qgssponsorsbase.ui (rev 0)
+++ trunk/qgis/src/ui/qgssponsorsbase.ui 2011-02-18 13:28:33 UTC (rev 15195)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>QgsSponsorsBase</class>
+ <widget class="QDialog" name="QgsSponsorsBase">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>640</width>
+ <height>461</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>QGIS Sponsors</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="qgisIcon">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QTextBrowser" name="txtSponsors">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="html">
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">We work really hard to make this nice software for you. See all the cool features it has? Get a warm fuzzy feeling when you use it? Quantum GIS is a labour of love by a dedicated team of developers. We want you to copy &amp; share it and put it in the hands of as many people as possible. If QGIS is saving you money or you like our work and have the financial ability to help, please consider sponsoring the development of Quantum GIS. We use money from sponsors to pay for travel and costs related to our bi-annual hackfests, and to generally support the goals of our project. Please see the <a href="http://qgis.org/en/sponsorship.html"><span style=" text-decoration: underline; color:#0000ff;">QGIS Sponsorship Web Page</span></a> for more details. In the list below you can see the fine people and co
mpanies that are helping us financially - a great big 'thank you' to you all!</p>
+<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
+<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600;">2010 Sponsors</span></p>
+<hr />
+<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:14pt; font-weight:600;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
+<table border="0" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" width="100%" cellspacing="2" cellpadding="0">
+<tr>
+<td>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">BRONZE SPONSORS</span></p></td>
+<td>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> </p></td></tr>
+<tr>
+<td>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Studio Associato Gfosservices</p></td>
+<td>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://www.gfosservices.com"><span style=" font-family:'arial,sans-serif'; font-size:small; text-decoration: underline; color:#729fcf;">http://www.gfosservices.com</span></a></p></td></tr>
+<tr>
+<td>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">NEXTGIS</p></td>
+<td>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://nextgis.org"><span style=" font-family:'arial,sans-serif'; font-size:small; text-decoration: underline; color:#729fcf;">http://nextgis.org</span></a></p></td></tr></table></body></html></string>
+ </property>
+ <property name="openExternalLinks">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>QgsSponsorsBase</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>QgsSponsorsBase</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
More information about the QGIS-commit
mailing list