Create a cpp helper class to calculate the correct delegate width given it's parent width. This is designed to be more robust and hopefully easier to understand than the current mass of javascript calcs. BUG: 470167
23 lines
457 B
CMake
23 lines
457 B
CMake
# SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
enable_testing()
|
|
|
|
ecm_add_test(
|
|
neochatroomtest.cpp
|
|
LINK_LIBRARIES neochat Qt::Test
|
|
TEST_NAME neochatroomtest
|
|
)
|
|
|
|
ecm_add_test(
|
|
texthandlertest.cpp
|
|
LINK_LIBRARIES neochat Qt::Test
|
|
TEST_NAME texthandlertest
|
|
)
|
|
|
|
ecm_add_test(
|
|
delegatesizehelpertest.cpp
|
|
LINK_LIBRARIES neochat Qt::Test
|
|
TEST_NAME delegatesizehelpertest
|
|
)
|