Commit Graph

33 Commits

Author SHA1 Message Date
Furgo
40fe023c26 Start: enable multiple custom folder paths
* Update tooltip to indicate support for multiple custom folder paths
* Remove migration step that worked around lack of multiple folder support
* Remove obsolete migration method
* Address linter warnings: build/include_what_you_use
* Add QStringList as requested on https://github.com/FreeCAD/FreeCAD/pull/19948/files#r1982267583
2025-03-06 10:13:40 +01:00
Chris Hennes
1a2070c36f Merge pull request #19636 from kadet1090/color-in-base
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Furgo
6442ad581e Move CustomFolder parameter migration to more appropriate location 2025-03-02 01:04:19 +00:00
Kacper Donat
13fbab9e42 Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Furgo
226f67a1e8 Start: add optional custom folder view (#19473)
* Start: add optional additional folder view

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added logic to migrate ShowCustomFolder parameter

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Rename Additional to Custom folder

* Change Start page text to sentence case for consistency

* Fix breakage created by pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Rearrange migration logic to make it more explicit

* Revert "Change Start page text to sentence case for consistency"

This reverts commit 8a31a1238c0380ddbe13e6e5838a3be6b13400a5.

* Make parameterGroup local

* Apply suggestions and linter improvements

* Adapted suggestion to simplify migration logic

* Start: Warning -> Message for rename of ShowCustomFolder

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-02-17 10:18:35 -06:00
Benjamin Bræstrup Sayoc
e2baa03d24 Start: Use QStringLiteral 2025-02-10 18:32:45 +01:00
Mark Ganson TheMarkster
3b7b7d6e5c [Start page] Implement ShowExamples parameter (#19376)
* [Start page] Implement ShowExamples parameter
2025-02-05 20:01:54 -06:00
Benjamin Bræstrup Sayoc
8b2453cf88 [Gui] Fix 100% CPU usage due to StartView (#17565)
* [Gui] Fix 100% CPU usage due to StartView

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-06 16:11:30 +01:00
Benjamin Bræstrup Sayoc
ff28df61f1 [Gui] Make styles update on paint (#17376)
* [Gui] Make styles update on paint

Fixes #15756. Similar implementation to that already in FileCardDelegate.cpp

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-28 16:48:47 +01:00
wmayer
ac997ea55a Start: Use ModuleIO in StartView::fileCardSelected 2024-10-15 14:07:14 +02:00
Benjamin Nauck
ca7833a805 Fix crashes when importing and opening .csv files on macOS (#17084)
* Open recent documents from start same way as in menu

* Make insert spreadsheet create document if not available.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-10-14 18:01:50 +02:00
Syres916
6a3915316f [Gui] Disable the ability to change themes and preference packs... 2024-10-10 20:25:30 -05:00
marcuspollio
de33890cd4 Start: little layout tweak to First Start Region 2024-10-07 17:41:42 +02:00
bgbsww
85082b72d4 Move the recompute dialog to after Gui opens instead of per document signal. 2024-09-19 08:49:13 -05:00
wmayer
265909da4a StartPage: Make sure to pass a container widget to the QScrollArea
Fixes #16047: FreeBSD: Segfault in StartView::firstStartWidgetDismissed
2024-09-12 12:04:23 +02:00
Kacper Donat
082b5edf29 Gui: Do not show overlay panels in Start 2024-08-26 11:24:19 -05:00
qewer33
ab1872fdbf Fix FirstStartWidget dismiss signal handling 2024-08-06 18:55:56 -05:00
qewer33
ab79cf0b94 Fix open first start button translation 2024-08-06 18:55:56 -05:00
qewer33
001cb880b2 Fix QStackedWidget layout warning 2024-08-06 18:55:56 -05:00
qewer33
14ed708e02 Make start page use QStackedWidget + other fixes
closes #14039, closes #14694, closes #14817, closes #15113
2024-08-06 18:55:56 -05:00
Kacper Donat
d282d449b9 Gui: Ability to target new file buttons fia QSS.
This adds ability to target New File buttons via `#CreateNewRow >
QPushButton` selector.
2024-07-15 10:43:05 -05:00
wmayer
17829d6383 Start: Make the Start Page a passive view
Do not attach the Start Page to an existing document as otherwise weird behaviour can be observed:
1. Start FreeCAD
2. Open a project file or data file
3. Open the Start Page
4. Make a change to the document
5. Close the document. You won't be asked to save your change
6. In the tree view the document is still shown because the Start Page is attached to the document
7. Close the Start Page. Now you will be asked to save your change
2024-07-04 22:18:42 +02:00
Jookia
5a66b77307 StartView: Escape file paths when loading 2024-07-02 08:31:59 -05:00
efferre79
4be2196717 add horizontal scrollbar to startpage
On systems with legacy monitors the display might be not as large as needed to display completely the start page. In that case the user is forced to use the keyboard to scroll horizontally the start page.
2024-05-27 11:43:39 -05:00
Yorik van Havre
23fc3bb5bc Start: Used BIM icon instead of Arch 2024-05-16 17:23:10 +02:00
Chris Hennes
b4b548025d Start: Invert sense of checkbox 2024-04-28 12:57:42 -05:00
Chris Hennes
5c46dfd600 Start: Create 'First Start' screen 2024-04-28 12:57:00 -05:00
Chris Mayo
8f27e53ed4 Start: Allow system Microsoft GSL to be used 2024-04-24 14:23:21 -05:00
wmayer
3a36c737fd Start: Fix memory leak
* Set parent object to FileCardDelegate so that it will be destroyed if the list view is destroyed
* Inside FileCardDelegate::paint() delete the widget
2024-04-24 15:00:15 +02:00
wmayer
085ebeb9de Start: replace QGridLayout with FlowLayout 2024-04-23 23:53:52 +02:00
wmayer
690b3c97e4 Start: Make the new StartPage look more like the old one
Use style sheets to give visual feedback about hovered or clicked buttons & labels
2024-04-23 16:00:10 +02:00
Chris Hennes
4b32ab84ed Start: UX refinements
Start: Automatically run command when event loop starts
Also sets PartDesign as the default startup Workbench.
Start: Add checkbox for starting or not starting Start
Start: Correct default card size parameter access
Start: General cleanup
2024-04-21 22:27:50 -05:00
Chris Hennes
820b16ef6b Start: Remove old WB and replace with new 2024-04-21 22:27:50 -05:00