-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Allen Winter
committed
Sep 23, 2021
0 parents
commit f11cc55
Showing
109 changed files
with
118,538 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
BasedOnStyle: WebKit | ||
Language: Cpp | ||
Standard: Cpp11 | ||
|
||
IndentWidth: 4 | ||
SpacesBeforeTrailingComments: 1 | ||
TabWidth: 8 | ||
UseTab: Never | ||
SortIncludes: false | ||
ContinuationIndentWidth: 4 | ||
MaxEmptyLinesToKeep: 3 | ||
BreakBeforeBinaryOperators: NonAssignment | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeColon | ||
BreakConstructorInitializersBeforeComma: true | ||
|
||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterControlStatement: false | ||
AfterEnum: false | ||
AfterFunction: true | ||
AfterNamespace: false | ||
AfterObjCDeclaration: false | ||
AfterStruct: true | ||
AfterUnion: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
|
||
ForEachMacros: | ||
- forever # avoids { wrapped to next line | ||
- foreach | ||
- Q_FOREACH | ||
|
||
AccessModifierOffset: -4 | ||
ConstructorInitializerIndentWidth: 4 | ||
AlignEscapedNewlinesLeft: false | ||
AlignTrailingComments: false | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: false | ||
AllowShortEnumsOnASingleLine: false # requires clang-format 11 | ||
AlignAfterOpenBracket: true | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: true | ||
BinPackParameters: true | ||
ColumnLimit: 150 | ||
Cpp11BracedListStyle: false | ||
DerivePointerBinding: false | ||
ExperimentalAutoDetectBinPacking: false | ||
IndentCaseLabels: false | ||
NamespaceIndentation: None | ||
ObjCSpaceBeforeProtocolList: true | ||
PenaltyBreakBeforeFirstCallParameter: 19 | ||
PenaltyBreakComment: 60 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 1000 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 60 | ||
PointerBindsToType: false | ||
SpaceAfterTemplateKeyword: false | ||
IndentFunctionDeclarationAfterType: false | ||
SpaceAfterControlStatementKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceInEmptyParentheses: false | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: true | ||
SpacesInParentheses: false | ||
... | ||
|
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,3 @@ | ||
[codespell] | ||
skip = ./build-*,.git,*.svg | ||
interactive = 3 |
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,175 @@ | ||
################# | ||
## Eclipse | ||
################# | ||
|
||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
|
||
################# | ||
## Visual Studio | ||
################# | ||
|
||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Rr]elease/ | ||
*_i.c | ||
*_p.c | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.vspscc | ||
.builds | ||
*.dotCover | ||
|
||
## TODO: If you have NuGet Package Restore enabled, uncomment this | ||
#packages/ | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper* | ||
|
||
# Installshield output folder | ||
[Ee]xpress | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish | ||
|
||
# Others | ||
[Bb]in | ||
[Oo]bj | ||
TestResults | ||
*.Cache | ||
ClientBin | ||
stylecop.* | ||
~$* | ||
*.dbmdl | ||
Generated_Code #added for RIA/Silverlight projects | ||
*.autosave | ||
|
||
# Backup & report files from converting an old project file to a newer | ||
# Visual Studio version. Backup files are not needed, because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
|
||
|
||
|
||
############ | ||
## Windows | ||
############ | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
|
||
############# | ||
## Python | ||
############# | ||
|
||
*.py[co] | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
develop-eggs | ||
.installed.cfg | ||
build-* | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
|
||
#Translations | ||
*.mo | ||
|
||
#Mr Developer | ||
.mr.developer.cfg | ||
|
||
# Mac crap | ||
.DS_Store | ||
|
||
############# | ||
## C++ / Qt | ||
############# | ||
*.pro.user | ||
*.o | ||
moc_* | ||
Makefile | ||
ServerApp #binary | ||
*~ | ||
|
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,8 @@ | ||
CHECKSETS c++ | ||
|
||
#KDAB-specific checks | ||
EXTRA kdabcopyright-reuse,fosslicense-reuse,kdabcontactus | ||
|
||
#if you have a build subdir, skip it | ||
SKIP /build- | ||
|
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,20 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: KDAB Boat Demo | ||
Upstream-Contact: <[email protected]> | ||
Source: https://www.github.com/KDAB/KDBoatDemo | ||
|
||
Files: *.qrc | ||
Copyright: 2013-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
License: AGPL-3.0-only | ||
|
||
Files: resources/images/* *.svg | ||
Copyright: 2013-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
License: AGPL-3.0-only | ||
|
||
Files: resources/albumcover/* | ||
Copyright: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
License: AGPL-3.0-only | ||
|
||
Files: resources/fonts/Lato* resources/fonts/OpenSans* | ||
Copyright: google | ||
License: OFL-1.1 |
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,57 @@ | ||
env: | ||
global: | ||
- secure: "NlWO/NTPlOU6cowOMuPOvjAprXVwIjmpHHf9CoMR71E2c/eBFFKIHj10kXuyFwz2KihHAIExmo9OlGtGniNWobvIrVrabO3dsOSb6UGbPAQkzQiyQLKsDNQAZx3nMuWEKBtMsVRee6rd7/2uGTY4WB5Ot3VhrUYcN1FoRgQQ9gk=" | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
dist: bionic | ||
- os: osx | ||
osx_image: xcode11.5 | ||
env: | ||
- QT_SELECT=qt5 | ||
- CMAKE_PREFIX_PATH=/usr/local/opt/qt | ||
|
||
language: cpp | ||
compiler: | ||
- gcc | ||
- clang | ||
|
||
script: | ||
- mkdir build | ||
- cd build | ||
- cmake -DCMAKE_BUILD_TYPE=Release .. | ||
- make | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: never | ||
on_failure: always | ||
|
||
dist: bionic | ||
addons: | ||
apt: | ||
update: true | ||
packages: | ||
- qt5-default | ||
- qtbase5-dev | ||
- qtbase5-dev-tools | ||
- qtbase5-private-dev | ||
- qttools5-dev | ||
- qttools5-dev-tools | ||
- qtdeclarative5-dev | ||
- qtdeclarative5-dev-tools | ||
- libqt5xmlpatterns5-dev | ||
- libqt5xmlpatterns5 | ||
- qtxmlpatterns5-dev-tools | ||
- libqt5x11extras5-dev | ||
homebrew: | ||
update: true | ||
packages: | ||
- qt5 |
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 @@ | ||
# This file is part of the KDAB Nautical UI demo. | ||
# | ||
# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-only | ||
# | ||
# This program is free software: you can redistribute it and/or modify it | ||
# under the terms of the GNU Affero General Public License as published by | ||
# the Free Software Foundation, version 3. | ||
# | ||
# This program is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public | ||
# License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/> | ||
# | ||
# Contact [email protected] for more information about this software. | ||
# | ||
|
||
project(KDABBoatDemo) | ||
cmake_minimum_required(VERSION 3.9) | ||
find_package(Qt5 CONFIG REQUIRED COMPONENTS Core Gui Quick) | ||
set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||
set(CMAKE_AUTOMOC TRUE) | ||
set(CMAKE_AUTORCC TRUE) | ||
|
||
add_executable(KDABBoatDemo | ||
main.cpp | ||
imagesMaps.qrc | ||
imagesMaps2.qrc | ||
images.qrc | ||
data.qrc | ||
) | ||
target_link_libraries(KDABBoatDemo Qt5::Core Qt5::Gui Qt5::Quick) |
Oops, something went wrong.