-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dedicated dialog for the sponsors. No longer parse sponsors fro…
…m sponsors text file, just edit the html in the dialog directly. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15195 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
timlinux
committed
Feb 18, 2011
1 parent
5bc02cd
commit 21ac796
Showing
10 changed files
with
362 additions
and
214 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.