Steve Pham
d89dcff7df
Fix failing zero color conversion test on Linux
...
* Removed AZ_TRAIT_DISABLE_FAILED_ZERO_COLOR_CONVERSION_TEST (#6074 )
* Protect against 'NaN' (divide by zero) for saturation calculations by setting value to zero instead
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com >
2021-12-02 08:50:03 -08:00
Michael Pollind
bd1c8ec961
chore: remove duplicate instance of FancyDockingDropZoneConstants ( #5827 )
...
* chore: remove duplicate instance of FancyDockingDropZoneConstants
Signed-off-by: Michael Pollind <mpollind@gmail.com >
* chore: move to namespace
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-12-02 09:28:29 +00:00
Artur K
eca2e36687
Fix clang 13 compilation problems ( #5791 )
...
* Fix clang 13 compilation problems
Re-instated ShowPlayedSequencesDebug logic by introducing no-op lambda
which replaces missing `Draw2dLabel` functionality ( added TODO marker
there )
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* apply review suggestions
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix type in assert message
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
2021-11-25 09:24:39 +00:00
Michael Pollind
1649d86568
chore: update static const declerations in AzQtComponent ( #5826 )
...
* chore: update static const declerations in AzQtComponent
Signed-off-by: Michael Pollind <mpollind@gmail.com >
* chore: update static const
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-24 09:17:54 +00:00
Michael Pollind
eddb867ddf
bugfix: change event to WindowBlocked for FancyDocking
...
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-04 19:36:09 -07:00
Michael Pollind
b42f1b022e
replace with ungrab mouse event instead of deactivate window
...
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-04 19:36:08 -07:00
Michael Pollind
b3c7bf47f2
Update Code/Framework/AzQtComponents/AzQtComponents/Components/FancyDocking.cpp
...
Signed-off-by: Michael Pollind mpollind@gmail.com
Co-authored-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com >
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-04 19:36:08 -07:00
Michael Pollind
9eb7972e74
bugfix: main window is deactived for tabbed window preventing the use from dragging tabbed windows
...
issue: https://github.com/o3de/o3de/issues/4658
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-04 19:36:08 -07:00
Michael Pollind
4277414268
bugfix: cycle mouse to the other side of the screen when using scrollbox ( #5048 )
...
* bugfix: cycle mouse to the other side of the screen when using scrollbox
Signed-off-by: Michael Pollind <mpollind@gmail.com >
* chore: added comments to SpinBox
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-03 13:31:56 -07:00
Michael Pollind
32bebe1c8c
bugifx: resolve crash with project manager ( #5151 )
...
- system allocator not configured in environment for AZQtComponents
- WA_DeleteOnClose will destroy the toast dialog causing a crashing when ToastNotificationsView tries to access the pointer
issue: https://github.com/o3de/o3de/issues/5129
Signed-off-by: Michael Pollind <mpollind@gmail.com >
2021-11-02 08:59:19 -07:00
Alex Peterson
7a0246530a
Fix notification queue and add gem action ( #4985 )
...
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
2021-10-26 14:37:47 -07:00
Danilo Aimini
a4e0d69e83
Update Splashscreen and About Us dialogs for General Availability ( #4901 )
...
* Add new image for splashscreen. Layout changes incoming.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Adapt layouts to new splashscreen style with transparent background.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Ensure cropping logic works correctly when screen scaling is used.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Remove old image. Replace new image with new version with more readable credits.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-10-22 12:46:06 -07:00
Alex Peterson
1989316cac
Added toast notifications to the gem catalog
2021-10-22 09:11:28 -07:00
Danilo Aimini
52112be1ac
LYN-7448 + LYN-7542 + LYN-7543 | Focus Mode - UX Improvements ( #4837 )
...
* Introduce Outliner button to simplify Prefab editing
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Fix Focus Mode and disabled entities colors
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Fix - propagate the event if the OnOutlinerItemClick function returns false.
This does not change current behavior but makes more sense in the context of future handlers.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Adjust disabled colors to match UX recommendations.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Display the edit button even if the prefab is disabled. Remove prefabWip check (it will be removed for focus mode by the time this goes in). Default to disabled capsule color for borders to save on checks.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Disable edit button on disabled prefabs as it caused conflicts in nested prefabs. May explore that possibility later.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Change disabled text color to be darker, as asked by UX.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-10-21 13:43:21 -07:00
Alex Peterson
7ddcdffed7
Move Qt Toast Notifications from GraphCanvas into Framework
...
Move the existing Qt Toast Notification QWidgets, EBuses and logic from the GraphCanvas gem into AzQtComponents and AzToolsFramework so they can be re-used.
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
2021-10-20 11:15:24 -07:00
Steve Pham
8d7b03c859
Implement open in file browser for Linux ( #4677 )
...
* Add support to open folder browser for Linux
* PAL'ified DesktopUtilities.cpp
Signed-off-by: Steve Pham <spham@amazon.com >
2021-10-14 08:27:43 -07:00
greerdv
622a9bc009
merge from development
...
Signed-off-by: greerdv <greerdv@amazon.com >
2021-10-11 10:23:42 +01:00
Steve Pham
73f8537030
Fix Issue saving new assets in Asset Editor on Linux ( #4537 )
...
* Add helper function to apply a selected file filter from a file dialog to the result filename if needed
* Add platform traits to restrict the use of the helper function on platforms that need to apply it
* Fix building of file filters of multiple extensions for a file type
Signed-off-by: Steve Pham <spham@amazon.com >
2021-10-08 11:41:46 -07:00
greerdv
c562f0a807
small improvements to triangle mesh rigid body warning
...
Signed-off-by: greerdv <greerdv@amazon.com >
2021-10-08 16:56:53 +01:00
amzn-sean
43748c37fd
update joints to use cluster viewport ui. ( #4352 )
...
also some joints Component mode cleanup.
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com >
2021-09-30 13:39:22 +01:00
Artur K
f44169f7fa
Cleanup SerializeContext.h pt.1 ( #4264 )
...
* Remove AssetSerializer inclusion from SerializeContext header
Moved a few Reflect methods to new cpp files.
In addition, some preparations for further header dependency reductions.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix smoke test lua failures.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Windows build fixes.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Missing license headers
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix white-space issues.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Code review fix for AzToolsFramework/AssetEditor/AssetEditorBus.h
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix inheritance list wrapping broken by older clang-format
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2021-09-29 11:31:01 -05:00
Danilo Aimini
a9091b0a72
Minor changes to comments
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-15 15:47:23 -07:00
Danilo Aimini
0413f3b7e2
Merge branch 'development' of https://github.com/o3de/o3de into daimini/dpiIssues/floatingWidgetFlickerBetweenScreens
2021-09-15 14:52:35 -07:00
Danilo Aimini
50e4d549f4
Add comments
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-15 14:51:36 -07:00
Danilo Aimini
f111b67df6
Fix issue with one frame flicker in the transition between paint modes.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-15 14:44:27 -07:00
Danilo Aimini
81bd7b1f5f
Implement a system that resizes the ghost widget appropriately to avoid undefined behavior due to it being moved into the gap between screens caused by scaling.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-14 20:11:00 -07:00
Esteban Papp
36b7cb2814
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
# Conflicts:
# Code/Framework/AzCore/AzCore/Memory/HeapSchema.h
# Code/Framework/AzCore/AzCore/Memory/HphaSchema.h
# Code/Framework/AzCore/AzCore/Memory/MallocSchema.h
# Code/Framework/AzCore/AzCore/Memory/OverrunDetectionAllocator.h
2021-09-14 15:32:35 -07:00
Danilo Aimini
c0426ba465
PerScreenDpi | QLabels incorrectly handle scale for icons ( #4070 )
...
* Fixes to icon generation. Generating a pixmap out of a size won't take the screen scaling factor into account, resulting in blurry results.
Note that this is not a catchall solution, every case needs to be addressed manually.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* HighDpi fixes for startup splashscreen and About dialog
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Add helper function to generate appropriate pixmaps for a screen based on its dpi settings.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-14 20:35:56 +01:00
Esteban Papp
ee2e728760
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-14 10:28:58 -07:00
Danilo Aimini
850d401bb3
PerScreenDpi | Moving windows between screens with different scale changes the window size ( #4064 )
...
* Fix window size when dropped on a screen with a different scale setting compared to the one it was dragged from.
Note that this fixes a bug that could only be reproduced with the PerScreenDpiAware setting activated - current editor uses SystemDpiAware.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
* Fix loss of precision warning.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-13 14:55:55 -07:00
Danilo Aimini
2b7caa685b
Introduce default font size. This fixes sizing and spacing for text rendered via a painter with not font specified. ( #4069 )
...
Also removed some qss for windows that have been removed.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-13 14:23:00 -07:00
Esteban Papp
5965760612
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-10 20:27:01 -07:00
Esteban Papp
81749ac318
Improves numeric_cast compilation ( #3995 )
...
* Improves numeric_cast compilation:
before: 872s
after: 824s (5.5% reduction)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-10 08:41:19 -07:00
Esteban Papp
9f6d4125b8
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-09 11:50:40 -07:00
AMZN-koppersr
f9ce966103
Merge pull request #3440 from aws-lumberyard-dev/Prefab/SaveAllPrefabs
...
Provide options to save prefabs when saving levels
2021-09-09 10:33:22 -07:00
Esteban Papp
f414cd3966
More fixes
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-08 16:50:57 -07:00
Esteban Papp
28795c8f5c
Fixes AzQtComponents
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-03 15:08:23 -07:00
srikappa-amzn
fbf92e9775
Merge branch 'development' into Prefab/SaveAllPrefabs
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-09-02 23:40:54 -07:00
Artur K
567c0ae24d
Modernization + AZStd::function compare fix. ( #3680 )
...
* Modernization + small fix.
Modernize ( `bool`/`override`/other) code in AzCore, AzFramework, AzQtComponents, AzToolsFramework, etc.
Replaced a `bind` or two, use `using` in a few places as well.
Fix nullptr comparison of AZStd::function.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Apply review-based changes
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
2021-09-02 14:55:09 -05:00
Chris Galvan
043b218165
Updated invalid filename warning with more explicit message from PR feedback.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-27 15:44:31 -05:00
Chris Galvan
d590a91fe7
Implemented helper method of QFileDialog::getSaveFileName to prevent user from saving files with invalid names.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-27 11:24:05 -05:00
Esteban Papp
31addc43dc
Windows and Linux compiling
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-23 14:02:45 -07:00
Esteban Papp
6bdef50444
Code/Framework
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-23 13:00:45 -07:00
Esteban Papp
fbbcdfd3ca
Code/Framework/AzQtComponents
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-20 17:56:25 -07:00
Esteban Papp
9245a31196
more fixes for Code
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-20 14:48:42 -07:00
srikappa-amzn
c20ec14af7
Added comments and did some code clean up
...
Changes in this commit:
- Added comments to dialog code in CryEdit.cpp and CryEditDoc.cpp
- Moved Code/Framework/AzQtComponents/AzQtComponents/Components/img/UI20/Cards/warning.svg to Code/Framework/AzQtComponents/AzQtComponents/Images/Notifications/warning.svg
- Improved the hover message over prefab settings in EditorPreferencesPageGeneral.cpp
- Fixed a syntax error in Editor.qss
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-08-20 13:42:56 -07:00
Esteban Papp
1e136a02b0
Merge branch 'development' into cmake/SPEC-2513_w4244
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
# Conflicts:
# Code/Framework/Crcfix/crcfix.cpp
2021-08-18 12:39:24 -07:00
John Jones-Steele
740ee1f8a4
Fixed wheel working on spinbox non focussed
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com >
2021-08-18 12:27:10 +01:00
Esteban Papp
3eb658534b
More Code/Framework
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-16 16:42:19 -07:00
sphrose
181698b950
LY-91616 Dyn Veg: Push (up) and Pop (down) Items in Descriptor List ( #3013 )
...
* LY-91616 Dyn Veg: Push (up) and Pop (down) Items in Descriptor List
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
* Changes as per reviews.
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
* Additional review changes.
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
* review change
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
2021-08-16 10:54:15 +01:00