John Jones-Steele
0b9dc78d67
Fixed problem with inputting numbers in sliders ( #6859 )
...
* Fixed problem with inputting numbers in sliders
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Changes from PR
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Missed removing pragma optimize
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
2022-01-17 17:58:19 +00:00
John Jones-Steele
7c88f20e1e
Spinboxes now correct when rounding. ( #6748 )
...
* Spinboxes now correct when rounding.
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Changes from PR
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
* Fixed tests after change to rounding in spinbox
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
2022-01-10 11:49:22 +00:00
sphrose
783a04b880
3495 Preferences panel update: fix richtext elision and allow html links
...
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
2022-01-05 18:00:07 +00:00
John Jones-Steele
219653a75b
Fixes rounding error display in Slider control ( #6477 )
...
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com >
2021-12-21 10:43:18 +00:00
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
Alex Peterson
1989316cac
Added toast notifications to the gem catalog
2021-10-22 09:11:28 -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
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
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
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
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
Chris Galvan
2063e7f2dd
Added missing header include.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-12 11:43:23 -05:00
Chris Galvan
b5828e327d
Moved custom tree view dragging logic from Entity Outliner to common class so it could be re-used for the UI Editor tree view.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-12 11:15:55 -05:00
Chris Galvan
e6927ffc14
Merge pull request #2359 from aws-lumberyard-dev/cgalvan/ImproveAutoResizingOfDialogs
...
Improved auto-resizing when centering dialogs when they are first displayed.
2021-07-22 14:49:43 -05:00