Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 'master' into proc_tests
- Loading branch information
Showing
1,572 changed files
with
43,650 additions
and
27,462 deletions.
There are no files selected for viewing
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@ECHO OFF | ||
SET CREATOR=%APPDATA%\QtProject\qtcreator | ||
SET WIZARDS=%CREATOR%\templates\wizards | ||
SET CODESTYLES=%CREATOR%\codestyles\cpp | ||
IF NOT EXIST "%WIZARDS%" ( | ||
mkdir "%WIZARDS%" | ||
) | ||
|
||
IF NOT EXIST "%WIZARDS%\qgis" ( | ||
mklink /J "%WIZARDS%\qgis" %CD%\templates\wizards\qgis | ||
) | ||
|
||
IF NOT EXIST "%CODESTYLES%" ( | ||
mkdir "%CODESTYLES%" | ||
) | ||
|
||
IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" ( | ||
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml | ||
) |
File renamed without changes.
File renamed without changes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions
61
editors/QtCreator/templates/wizards/qgis/qgis_test/file.cpp
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,61 @@ | ||
/*************************************************************************** | ||
%{SrcFileName} - %{CN} | ||
-------------- | ||
begin : %{CurrentDate:dd-MM-yyyy} | ||
@if %{HostOs:isWindows} | ||
copyright : (C) %{CurrentDate:yyyy} by %{Env:USERNAME} | ||
@else | ||
copyright : (C) %{CurrentDate:yyyy} by %{Env:USER} | ||
@endif | ||
email : [ YOUR EMAIL] | ||
***************************************************************************/ | ||
|
||
/*************************************************************************** | ||
* * | ||
* 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. * | ||
* * | ||
***************************************************************************/ | ||
|
||
#include "qgstest.h" | ||
#include <QObject> | ||
#include <qgsapplication.h> | ||
|
||
class %{CN}: public QObject | ||
{ | ||
|
||
Q_OBJECT | ||
|
||
private slots: | ||
void initTestCase(); // will be called before the first testfunction is executed. | ||
void cleanupTestCase(); // will be called after the last testfunction was executed. | ||
void init(); // will be called before each testfunction is executed. | ||
void cleanup(); // will be called after every testfunction. | ||
|
||
// Add your test methods here | ||
}; | ||
|
||
void %{CN}::initTestCase() | ||
{ | ||
|
||
} | ||
|
||
void %{CN}::cleanupTestCase() | ||
{ | ||
|
||
} | ||
|
||
void %{CN}::init() | ||
{ | ||
|
||
} | ||
|
||
void %{CN}::cleanup() | ||
{ | ||
|
||
} | ||
|
||
QGSTEST_MAIN( %{CN} ) | ||
#include "%{JS: Cpp.classToFileName('%{Class}', '.moc')}" |
Oops, something went wrong.