Add an initial Qt6 support

This commit is contained in:
Andrei Kortunov 2023-02-05 15:30:28 +04:00
parent 72efd3a650
commit 7e2aedf637
10 changed files with 50 additions and 23 deletions

View file

@ -66,11 +66,13 @@ void CSMPrefs::State::declare()
.addValue(scrollbarOnly)
.addValue("Grow Only", "The view window grows as subviews are added. No scrollbars.")
.addValue("Grow then Scroll", "The view window grows. The scrollbar appears once it cannot grow any further.");
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
declareBool("grow-limit", "Grow Limit Screen", false)
.setTooltip(
"When \"Grow then Scroll\" option is selected, the window size grows to"
" the width of the virtual desktop. \nIf this option is selected the the window growth"
"is limited to the current screen.");
#endif
declareCategory("Records");
EnumValue iconAndText("Icon and Text");