Skip to content

Commit

Permalink
Merge pull request FreeCAD#10520 from qewer33/startpage-quickstart-open
Browse files Browse the repository at this point in the history
StartPage: Add custom CSS option, re-organize preferences and further fixes
  • Loading branch information
chennes authored Sep 4, 2023
2 parents d57d143 + 9dec8d3 commit 331b764
Show file tree
Hide file tree
Showing 13 changed files with 558 additions and 448 deletions.
3 changes: 2 additions & 1 deletion src/Mod/Start/Gui/AppStartGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ PyMOD_INIT_FUNC(StartGui)

// clang-format off
// register preferences pages
new Gui::PrefPageProducer<StartGui::DlgStartPreferencesImp>(QT_TRANSLATE_NOOP("QObject", "Start"));
new Gui::PrefPageProducer<StartGui::DlgStartPreferencesImp> (QT_TRANSLATE_NOOP("QObject", "Start"));
new Gui::PrefPageProducer<StartGui::DlgStartPreferencesAdvancedImp> (QT_TRANSLATE_NOOP("QObject", "Start"));
// clang-format on

// instantiating the commands
Expand Down
2 changes: 2 additions & 0 deletions src/Mod/Start/Gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ set(StartGui_LIBS

set(StartGui_UIC_SRCS
DlgStartPreferences.ui
DlgStartPreferencesAdvanced.ui
)

set (Start_TR_QRC ${CMAKE_CURRENT_BINARY_DIR}/Resources/Start_translation.qrc)
Expand All @@ -26,6 +27,7 @@ SET(StartGui_SRCS
${Start_QRC_SRCS}
${StartGui_UIC_SRCS}
DlgStartPreferences.ui
DlgStartPreferencesAdvanced.ui
DlgStartPreferencesImp.cpp
DlgStartPreferencesImp.h
AppStartGui.cpp
Expand Down
Loading

0 comments on commit 331b764

Please sign in to comment.