fix(cpn): radio specific name and label validators (#4670)

Only allows valid characters in names, drops invalid characters if present
This commit is contained in:
Neil Horne
2024-02-28 11:35:57 +10:00
committed by GitHub
parent 3807d7759b
commit 57c7aca2f6
31 changed files with 428 additions and 139 deletions
+8
View File
@@ -19,10 +19,18 @@ set(${PROJECT_NAME}_NAMES
curvedialog
genericpanel
verticalscrollarea
textvalidator
)
AddHeadersSources()
# these have no cpp
set(${PROJECT_NAME}_HDRS
${${PROJECT_NAME}_HDRS}
namevalidator.h
labelvalidator.h
)
# AUTOMOC does not detect so manually process
qt5_wrap_cpp(${PROJECT_NAME}_SRCS
${${PROJECT_NAME}_HDRS}