Compare commits
175 Commits
4c0e61fdb6
...
04b40d367c
| Author | SHA1 | Date | |
|---|---|---|---|
| 04b40d367c | |||
| 1becca7519 | |||
| 8f969a1b41 | |||
| e791618a17 | |||
| f8fec93f0e | |||
| 26a656a9a0 | |||
| 6153c1d8dd | |||
| 744d689eee | |||
| dd4695780d | |||
| 2eacbfbfc1 | |||
| ab423e1530 | |||
| 083dc3edf5 | |||
| 5bc7d7cf06 | |||
| ac0f5bc325 | |||
| 85adc666ef | |||
| 0dcc0da004 | |||
| 44839c740d | |||
| 144d24711c | |||
| 9966f2d5e4 | |||
| 82f863db47 | |||
| c3ba09328b | |||
| bee9bd12d5 | |||
| 073d483381 | |||
| ab2c8d4480 | |||
| 592c17e1c7 | |||
| 47420cf19a | |||
| dedd38772e | |||
| 50a231a8e7 | |||
| 03f8452512 | |||
| 12f0603413 | |||
| 18526cdf29 | |||
| 4c7b9444b6 | |||
| 33f4394243 | |||
| b340dfebac | |||
| 6a67442d21 | |||
| 8feb5c240c | |||
| 64f3448b5c | |||
| a93db66d78 | |||
| 071a73f5ba | |||
| 2739cc53ec | |||
| ccf17510d8 | |||
| e0134b3b5e | |||
| b9dea57200 | |||
| 7a669d47c8 | |||
| c3dcf36a20 | |||
| e2a91a4fbd | |||
| 504abae440 | |||
| dd78bb09eb | |||
| dcbb01ae25 | |||
| d200dbdab5 | |||
| 9f3a54bbb9 | |||
| 106d7c6c93 | |||
| c73be2a29c | |||
| 4aa4c56a35 | |||
| 0cf8136757 | |||
| 9fee5a7d07 | |||
| dc5075ad8a | |||
| 876ceec0dc | |||
| fa720d4d3d | |||
| 31fd00a97a | |||
| 0e9ca837d1 | |||
| 1c857eebff | |||
| 5b5a374350 | |||
| 1a2f5ceefc | |||
| c23c8703a4 | |||
| ac2bf4567f | |||
| fd26c53fd2 | |||
| f6a964684e | |||
| 217be1d837 | |||
| cf99bc1624 | |||
| c20a5788ca | |||
| b77648aae9 | |||
| ca6bcd4944 | |||
| 60ab744496 | |||
| bf5718cc1d | |||
| 72cc874d86 | |||
| 1b06de0dc4 | |||
| d98e8c1f30 | |||
| 2a063a4f00 | |||
| 4a927b524e | |||
| a7469b5f19 | |||
| 024360dec5 | |||
| cecc90f8d8 | |||
| b061949716 | |||
| 7ce2b31ec9 | |||
| f6205cab55 | |||
| 5a4cd77dcb | |||
| ed9d0002f0 | |||
| 21f0f67fdf | |||
| 1b7511eef2 | |||
| f37a8e6d93 | |||
| 1f0c71ec0c | |||
| d38d624b51 | |||
| ffd1bc7e0e | |||
| 46fd68a0fd | |||
| 4814fd98ce | |||
| e7ef97dc6a | |||
| b867500aaf | |||
| 76a1b35f14 | |||
| 4eefbe4e46 | |||
| 6b4bafd9cd | |||
| 54e192514f | |||
| 2f630435bb | |||
| 0497a52704 | |||
| 94c1c73642 | |||
| dc91237545 | |||
| 893049550b | |||
| 396b1bc309 | |||
| fb6bcf7881 | |||
| c3d1d0fa69 | |||
| e9b995879a | |||
| 9389834f15 | |||
|
|
7b05b83cea | ||
| eb1e971bcd | |||
| 17fc04c2c6 | |||
| 254a88e7a4 | |||
| aec577611b | |||
| 3c29b7b566 | |||
| 29aa0bda29 | |||
| 993a9219d5 | |||
| ef0963c878 | |||
| e3f046cd2e | |||
| 22b1e53d44 | |||
| 7188e38072 | |||
| 34d2653744 | |||
| 4693a1753a | |||
| 98da491402 | |||
| 7d7ec8976d | |||
| a0363ba99d | |||
| 8bec648940 | |||
| 56246e657a | |||
| 4b8a7a4779 | |||
| c166c040b0 | |||
| 88084a3318 | |||
| 958c81fb1d | |||
| 10212e2ebd | |||
| 10d63e05fe | |||
| 08f253eb09 | |||
| fe2a8077a4 | |||
| cce1b6a0c4 | |||
| dc2419dcad | |||
| dfba7f1510 | |||
| 750c96ecb9 | |||
| e0b4dc06db | |||
| 5327e4f7b0 | |||
| 55e5e819f8 | |||
| 8ca6acc415 | |||
| ed9b4a950c | |||
| 4bb4e87cc2 | |||
| cdb02fc9be | |||
| 09e5342956 | |||
| 3d3892a126 | |||
| a1a001035f | |||
| aa7581803e | |||
| 4497123421 | |||
| 728c132f2b | |||
| 5d9381dd37 | |||
| 461491e30e | |||
| 3ad11fe743 | |||
| 5e49446607 | |||
| 2e22a393dc | |||
| 0321437a18 | |||
| 05356f9489 | |||
| 99a5276573 | |||
| c893754ce3 | |||
| 749f967a15 | |||
| 7b3595d900 | |||
| abc89a4e0b | |||
| 063f23f5b8 | |||
| 6ef0fd1b74 | |||
| ba93ae2e48 | |||
|
|
4e01ad4465 | ||
| 56ed6d10f0 | |||
| 512544d2a4 | |||
| cddc0b6d91 |
224
.clang-format
Normal file
@@ -0,0 +1,224 @@
|
||||
---
|
||||
Language: Cpp
|
||||
AccessModifierOffset: -4
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignArrayOfStructures: Left
|
||||
AlignConsecutiveAssignments:
|
||||
Enabled: true
|
||||
AcrossEmptyLines: true
|
||||
AcrossComments: true
|
||||
AlignCompound: false
|
||||
PadOperators: true
|
||||
AlignConsecutiveBitFields:
|
||||
Enabled: true
|
||||
AcrossEmptyLines: false
|
||||
AcrossComments: true
|
||||
AlignCompound: false
|
||||
PadOperators: true
|
||||
AlignConsecutiveDeclarations:
|
||||
Enabled: false
|
||||
AcrossEmptyLines: false
|
||||
AcrossComments: false
|
||||
AlignCompound: false
|
||||
PadOperators: false
|
||||
AlignConsecutiveMacros:
|
||||
Enabled: true
|
||||
AcrossEmptyLines: true
|
||||
AcrossComments: true
|
||||
AlignCompound: false
|
||||
PadOperators: true
|
||||
AlignEscapedNewlines: Left
|
||||
AlignOperands: Align
|
||||
AlignTrailingComments: true
|
||||
AllowAllArgumentsOnNextLine: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
AllowShortBlocksOnASingleLine: Empty
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
AllowShortLambdasOnASingleLine: All
|
||||
AllowShortIfStatementsOnASingleLine: WithoutElse
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: false
|
||||
AlwaysBreakTemplateDeclarations: Yes
|
||||
AttributeMacros:
|
||||
- __capability
|
||||
BinPackArguments: false
|
||||
BinPackParameters: false
|
||||
BraceWrapping:
|
||||
AfterCaseLabel: false
|
||||
AfterClass: false
|
||||
AfterControlStatement: Never
|
||||
AfterEnum: false
|
||||
AfterFunction: false
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterUnion: false
|
||||
AfterExternBlock: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
BeforeLambdaBody: false
|
||||
BeforeWhile: false
|
||||
IndentBraces: false
|
||||
SplitEmptyFunction: false
|
||||
SplitEmptyRecord: false
|
||||
SplitEmptyNamespace: true
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeConceptDeclarations: Always
|
||||
BreakBeforeBraces: Attach
|
||||
BreakInheritanceList: BeforeComma
|
||||
BreakBeforeTernaryOperators: true
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
BreakAfterJavaFieldAnnotations: false
|
||||
BreakStringLiterals: true
|
||||
ColumnLimit: 140
|
||||
CommentPragmas: '^ IWYU pragma:'
|
||||
QualifierAlignment: Leave
|
||||
CompactNamespaces: false
|
||||
ConstructorInitializerIndentWidth: 4
|
||||
ContinuationIndentWidth: 4
|
||||
Cpp11BracedListStyle: true
|
||||
DeriveLineEnding: false
|
||||
DerivePointerAlignment: false
|
||||
DisableFormat: false
|
||||
EmptyLineAfterAccessModifier: Never
|
||||
EmptyLineBeforeAccessModifier: Always
|
||||
ExperimentalAutoDetectBinPacking: false
|
||||
PackConstructorInitializers: CurrentLine
|
||||
BasedOnStyle: ''
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||
AllowAllConstructorInitializersOnNextLine: true
|
||||
FixNamespaceComments: true
|
||||
ForEachMacros:
|
||||
- foreach
|
||||
- Q_FOREACH
|
||||
- BOOST_FOREACH
|
||||
- piForeach
|
||||
- piForeachC
|
||||
- piForeachR
|
||||
- piForeachRC
|
||||
- piForeachCR
|
||||
IfMacros:
|
||||
- KJ_IF_MAYBE
|
||||
IncludeBlocks: Regroup
|
||||
IncludeCategories:
|
||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
||||
Priority: 2
|
||||
SortPriority: 0
|
||||
CaseSensitive: false
|
||||
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
||||
Priority: 3
|
||||
SortPriority: 0
|
||||
CaseSensitive: false
|
||||
- Regex: '.*'
|
||||
Priority: 1
|
||||
SortPriority: 0
|
||||
CaseSensitive: false
|
||||
IncludeIsMainRegex: '(Test)?$'
|
||||
IncludeIsMainSourceRegex: ''
|
||||
IndentAccessModifiers: false
|
||||
IndentCaseLabels: false
|
||||
IndentCaseBlocks: false
|
||||
IndentGotoLabels: false
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentExternBlock: NoIndent
|
||||
IndentRequiresClause: true
|
||||
IndentWidth: 4
|
||||
IndentWrappedFunctionNames: false
|
||||
InsertBraces: false
|
||||
InsertTrailingCommas: Wrapped
|
||||
JavaScriptQuotes: Leave
|
||||
JavaScriptWrapImports: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
LambdaBodyIndentation: Signature
|
||||
MacroBlockBegin: "PRIVATE_DEFINITION_START|STATIC_INITIALIZER_BEGIN"
|
||||
MacroBlockEnd: "PRIVATE_DEFINITION_END|STATIC_INITIALIZER_END"
|
||||
MaxEmptyLinesToKeep: 2
|
||||
NamespaceIndentation: None
|
||||
ObjCBinPackProtocolList: Auto
|
||||
ObjCBlockIndentWidth: 2
|
||||
ObjCBreakBeforeNestedBlockParam: true
|
||||
ObjCSpaceAfterProperty: false
|
||||
ObjCSpaceBeforeProtocolList: true
|
||||
PenaltyBreakAssignment: 2
|
||||
PenaltyBreakBeforeFirstCallParameter: 19
|
||||
PenaltyBreakComment: 300
|
||||
PenaltyBreakFirstLessLess: 120
|
||||
PenaltyBreakOpenParenthesis: 0
|
||||
PenaltyBreakString: 1000
|
||||
PenaltyBreakTemplateDeclaration: 10
|
||||
PenaltyExcessCharacter: 1000000
|
||||
PenaltyReturnTypeOnItsOwnLine: 60
|
||||
PenaltyIndentedWhitespace: 0
|
||||
PointerAlignment: Middle
|
||||
PPIndentWidth: 2
|
||||
ReferenceAlignment: Middle
|
||||
ReflowComments: true
|
||||
RemoveBracesLLVM: false
|
||||
RequiresClausePosition: OwnLine
|
||||
SeparateDefinitionBlocks: Leave
|
||||
ShortNamespaceLines: 1
|
||||
SortIncludes: CaseSensitive
|
||||
SortJavaStaticImport: Before
|
||||
SortUsingDeclarations: true
|
||||
SpaceAfterCStyleCast: false
|
||||
SpaceAfterLogicalNot: false
|
||||
SpaceAfterTemplateKeyword: false
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
SpaceBeforeCaseColon: false
|
||||
SpaceBeforeCpp11BracedList: false
|
||||
SpaceBeforeCtorInitializerColon: false
|
||||
SpaceBeforeInheritanceColon: false
|
||||
SpaceBeforeParens: ControlStatementsExceptControlMacros
|
||||
SpaceBeforeParensOptions:
|
||||
AfterControlStatements: true
|
||||
AfterForeachMacros: false
|
||||
AfterFunctionDefinitionName: false
|
||||
AfterFunctionDeclarationName: false
|
||||
AfterIfMacros: false
|
||||
AfterOverloadedOperator: false
|
||||
AfterRequiresInClause: false
|
||||
AfterRequiresInExpression: false
|
||||
BeforeNonEmptyParentheses: false
|
||||
SpaceAroundPointerQualifiers: Both
|
||||
SpaceBeforeRangeBasedForLoopColon: false
|
||||
SpaceInEmptyBlock: false
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesBeforeTrailingComments: 1
|
||||
SpacesInAngles: Never
|
||||
SpacesInConditionalStatement: false
|
||||
SpacesInContainerLiterals: false
|
||||
SpacesInCStyleCastParentheses: false
|
||||
SpacesInLineCommentPrefix:
|
||||
Minimum: 1
|
||||
Maximum: -1
|
||||
SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
SpaceBeforeSquareBrackets: false
|
||||
BitFieldColonSpacing: After
|
||||
Standard: c++11
|
||||
StatementAttributeLikeMacros:
|
||||
- Q_EMIT
|
||||
- PIMETA
|
||||
StatementMacros:
|
||||
- Q_UNUSED
|
||||
- QT_REQUIRE_VERSION
|
||||
- PRIVATE_DECLARATION
|
||||
- NO_COPY_CLASS
|
||||
- FOREVER_WAIT
|
||||
- WAIT_FOREVER
|
||||
TabWidth: 4
|
||||
UseCRLF: false
|
||||
UseTab: AlignWithSpaces
|
||||
WhitespaceSensitiveMacros:
|
||||
- STRINGIZE
|
||||
- PP_STRINGIZE
|
||||
- BOOST_PP_STRINGIZE
|
||||
- NS_SWIFT_NAME
|
||||
- CF_SWIFT_NAME
|
||||
- PIMETA
|
||||
...
|
||||
|
||||
6
.editorconfig
Normal file
@@ -0,0 +1,6 @@
|
||||
root = true
|
||||
|
||||
[*.{h,c,cpp}]
|
||||
charset = utf-8
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
@@ -1,13 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_policy(SET CMP0017 NEW) # need include() with .cmake
|
||||
cmake_policy(SET CMP0072 NEW) # FindOpenGL prefers GLVND by default
|
||||
project(qad)
|
||||
set(qad_MAJOR 2)
|
||||
set(qad_MINOR 8)
|
||||
set(qad_REVISION 1)
|
||||
set(qad_SUFFIX )
|
||||
set(qad_COMPANY SHS)
|
||||
set(qad_DOMAIN org.SHS)
|
||||
project(QAD)
|
||||
set(QAD_MAJOR 2)
|
||||
set(QAD_MINOR 32)
|
||||
set(QAD_REVISION 0)
|
||||
set(QAD_SUFFIX )
|
||||
set(QAD_COMPANY SHS)
|
||||
set(QAD_DOMAIN org.SHS)
|
||||
|
||||
if ("x${CMAKE_MODULE_PATH}" STREQUAL "x")
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
@@ -15,7 +15,7 @@ endif()
|
||||
|
||||
include(SHSTKMacros)
|
||||
include(QtWraps)
|
||||
shstk_begin_project(qad QAD)
|
||||
shstk_begin_project(QAD)
|
||||
include(SHSTKQtMacros)
|
||||
|
||||
shstk_qt_founded(QtVersions)
|
||||
@@ -34,12 +34,12 @@ option(DESIGNER_PLUGINS "Build Qt designer plugins" ${_plugins_default_})
|
||||
option(HAS_GL "Build with OpenGL" ${_plugins_default_})
|
||||
|
||||
macro(qad_library NAME _MODULES _LIBS)
|
||||
shstk_qad_project(qad_${NAME} FALSE "qad" "${_MODULES}" "${_LIBS}" ${ARGN})
|
||||
shstk_qad_project(qad_${NAME} FALSE "QAD" "${_MODULES}" "${_LIBS}" ${ARGN})
|
||||
shstk_qad_install("qad" FALSE qad_${NAME} "${out_HDR}" "out_QM")
|
||||
endmacro()
|
||||
|
||||
macro(qad_application NAME _MODULES _LIBS)
|
||||
shstk_qad_project(${NAME} TRUE "qad" "${_MODULES}" "${_LIBS}" ${ARGN})
|
||||
shstk_qad_project(${NAME} TRUE "QAD" "${_MODULES}" "${_LIBS}" ${ARGN})
|
||||
shstk_qad_install("qad" TRUE ${NAME} "" "out_QM")
|
||||
endmacro()
|
||||
|
||||
@@ -47,7 +47,7 @@ macro(qad_plugin NAME _MODULES _LIBS)
|
||||
shstk_qad_plugin(qad_${NAME} "${_MODULES}" "qad_${NAME};${_LIBS}")
|
||||
endmacro()
|
||||
|
||||
shstk_install(qad FALSE "" "${qad_VERSION_FILE}")
|
||||
shstk_install(qad FALSE "" "${QAD_VERSION_FILE}")
|
||||
file(GLOB CMAKES "cmake/*.cmake" "cmake/*.in")
|
||||
install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules)
|
||||
|
||||
@@ -58,9 +58,9 @@ endif()
|
||||
|
||||
message("----------QAD----------")
|
||||
message(" Build for ${QtVersions}")
|
||||
message(" Version: ${qad_VERSION} ")
|
||||
message(" Linkage: ${qad_LIB_TYPE_MSG}")
|
||||
message(" Type : ${qad_BUILD_TYPE}")
|
||||
message(" Version: ${QAD_VERSION} ")
|
||||
message(" Linkage: ${QAD_LIB_TYPE_MSG}")
|
||||
message(" Type : ${QAD_BUILD_TYPE}")
|
||||
if (NOT LOCAL)
|
||||
message(" Install: \"${CMAKE_INSTALL_PREFIX}\"")
|
||||
else()
|
||||
|
||||
@@ -6,9 +6,12 @@ Create imported targets:
|
||||
* QAD::Application
|
||||
* QAD::Blockview
|
||||
* QAD::Graphic
|
||||
* QAD::GraphicAnalysis
|
||||
* QAD::Graphic3D
|
||||
* QAD::SQLTable
|
||||
* QAD::TouchWidgets
|
||||
* QAD::Doc
|
||||
* QAD::VirtualKeyboard
|
||||
* QAD::PIQt
|
||||
* QAD::PIQtUtils
|
||||
|
||||
@@ -19,7 +22,7 @@ These targets include directories and dependencies
|
||||
cmake_policy(SET CMP0011 NEW) # don`t affect includer policies
|
||||
cmake_policy(SET CMP0020 NEW) # Automatically link Qt executables to qtmain target on Windows
|
||||
|
||||
if(NOT BUILDING_qad)
|
||||
if(NOT BUILDING_QAD)
|
||||
find_package(PIP QUIET)
|
||||
include(QtWraps)
|
||||
include(SHSTKMacros)
|
||||
@@ -27,40 +30,43 @@ endif()
|
||||
|
||||
shstk_is_parent_exists(hasParent PARENT_DIRECTORY)
|
||||
|
||||
shstk_set_find_dirs(qad)
|
||||
set(_SEARCH_DIR ${qad_LIBDIR})
|
||||
shstk_set_find_dirs(QAD)
|
||||
|
||||
qad_find_qt(Core QUIET)
|
||||
if(NOT SOME_QT_FOUND)
|
||||
message(WARNING "No qt found, please install qt")
|
||||
message(WARNING "No Qt found, please install Qt")
|
||||
set(QAD_FOUND OFF CACHE BOOL "")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if (NOT BUILDING_qad)
|
||||
list(APPEND _SEARCH_DIR $ENV{SMSDK_DIR}/lib)
|
||||
shstk_find_header(qad QAD "qad_version.h" "")
|
||||
if (NOT BUILDING_QAD)
|
||||
shstk_find_header(QAD "qad_version.h" ${QAD_INCDIR})
|
||||
endif()
|
||||
|
||||
if(QAD_FIND_VERSION VERSION_GREATER QAD_VERSION)
|
||||
message(FATAL_ERROR "QAD version ${QAD_VERSION} is available, but ${QAD_FIND_VERSION} requested!")
|
||||
endif()
|
||||
|
||||
set(__libs "utils;widgets;application;blockview;graphic;sql_table;touch_widgets;doc")
|
||||
if (PIP_FOUND OR BUILDING_pip)
|
||||
set(__libs "utils;widgets;application;blockview;graphic;graphic_analysis;graphic3d;sql;sql_table;touch_widgets;doc;map;virtual_keyboard")
|
||||
if (PIP_FOUND OR BUILDING_PIP)
|
||||
list(APPEND __libs "piqt;piqt_utils")
|
||||
endif()
|
||||
|
||||
set(__module_utils Utils )
|
||||
set(__module_widgets Widgets )
|
||||
set(__module_application Application )
|
||||
set(__module_blockview Blockview )
|
||||
set(__module_graphic Graphic )
|
||||
set(__module_sql_table SQLTable )
|
||||
set(__module_touch_widgets TouchWidgets )
|
||||
set(__module_doc Doc )
|
||||
set(__module_piqt PIQt )
|
||||
set(__module_piqt_utils PIQtUtils )
|
||||
set(__module_utils Utils )
|
||||
set(__module_widgets Widgets )
|
||||
set(__module_application Application )
|
||||
set(__module_blockview Blockview )
|
||||
set(__module_graphic Graphic )
|
||||
set(__module_graphic_analysis GraphicAnalysis)
|
||||
set(__module_graphic3d Graphic3D )
|
||||
set(__module_sql SQL )
|
||||
set(__module_sql_table SQLTable )
|
||||
set(__module_touch_widgets TouchWidgets )
|
||||
set(__module_doc Doc )
|
||||
set(__module_map Map )
|
||||
set(__module_piqt PIQt )
|
||||
set(__module_piqt_utils PIQtUtils )
|
||||
set(__module_virtual_keyboard VirtualKeyboard)
|
||||
|
||||
foreach (_l ${__libs})
|
||||
set( __inc_${_l} "")
|
||||
@@ -68,20 +74,24 @@ foreach (_l ${__libs})
|
||||
set(__libs_${_l} "")
|
||||
endforeach()
|
||||
|
||||
set(__deps_widgets "QAD::Utils")
|
||||
set(__deps_application "QAD::Widgets")
|
||||
set(__deps_blockview "QAD::Widgets")
|
||||
set(__deps_graphic "QAD::Widgets")
|
||||
set(__deps_sql_table "QAD::Widgets")
|
||||
set(__deps_piqt "QAD::Widgets;PIP")
|
||||
set(__deps_piqt_utils "QAD::Blockview;QAD::PIQt")
|
||||
set(__deps_widgets "QAD::Utils")
|
||||
set(__deps_application "QAD::Widgets")
|
||||
set(__deps_blockview "QAD::Widgets")
|
||||
set(__deps_graphic "QAD::Widgets")
|
||||
set(__deps_graphic_analysis "QAD::Graphic;PIP::FFTW")
|
||||
set(__deps_sql "QAD::Utils")
|
||||
set(__deps_sql_table "QAD::Widgets")
|
||||
set(__deps_map "QAD::Utils;QAD::PIQt")
|
||||
set(__deps_piqt "QAD::Widgets;PIP")
|
||||
set(__deps_piqt_utils "QAD::Blockview;QAD::PIQt")
|
||||
set(__deps_virtual_keyboard "QAD::PIQt")
|
||||
|
||||
#message("find QAD ${BUILDING_qad}")
|
||||
#message("find QAD ${BUILDING_QAD}")
|
||||
|
||||
if (BUILDING_qad)
|
||||
if (BUILDING_QAD)
|
||||
|
||||
if (NOT SET_TARGETS_qad)
|
||||
set(SET_TARGETS_qad ON CACHE BOOL "")
|
||||
if (NOT SET_TARGETS_QAD)
|
||||
set(SET_TARGETS_QAD ON CACHE BOOL "")
|
||||
#message("create aliases")
|
||||
foreach(_l ${__libs})
|
||||
foreach(_v ${_QT_VERSIONS_})
|
||||
@@ -104,7 +114,7 @@ else()
|
||||
foreach(_l ${__libs})
|
||||
foreach(_v ${_QT_VERSIONS_})
|
||||
set(_m ${__module_${_l}})
|
||||
find_library(QAD_LIBRARY_${_l}${_v} qad_${_l}${_v} HINTS ${_SEARCH_DIR})
|
||||
find_library(QAD_LIBRARY_${_l}${_v} qad_${_l}${_v} HINTS ${QAD_LIBDIR})
|
||||
#message("found ${_l}${_v} = ${QAD_LIBRARY_${_l}${_v}}")
|
||||
if((NOT TARGET QAD::${_m}${_v}) AND QAD_LIBRARY_${_l}${_v})
|
||||
#message("imported QAD::${_m}${_v} = ${QAD_LIBRARY_${_l}${_v}}")
|
||||
@@ -120,7 +130,7 @@ else()
|
||||
endforeach()
|
||||
set_target_properties(QAD::${_m}${_v} PROPERTIES
|
||||
IMPORTED_LOCATION "${QAD_LIBRARY_${_l}${_v}}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${qad_INCLUDES}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${QAD_INCLUDES}"
|
||||
INTERFACE_LINK_LIBRARIES "${_deps}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
@@ -503,24 +503,24 @@ macro(qad_wrap)
|
||||
get_filename_component(_EXT "${_i}" EXT)
|
||||
#message("${_EXT}")
|
||||
if (NOT ("x${_EXT}" STREQUAL "x"))
|
||||
if (("x${_EXT}" STREQUAL "x.h") OR ("x${_EXT}" STREQUAL "x.hpp"))
|
||||
if ("${_EXT}" MATCHES ".*\\.h(pp)?$")
|
||||
list(APPEND H_LIST "${_i}")
|
||||
#message("header")
|
||||
endif()
|
||||
if (("x${_EXT}" STREQUAL "x.c") OR ("x${_EXT}" STREQUAL "x.cpp") OR ("x${_EXT}" STREQUAL "x.cxx"))
|
||||
if ("${_EXT}" MATCHES ".*\\.c((pp)|(xx))?$")
|
||||
list(APPEND CPP_LIST "${_i}")
|
||||
#message("source")
|
||||
endif()
|
||||
if ("x${_EXT}" STREQUAL "x.ui")
|
||||
if ("${_EXT}" MATCHES ".*\\.ui$")
|
||||
list(APPEND UI_LIST "${_i}")
|
||||
endif()
|
||||
if ("x${_EXT}" STREQUAL "x.qrc")
|
||||
if ("${_EXT}" MATCHES ".*\\.qrc$")
|
||||
list(APPEND RES_LIST "${_i}")
|
||||
endif()
|
||||
if ("x${_EXT}" STREQUAL "x.rc")
|
||||
if ("${_EXT}" MATCHES ".*\\.rc$")
|
||||
list(APPEND RC_LIST "${_i}")
|
||||
endif()
|
||||
if ("x${_EXT}" STREQUAL "x.ts")
|
||||
if ("${_EXT}" MATCHES ".*\\.ts$")
|
||||
list(APPEND TS_LIST "${_i}")
|
||||
endif()
|
||||
endif()
|
||||
@@ -923,6 +923,18 @@ macro(qad_install_lang _NAME)
|
||||
string(SUBSTRING "${_libname}" 0 ${_sl} _libname)
|
||||
string(REPLACE "::" "_" _libname "${_libname}")
|
||||
string(TOLOWER "${_libname}" _libname )
|
||||
if ("${_libname}" STREQUAL "qad_piqtutils")
|
||||
set(_libname "qad_piqt_utils")
|
||||
endif()
|
||||
if ("${_libname}" STREQUAL "qad_sqltable")
|
||||
set(_libname "qad_sql_table")
|
||||
endif()
|
||||
if ("${_libname}" STREQUAL "qad_touchwidgets")
|
||||
set(_libname "qad_touch_widgets")
|
||||
endif()
|
||||
if ("${_libname}" STREQUAL "qad_graphicanalysis")
|
||||
set(_libname "qad_graphic_analysis")
|
||||
endif()
|
||||
#message("imp lib \"${_libname}\"")
|
||||
list(APPEND _qt_libs ${_libname})
|
||||
endif()
|
||||
@@ -932,6 +944,7 @@ macro(qad_install_lang _NAME)
|
||||
list(APPEND _qt_libs "qtbase")
|
||||
foreach (_i ${${PROJECT_NAME}_LANG})
|
||||
foreach (_l ${_qt_libs})
|
||||
#message("lib = \"${_l}\"")
|
||||
unset(_qm_path CACHE)
|
||||
find_file(_qm_path "${_l}_${_i}.qm" PATHS "${Qt${_v}_LANG_DIR}" ${_PATHS} NO_DEFAULT_PATH)
|
||||
if (EXISTS "${_qm_path}")
|
||||
|
||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 38 KiB |
BIN
icons/design/empty-field.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
icons/design/empty-sheet.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
icons/design/graphic.xcf
Normal file
BIN
icons/design/graphic_d.xcf
Normal file
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 701 B |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 24 KiB |
BIN
icons/edit-cut.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
icons/edit-delete-history.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 634 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 61 KiB |
BIN
icons/edit-rename.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 391 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
BIN
icons/location.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 18 KiB |
BIN
icons/mail.png
|
Before Width: | Height: | Size: 918 B |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 943 B After Width: | Height: | Size: 943 B |
BIN
icons/widgets/busy-icon.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 943 B After Width: | Height: | Size: 943 B |
BIN
icons/widgets/circle-indicator.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 638 B |
|
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 693 B |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
icons/widgets/iconed-label.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
icons/widgets/image-view.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 809 B After Width: | Height: | Size: 809 B |
BIN
icons/widgets/maps.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
icons/widgets/pivariantedit.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |