Compare commits

...

70 Commits

Author SHA1 Message Date
681a79a672 some fixes 2025-11-28 22:18:37 +03:00
88bcc7f2e9 OSM map tile provider change default to https 2025-10-08 16:56:01 +03:00
04d9cf6edf .clang-format 2025-09-21 21:08:26 +03:00
66dc481d6e .clang-format 2025-09-19 17:39:59 +03:00
f8e361190b version 2.32.2 2025-07-17 11:17:32 +03:00
745376adfb Merge branch 'master' of https://git.shstk.ru/SHS/qad 2025-07-13 00:28:58 +03:00
13d4e6cb75 gesture pitch & pan fix 2025-07-13 00:28:53 +03:00
0f13cf5196 qcodeedit fix incorrect completer position 2025-06-26 17:43:02 +03:00
d403d0a242 maps no retry on access denied 2025-06-10 00:02:41 +03:00
c959a712f7 fix Esc shortcut 2025-06-09 23:41:58 +03:00
f9a8f5d6b1 qad_target_link_libraries now link Qt libs after all other 2025-06-07 10:57:06 +03:00
49ae1473f9 new cmake 2025-04-29 21:51:03 +03:00
b8e8a1300e more piCout operators in piqt.h 2025-03-20 18:48:17 +03:00
26396a4f72 add MapItemBase::renderHints 2025-03-20 18:43:42 +03:00
2cb43ab411 add QSlider to SessionManager 2025-03-20 10:22:28 +03:00
8df58026c4 fix for Qt6
MapView add contrast property
MapView fix plugin
2025-03-19 22:03:51 +03:00
f0c2369df0 fix MapView, so tile provider can be accessible
add MapViewTileProviderBase::maximumLevel()
2025-03-18 16:24:02 +03:00
a0f2d80b4f MapViewTileProviderBase add cacheDir() 2025-03-18 15:17:14 +03:00
347104d512 QAD::Map:
* add MapViewTileProviderBase - base class for tile server provider
 * migrate OSM to new class
 * add MapTiler provider
 * add offlineMode for MapView
2025-03-18 12:16:10 +03:00
bf11ca21c0 add IndexedTimer::stopAllIndexedTimers 2025-03-04 19:59:36 +03:00
f36038bf10 ImageView now container in Qt-designer 2025-01-29 11:53:39 +03:00
266e9ac351 adopt for Qt6 2025-01-06 12:56:06 +03:00
c6b2bb128a remove unnecessary dependencies for SQL module 2024-12-31 17:02:23 +03:00
04b40d367c apply some code analyzer recommendations 2024-11-20 20:02:09 +03:00
1becca7519 small changes of BusyIcon 2024-11-10 21:29:32 +03:00
8f969a1b41 icon 2024-11-02 14:15:19 +03:00
e791618a17 version 2.32.0
work with icons - remove unused, organize and update to last oxygen
add BusyIcon widget
2024-10-30 22:22:44 +03:00
f8fec93f0e fix qad_wrap() - support for complex extensions (e.g. "file.1.cpp") 2024-10-19 17:10:47 +03:00
26a656a9a0 version 2.31.0 2024-10-15 15:05:41 +03:00
6153c1d8dd move qCallQueued 2024-10-14 18:42:29 +03:00
744d689eee add qCallQueued 2024-10-14 18:36:04 +03:00
dd4695780d PIQt now provide PICout << operators for Qt types
MapView::setTileObsoleteTime() method. You can set maximum lifetime for tile, after that it will be redownloaded
2024-09-28 09:15:25 +03:00
2eacbfbfc1 MapItemEllipse fix 2024-08-31 22:19:26 +03:00
ab423e1530 migrate to PIP v4 2024-07-30 14:19:13 +03:00
083dc3edf5 MapItemBase visible API
MapItemEllipse::rebuild fix
2024-07-10 12:55:42 +03:00
5bc7d7cf06 hide by default 2024-06-01 22:37:18 +03:00
ac0f5bc325 add QAD::VirtualKeyboard library, vkbd for widgets with JSON-based description 2024-05-29 21:42:16 +03:00
85adc666ef more protection 2024-05-13 22:29:38 +03:00
0dcc0da004 CircleIndicator icon fix 2024-05-02 12:26:33 +03:00
44839c740d CircleIndicator icon 2024-05-02 12:10:09 +03:00
144d24711c add CircleIndicator 2024-04-30 15:23:48 +03:00
9966f2d5e4 version 2.28.0
piqt conversion PI2QMathMatrixT(), Q2PIMathMatrixT() and many Q2PIMathVectorT()
2024-04-26 15:37:57 +03:00
82f863db47 add to indexedTimer single shot and remaining time 2024-04-18 16:23:37 +03:00
c3ba09328b add ChunkStream::getData(int) 2024-04-09 18:55:35 +03:00
bee9bd12d5 version 2.27.0
Graphic legend checks context menu rework
2024-04-08 11:25:46 +03:00
073d483381 add QAD::loadedLanguage variable 2024-03-29 21:31:39 +03:00
ab2c8d4480 StateIcon improvements 2024-03-26 10:35:08 +03:00
592c17e1c7 add StateIcon 2024-03-24 22:38:52 +03:00
47420cf19a IndexedTimer type 2024-03-24 20:23:15 +03:00
dedd38772e old Qt 2024-03-13 16:40:17 +03:00
50a231a8e7 version 2.25.0
add qad_timers.h in PIQt, IndexedTimer
2024-03-05 19:39:49 +03:00
03f8452512 version 2.24.0
Graphic setCustomSaveImageTitleFunc() - add custom title when save to image
2024-02-27 14:43:36 +03:00
12f0603413 Graphic more accuracy when save *.csv 2024-02-22 17:12:48 +03:00
18526cdf29 download 2024-02-04 13:02:19 +03:00
4c7b9444b6 Graphic now index-safe 2024-01-19 14:50:21 +03:00
33f4394243 fix for Qt6, segfault on ~EDockWidget 2024-01-19 12:45:12 +03:00
b340dfebac qad 2.23 2024-01-18 18:41:28 +03:00
6a67442d21 smaller icons in Ribbon 2024-01-18 18:36:51 +03:00
8feb5c240c autocompleter color firx 2024-01-18 18:26:50 +03:00
64f3448b5c dark works 2024-01-18 18:18:29 +03:00
a93db66d78 isDarkTheme getter 2024-01-18 18:06:40 +03:00
071a73f5ba another try for dark theme 2024-01-18 18:04:02 +03:00
2739cc53ec detectTheme 2024-01-18 17:42:57 +03:00
ccf17510d8 fix 2024-01-18 17:39:42 +03:00
e0134b3b5e QCodeEdit dark theme test 2024-01-18 17:38:02 +03:00
b9dea57200 QCodeEdit autocompletition on doc start fix 2024-01-18 15:28:25 +03:00
7a669d47c8 fix Graphic first graphic 2024-01-16 14:04:38 +03:00
c3dcf36a20 version 2.22.0
blockview small code clean
add PIValueTree to BLockItem, BlockItemPin and BlockBusItem
add QAD::CursorOverrider::restore()
fix QCodeEdit escape key while block selection
2024-01-14 11:45:28 +03:00
e2a91a4fbd ~ImageView fix 2023-12-24 22:46:17 +03:00
504abae440 PICODEINFO:: changed 2023-12-08 19:01:43 +03:00
243 changed files with 4096 additions and 762 deletions

View File

@@ -135,7 +135,7 @@ JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
MacroBlockBegin: "PRIVATE_DEFINITION_START|STATIC_INITIALIZER_BEGIN"
MacroBlockEnd: "PRIVATE_DEFINITION_END|STATIC_INITIALIZER_END"
MacroBlockEnd: "PRIVATE_DEFINITION_END|PRIVATE_DEFINITION_END_NO_INITIALIZE|STATIC_INITIALIZER_END"
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto

View File

@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.13)
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 21)
set(QAD_REVISION 1)
set(QAD_MINOR 32)
set(QAD_REVISION 2)
set(QAD_SUFFIX )
set(QAD_COMPANY SHS)
set(QAD_DOMAIN org.SHS)

View File

@@ -11,6 +11,7 @@ Create imported targets:
* QAD::SQLTable
* QAD::TouchWidgets
* QAD::Doc
* QAD::VirtualKeyboard
* QAD::PIQt
* QAD::PIQtUtils
@@ -46,7 +47,7 @@ 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;graphic_analysis;graphic3d;sql;sql_table;touch_widgets;doc;map")
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()
@@ -65,6 +66,7 @@ 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} "")
@@ -77,11 +79,11 @@ 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}")

View File

@@ -137,6 +137,9 @@ endif()
if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW) # ignore <PackageName>_ROOT variables
endif()
if (POLICY CMP0177)
cmake_policy(SET CMP0177 OLD)
endif()
set(__qt_bug_modules "UiTools")
set(__qt_modules_4 "CLucene;Core;Declarative;Gui;Help;main;Multimedia;Network;OpenGL;\
@@ -503,24 +506,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()
@@ -723,7 +726,7 @@ macro(qad_target_link_libraries _NAME)
list(APPEND _ARGS ${_i})
endif()
endforeach()
target_link_libraries(${_TARGET} ${Qt${_v}_LIBRARIES} ${_ARGS})
target_link_libraries(${_TARGET} ${_ARGS} ${Qt${_v}_LIBRARIES})
#message("link ${_TARGET}: ${Qt${_v}_LIBRARIES} ${_ARGS}")
endif()
endforeach()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
icons/design/graphic.xcf Normal file

Binary file not shown.

BIN
icons/design/graphic_d.xcf Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 634 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 61 KiB

BIN
icons/edit-rename.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 943 B

After

Width:  |  Height:  |  Size: 943 B

BIN
icons/widgets/busy-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 943 B

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 638 B

After

Width:  |  Height:  |  Size: 638 B

View File

Before

Width:  |  Height:  |  Size: 693 B

After

Width:  |  Height:  |  Size: 693 B

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 809 B

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 818 B

After

Width:  |  Height:  |  Size: 818 B

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

Some files were not shown because too many files have changed in this diff Show More