feat: Companion - New model curve tab layout, curve edit dialog and mix edit curve view (#1484)
Add curve image and double click to edit to input edit, mix edit and outputs
This commit is contained in:
@@ -14,6 +14,12 @@ set(shared_NAMES
|
||||
autoslider
|
||||
autospinbox
|
||||
autotimeedit
|
||||
curveimagewidget
|
||||
curvedialog
|
||||
)
|
||||
|
||||
set(shared_UIS
|
||||
curvedialog.ui
|
||||
)
|
||||
|
||||
foreach(name ${shared_NAMES})
|
||||
@@ -21,13 +27,16 @@ foreach(name ${shared_NAMES})
|
||||
set(shared_HDRS ${shared_HDRS} ${name}.h)
|
||||
endforeach()
|
||||
|
||||
qt5_wrap_ui(shared_SRCS ${shared_UIS})
|
||||
qt5_wrap_cpp(shared_SRCS ${shared_HDRS})
|
||||
|
||||
# add after moc generation to stop warnings
|
||||
set(shared_SRCS ${shared_SRCS}
|
||||
autowidget.h
|
||||
autowidget.cpp
|
||||
curveimage.h
|
||||
curveimage.cpp
|
||||
)
|
||||
|
||||
add_library(shared ${shared_SRCS})
|
||||
target_link_libraries(shared PRIVATE Qt5::Widgets ${CPN_COMMON_LIB})
|
||||
target_link_libraries(shared PRIVATE datamodels Qt5::Widgets ${CPN_COMMON_LIB})
|
||||
|
||||
Reference in New Issue
Block a user