From eec3333c428515a4c3783b8f1b0cf773c949c26c Mon Sep 17 00:00:00 2001 From: Henry Leung Date: Wed, 25 Dec 2024 15:35:27 -0500 Subject: [PATCH] increase the max to 10000x, fix qt5 ui, fix missing header --- src/core/modules/StarWrapper.cpp | 1 + src/gui/configurationDialog.ui | 102 +++++++++++++++---------------- 2 files changed, 52 insertions(+), 51 deletions(-) diff --git a/src/core/modules/StarWrapper.cpp b/src/core/modules/StarWrapper.cpp index 4df2020fcc5b9..bd44e15714faa 100644 --- a/src/core/modules/StarWrapper.cpp +++ b/src/core/modules/StarWrapper.cpp @@ -26,6 +26,7 @@ #include "StelUtils.hpp" #include "StelTranslator.hpp" +#include "StelModuleMgr.hpp" #include #include diff --git a/src/gui/configurationDialog.ui b/src/gui/configurationDialog.ui index 71493ad8be123..158dcd66bf36e 100644 --- a/src/gui/configurationDialog.ui +++ b/src/gui/configurationDialog.ui @@ -36,7 +36,7 @@ - QFrame::Shape::StyledPanel + QFrame::StyledPanel @@ -57,37 +57,37 @@ - Qt::FocusPolicy::NoFocus + Qt::NoFocus - Qt::ScrollBarPolicy::ScrollBarAlwaysOff + Qt::ScrollBarAlwaysOff - Qt::ScrollBarPolicy::ScrollBarAlwaysOff + Qt::ScrollBarAlwaysOff - QAbstractItemView::SelectionMode::SingleSelection + QAbstractItemView::SingleSelection - QListView::Movement::Static + QListView::Static - QListView::Flow::LeftToRight + QListView::LeftToRight false - QListView::ResizeMode::Adjust + QListView::Adjust - QListView::LayoutMode::SinglePass + QListView::SinglePass 0 - QListView::ViewMode::IconMode + QListView::IconMode false @@ -186,7 +186,7 @@ - 2 + 0 @@ -228,7 +228,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -250,7 +250,7 @@ true - QComboBox::InsertPolicy::NoInsert + QComboBox::NoInsert @@ -260,14 +260,14 @@ Sky Culture Language - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - Qt::Orientation::Horizontal + Qt::Horizontal @@ -283,14 +283,14 @@ Program Language - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - Qt::Orientation::Horizontal + Qt::Horizontal @@ -312,10 +312,10 @@ true - QComboBox::InsertPolicy::NoInsert + QComboBox::NoInsert - QComboBox::SizeAdjustPolicy::AdjustToContentsOnFirstShow + QComboBox::AdjustToContentsOnFirstShow true @@ -519,7 +519,7 @@ true - Qt::TextInteractionFlag::NoTextInteraction + Qt::NoTextInteraction @@ -534,7 +534,7 @@ Startup FOV: XX - Qt::TextInteractionFlag::TextSelectableByMouse + Qt::TextSelectableByMouse @@ -547,7 +547,7 @@ Startup direction of view: xxxx - Qt::TextInteractionFlag::TextSelectableByMouse + Qt::TextSelectableByMouse @@ -559,7 +559,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -977,7 +977,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -1057,7 +1057,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1093,7 +1093,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -1471,7 +1471,7 @@ true - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter 0 @@ -1554,7 +1554,7 @@ and time: - Qt::AlignmentFlag::AlignCenter + Qt::AlignCenter @@ -1598,10 +1598,10 @@ - QFrame::Shape::StyledPanel + QFrame::StyledPanel - QFrame::Shadow::Raised + QFrame::Raised @@ -1634,7 +1634,7 @@ true - QComboBox::InsertPolicy::NoInsert + QComboBox::NoInsert @@ -1656,7 +1656,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1674,10 +1674,10 @@ true - Qt::ScrollBarPolicy::ScrollBarAsNeeded + Qt::ScrollBarAsNeeded - Qt::ScrollBarPolicy::ScrollBarAlwaysOff + Qt::ScrollBarAlwaysOff true @@ -1696,7 +1696,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -1829,7 +1829,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1871,7 +1871,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1918,7 +1918,7 @@ Base font size for on-screen text - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 5 @@ -1947,7 +1947,7 @@ Base font size for dialogs - Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter 7 @@ -1963,7 +1963,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -1982,7 +1982,7 @@ true - QComboBox::InsertPolicy::NoInsert + QComboBox::NoInsert @@ -2035,7 +2035,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -2118,7 +2118,7 @@ 1.000000000000000 - 1000.000000000000000 + 10000.000000000000000 1.000000000000000 @@ -2245,7 +2245,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -2389,7 +2389,7 @@ true - QComboBox::InsertPolicy::NoInsert + QComboBox::NoInsert @@ -2409,7 +2409,7 @@ - Qt::Orientation::Horizontal + Qt::Horizontal @@ -2499,7 +2499,7 @@ - Qt::Orientation::Vertical + Qt::Vertical @@ -2531,10 +2531,10 @@ - Qt::FocusPolicy::NoFocus + Qt::NoFocus - Qt::ScrollBarPolicy::ScrollBarAlwaysOff + Qt::ScrollBarAlwaysOff @@ -2645,10 +2645,10 @@ - Qt::FocusPolicy::NoFocus + Qt::NoFocus - Qt::ScrollBarPolicy::ScrollBarAlwaysOff + Qt::ScrollBarAlwaysOff